1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha › Acquisitions › Receive shipment from vendor [% name %]</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> › <a href="/cgi-bin/koha/acqui/supplier.pl?supplierid=[% supplierid %]">[% name %]</a> › Receive shipment from vendor [% name %]</div>
12 [% IF ( count ) %]<div id="doc3" class="yui-t2">[% ELSE %]<div id="doc" class="yui-t7">[% END %]
18 <h1>Receive shipment from vendor <a href="/cgi-bin/koha/acqui/supplier.pl?supplierid=[% supplierid %]">[% name %]</a></h1>
21 <p> [% count %] shipments</p>
23 <!-- Search Results Table -->
28 <th>Date Received</th>
29 <th>Invoice Number</th>
32 <th>Items expected</th>
34 <!-- Actual Search Results -->
35 [% FOREACH searchresult IN searchresults %]
36 [% UNLESS ( loop.odd ) %]
37 <tr class="highlight">
42 [% searchresult.number %]
45 <a href="/cgi-bin/koha/acqui/parcel.pl?type=intra&supplierid=[% searchresult.supplierid |url %]&datereceived=[% searchresult.raw_datereceived |url %][% IF ( searchresult.code ) %]&invoice=[% searchresult.code |url %][% END %]">
46 [% searchresult.datereceived %]</a>
49 [% IF ( searchresult.code ) %][% searchresult.code %][% ELSE %]<acronym title="not available">n/a</acronym>[% END %]
52 [% searchresult.reccount %]
55 [% searchresult.bibcount %]
58 [% searchresult.itemcount %]
64 <div id="resultnumber">
65 <!-- Row of numbers corresponding to search result pages -->
66 [% IF ( displayprev ) %]
67 <a href="parcels.pl?supplierid=[% supplierid %]&startfrom=[% prevstartfrom %][% IF ( datefrom ) %]&datefrom=[% datefrom %][% END %][% IF ( dateto ) %]&dateto=[% dateto %][% END %][% IF ( code ) %]&filter=[% code %][% END %][% IF ( orderby ) %]&orderby=[% orderby %][% END %][% IF ( resultsperpage ) %]&resultsperpage=[% resultsperpage %][% END %]&type=intra"><< Previous</a>
69 [% FOREACH number IN numbers %]
70 [% IF ( number.highlight ) %]
71 <span class="current">[% number.number %]</span>
73 <a href="parcels.pl?supplierid=[% number.supplierid %]&startfrom=[% number.startfrom %][% IF ( number.datefrom ) %]&datefrom=[% number.datefrom %][% END %][% IF ( number.dateto ) %]&dateto=[% number.dateto %][% END %][% IF ( number.code ) %]&filter=[% number.code %][% END %][% IF ( number.orderby ) %]&orderby=[% number.orderby %][% END %][% IF ( number.resultsperpage ) %]&resultsperpage=[% number.resultsperpage %][% END %]&type=intra">[% number.number %]</a>
76 [% IF ( displaynext ) %]
77 <a href="parcels.pl?supplierid=[% supplierid %]&startfrom=[% nextstartfrom %][% IF ( datefrom ) %]&datefrom=[% datefrom %][% END %][% IF ( dateto ) %]&dateto=[% dateto %][% END %][% IF ( code ) %]&filter=[% code %][% END %][% IF ( orderby ) %]&orderby=[% orderby %][% END %][% IF ( resultsperpage ) %]&resultsperpage=[% resultsperpage %][% END %]&type=intra">Next >></a>
83 <div id="parcels_new_parcel">
84 <form method="get" action="parcel.pl">
85 <fieldset class="rows">
86 <legend>Receive a new shipment</legend>
88 <label for="invoice">Vendor Invoice </label>
89 <input type="hidden" name="supplierid" value="[% supplierid %]" />
90 <input type="hidden" name="op" value="new" />
91 <input type="text" size="20" id="invoice" name="invoice" />
95 <label for="gst">GST:</label>
96 <input type="text" size="20" id="gst" name="gst" />
99 <!-- // Removing freight input until shipping can be proplerly handled .
101 <label for="freight">Shipping:</label>
102 <input type="text" size="20" id="freight" name="freight" />
104 <li><label for="datereceived">Shipment date: </label>
105 <input type="text" id="datereceived" name="datereceived" maxlength="10" size="10" value="[% datereceived_today %]" />
106 <img src="[% themelang %]/lib/calendar/cal.gif" id="datereceived_button" alt="Show Calendar" />
107 <script language="JavaScript" type="text/javascript">
110 inputField : "datereceived",
111 ifFormat : "[% DHTMLcalendar_dateformat %]",
112 button : "datereceived_button" }
115 <div class="hint">[% INCLUDE 'date-format.inc' %]</div> </li>
118 <fieldset class="action"><input type="submit" class="button" value="Next" /> <a class="cancel" href="/cgi-bin/koha/acqui/supplier.pl?supplierid=[% supplierid %]">Cancel</a></fieldset>
124 [% IF ( count ) %]<form method="get" action="parcels.pl">
125 <fieldset class="brief">
128 <li> <input type="hidden" name="supplierid" value="[% supplierid %]" /></li>
129 <li><label for="filter">Invoice number:</label><input type="text" size="20" name="filter" value="[% filter %]" id="filter" /></li>
130 <li><label for="datefrom">From:</label><input type="text" size="9" id="datefrom" name="datefrom" value="[% datefrom %]" /><br />
131 <label for="dateto">To:</label><input type="text" size="9" id="dateto" name="dateto" value="[% dateto %]" /></li>
132 <li><label for="orderby">Sort by :</label><select name="orderby" id="orderby">
133 <option value="aqorders.booksellerinvoicenumber">Invoice number</option>
134 <option value="datereceived"> Date Received</option>
135 <option value="datereceived desc"> Date Received reverse</option>
136 <option value="aqorders.booksellerinvoicenumber desc"> Invoice number reverse</option>
138 <label for="resultsperpage">Results per page :</label><select name="resultsperpage" id="resultsperpage">
139 <option value="20">20</option>
140 <option value="30">30</option>
141 <option value="50">50</option>
142 <option value="100">100</option>
145 <fieldset class="action"><input type="submit" class="button" value="Filter" /> <a href="/cgi-bin/koha/acqui/parcels.pl?supplierid=[% supplierid %]">Clear</a></fieldset>
150 [% INCLUDE 'intranet-bottom.inc' %]