1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha › Acquisitions › [% IF ( suggestions_loop ) %]Orders search › Search Results[% ELSE %]Order search[% END %]</title>
3 [% INCLUDE 'doc-head-close.inc' %]
4 [% INCLUDE 'calendar.inc' %]
7 [% INCLUDE 'header.inc' %]
8 [% INCLUDE 'acquisitions-search.inc' %]
10 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> › [% IF ( suggestions_loop ) %]<a href="/cgi-bin/koha/acqui/histsearch.pl">Orders search</a> › Search Results[% ELSE %]Order search[% END %]</div>
12 <div id="doc3" class="yui-t2">
18 [% UNLESS ( suggestions_loop ) %]<form action="/cgi-bin/koha/acqui/histsearch.pl" method="post">
19 <fieldset class="rows">
20 <legend>Search Orders</legend>
22 <li><label for="title">Title: </label> <input type="text" name="title" id="title" value="[% title %]" /></li>
23 <li><label for="author">Author: </label> <input type="text" name="author" id="author" value="[% author %]" /></li>
24 <li><label for="isbn">ISBN: </label> <input type="isbn" name="isbn" id="isbn" value="[% isbn %]" /></li>
25 <li><label for="name">Vendor: </label> <input type="text" name="name" id="name" value="[% name %]" /></li>
26 <li><label for="basket">Basket: </label> <input type="text" name="basket" id="basket" value="[% basket %]" /></li>
27 <li><label for="booksellerinvoicenumber ">Bookseller Invoice No: </label> <input type="text" name="booksellerinvoicenumber" id="booksellerinvoicenumber" value="[% booksellerinvoicenumber %]" /></li>
28 <li><label for="from">From: </label>
29 <input type="text" size="10" id="from" name="from" value="[% from_placed_on %]" />
30 <img src="[% themelang %]/lib/calendar/cal.gif" id="openCalendarFrom" style="cursor: pointer;" alt="Show Calendar" />
31 <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
33 <li><label for="to">To: </label>
34 <input type="text" size="10" id="to" name="to" value="[% to_placed_on %]" />
35 <img src="[% themelang %]/lib/calendar/cal.gif" id="openCalendarTo" style="cursor: pointer;" alt="Show Calendar" />
36 <script type="text/javascript">
37 // return true if the date is blocked.
38 function disable_from(date) {var limit = get_Calendar_limit(date,'to' ); return (limit && limit < date);} // true or false
39 function disable_to (date) {var limit = get_Calendar_limit(date,'from'); return (limit && limit > date);} // true or false
42 ifFormat : "[% DHTMLcalendar_dateformat %]",
43 button : "openCalendarFrom",
44 disableFunc : disable_from,
45 dateStatusFunc : disable_from
49 ifFormat : "[% DHTMLcalendar_dateformat %]",
50 button : "openCalendarTo",
51 disableFunc : disable_to,
52 dateStatusFunc : disable_to
55 <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
59 <fieldset class="action"><input type="submit" value="Search" /></fieldset>
61 [% IF ( suggestions_loop ) %]<h1>Search Results</h1>
62 <div id="acqui_histsearch">
67 <th>Invoice Number</th>
72 <th>Quantity ordered</th>
76 [% FOREACH suggestions_loo IN suggestions_loop %]
78 <td>[% suggestions_loo.basketname %] (<a href="basket.pl?basketno=[% suggestions_loo.basketno %]">[% suggestions_loo.basketno %]</a>)</td>
79 <td>[% suggestions_loo.groupname %] (<a href="basketgroup.pl?booksellerid=[% suggestions_loo.id %]">[% suggestions_loo.basketgroupid %]</a>)</td>
80 <td>[% IF ( suggestions_loo.invoicenumber ) %]
81 <a href="/cgi-bin/koha/acqui/parcel.pl?invoice=[% suggestions_loo.invoicenumber %]&supplierid=[% suggestions_loo.id %]&datereceived=[% suggestions_loo.datereceived %]">[% suggestions_loo.invoicenumber %]</a>
86 <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% suggestions_loo.biblionumber %]">[% suggestions_loo.title |html %]</a>
87 <br />[% suggestions_loo.author %] <br /> [% suggestions_loo.isbn %]</td>
88 <td><a href="/cgi-bin/koha/acqui/supplier.pl?supplierid=[% suggestions_loo.id %]">[% suggestions_loo.name %]</a></td>
89 <td>[% suggestions_loo.creationdate %]</td>
90 <td>[% suggestions_loo.datereceived %]</td>
91 <td>[% suggestions_loo.quantity %]</td>
92 <td>[% suggestions_loo.ecost %]</td>
96 </div>[% ELSE %][% END %]
101 [% INCLUDE 'acquisitions-menu.inc' %]
104 [% INCLUDE 'intranet-bottom.inc' %]