2 [% INCLUDE 'doc-head-open.inc' %]
3 <title>Koha › Acquisitions › [% IF ( suggestions_loop ) %]Orders search › Search results[% ELSE %]Order search[% END %]</title>
4 <link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
5 [% INCLUDE 'doc-head-close.inc' %]
6 <script type="text/javascript" src="[% themelang %]/lib/jquery/plugins/jquery.dataTables.min.js"></script>
7 [% INCLUDE 'datatables-strings.inc' %]
8 <script type="text/javascript" src="[% themelang %]/js/datatables.js"></script>
9 <script type="text/javascript">
11 $(document).ready(function() {
12 var histsearcht = $("#histsearcht").dataTable($.extend(true, {}, dataTablesDefaults, {
13 "sPaginationType": "four_button"
18 [% INCLUDE 'calendar.inc' %]
20 <body id="acq_histsearch" class="acq">
21 [% INCLUDE 'header.inc' %]
22 [% INCLUDE 'acquisitions-search.inc' %]
24 <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>
26 <div id="doc3" class="yui-t2">
32 [% UNLESS ( suggestions_loop ) %]<form action="/cgi-bin/koha/acqui/histsearch.pl" method="post">
33 <fieldset class="rows">
34 <legend>Search Orders</legend>
36 <li><label for="title">Title: </label> <input type="text" name="title" id="title" value="[% title %]" /></li>
37 <li><label for="author">Author: </label> <input type="text" name="author" id="author" value="[% author %]" /></li>
38 <li><label for="isbn">ISBN: </label> <input type="isbn" name="isbn" id="isbn" value="[% isbn %]" /></li>
39 <li><label for="name">Vendor: </label> <input type="text" name="name" id="name" value="[% name %]" /></li>
40 <li><label for="basket">Basket: </label> <input type="text" name="basket" id="basket" value="[% basket %]" /></li>
41 <li><label for="booksellerinvoicenumber ">Bookseller invoice no: </label> <input type="text" name="booksellerinvoicenumber" id="booksellerinvoicenumber" value="[% booksellerinvoicenumber %]" /></li>
42 <li><label for="from">From: </label>
43 <input type="text" size="10" id="from" name="from" value="[% from_placed_on %]" />
44 <img src="[% themelang %]/lib/calendar/cal.gif" id="openCalendarFrom" style="cursor: pointer;" alt="Show Calendar" />
45 <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
47 <li><label for="to">To: </label>
48 <input type="text" size="10" id="to" name="to" value="[% to_placed_on %]" />
49 <img src="[% themelang %]/lib/calendar/cal.gif" id="openCalendarTo" style="cursor: pointer;" alt="Show Calendar" />
50 <script type="text/javascript">
51 // return true if the date is blocked.
52 function disable_from(date) {var limit = get_Calendar_limit(date,'to' ); return (limit && limit < date);} // true or false
53 function disable_to (date) {var limit = get_Calendar_limit(date,'from'); return (limit && limit > date);} // true or false
56 ifFormat : "[% DHTMLcalendar_dateformat %]",
57 button : "openCalendarFrom",
58 disableFunc : disable_from,
59 dateStatusFunc : disable_from
63 ifFormat : "[% DHTMLcalendar_dateformat %]",
64 button : "openCalendarTo",
65 disableFunc : disable_to,
66 dateStatusFunc : disable_to
69 <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
73 <input type="hidden" name="do_search" value="1" />
74 <fieldset class="action"><input type="submit" value="Search" /></fieldset>
76 [% IF ( suggestions_loop ) %]<h1>Search results</h1>
77 <div id="acqui_histsearch">
78 <table id="histsearcht">
83 <th>Invoice number</th>
89 <th>Quantity ordered</th>
94 [% FOREACH suggestions_loo IN suggestions_loop %]
96 <td>[% suggestions_loo.basketname %] (<a href="basket.pl?basketno=[% suggestions_loo.basketno %]">[% suggestions_loo.basketno %]</a>)</td>
98 [% IF ( suggestions_loo.basketgroupid ) %]
99 [% suggestions_loo.groupname %] (<a href="basketgroup.pl?booksellerid=[% suggestions_loo.id %]">[% suggestions_loo.basketgroupid %]</a>)
104 <td>[% IF ( suggestions_loo.invoicenumber ) %]
105 <a href="/cgi-bin/koha/acqui/parcel.pl?invoice=[% suggestions_loo.invoicenumber %]&booksellerid=[% suggestions_loo.id %]&datereceived=[% suggestions_loo.datereceived %]">[% suggestions_loo.invoicenumber %]</a>
110 <td>[% suggestions_loo.ordernumber %]</td>
111 <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% suggestions_loo.biblionumber %]">[% suggestions_loo.title |html %]</a>
112 <br />[% suggestions_loo.author %] <br /> [% suggestions_loo.isbn %]</td>
113 <td><a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% suggestions_loo.id %]">[% suggestions_loo.name %]</a></td>
114 <td>[% suggestions_loo.creationdate | $KohaDates %]</td>
115 <td>[% suggestions_loo.datereceived | $KohaDates %]</td>
116 <td>[% suggestions_loo.quantity %]</td>
117 <td>[% suggestions_loo.ecost %]</td>
122 </div>[% ELSE %][% END %]
127 [% INCLUDE 'acquisitions-menu.inc' %]
130 [% INCLUDE 'intranet-bottom.inc' %]