1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha › Acquisitions › Receive shipment from vendor [% name %]</title>
3 <link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
4 [% INCLUDE 'doc-head-close.inc' %]
5 [% INCLUDE 'calendar.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 parcelst = $("#parcelst").dataTable($.extend(true, {}, dataTablesDefaults, {
13 "sPaginationType": "four_button"
19 <body id="acq_parcels" class="acq">
20 [% INCLUDE 'header.inc' %]
21 [% INCLUDE 'acquisitions-search.inc' %]
23 <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?booksellerid=[% booksellerid %]">[% name %]</a> › Receive shipment from vendor [% name %]</div>
25 [% IF ( count ) %]<div id="doc3" class="yui-t2">[% ELSE %]<div id="doc" class="yui-t7">[% END %]
31 [% IF ( error_failed_to_create_invoice ) %]
32 <div id="error" class="dialog error">
33 <p>An error has occured. Invoice cannot be created.</p>
36 <h1>Receive shipment from vendor <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">[% name %]</a></h1>
39 <p> [% count %] shipments</p>
41 <!-- Search Results Table -->
43 <table class="small" id="parcelst">
47 <th>Date received</th>
48 <th>Invoice number</th>
51 <th>Items expected</th>
55 <!-- Actual Search Results -->
56 [% FOREACH searchresult IN searchresults %]
57 [% UNLESS ( loop.odd ) %]
58 <tr class="highlight">
63 [% searchresult.number %]
66 [% searchresult.datereceived %]
69 [% IF ( searchresult.code ) %]
70 <a href="/cgi-bin/koha/acqui/parcel.pl?invoiceid=[% searchresult.invoiceid %]">[% searchresult.code %]</a>
72 <acronym title="not available">n/a</acronym>
76 [% searchresult.reccount %]
79 [% searchresult.bibcount %]
82 [% searchresult.itemcount %]
89 <div id="resultnumber">
90 <!-- Row of numbers corresponding to search result pages -->
91 [% IF ( displayprev ) %]
92 <a href="parcels.pl?booksellerid=[% booksellerid %]&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>
94 [% FOREACH number IN numbers %]
95 [% IF ( number.highlight ) %]
96 <span class="current">[% number.number %]</span>
98 <a href="parcels.pl?booksellerid=[% number.booksellerid %]&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>
101 [% IF ( displaynext ) %]
102 <a href="parcels.pl?booksellerid=[% booksellerid %]&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>
108 <div id="parcels_new_parcel">
109 <form method="get" action="parcels.pl">
110 <fieldset class="rows">
111 <legend>Receive a new shipment</legend>
113 <label for="invoice">Vendor invoice </label>
114 <input type="hidden" name="booksellerid" value="[% booksellerid %]" />
115 <input type="hidden" name="op" value="new" />
116 <input type="text" size="20" id="invoice" name="invoice" />
120 <label for="gst">GST:</label>
121 <input type="text" size="20" id="gst" name="gst" />
124 <!-- // Removing freight input until shipping can be proplerly handled .
126 <label for="freight">Shipping:</label>
127 <input type="text" size="20" id="freight" name="freight" />
130 <label for="shipmentdate">Shipment date: </label>
131 <input type="text" id="shipmentdate" name="shipmentdate" maxlength="10" size="10" value="[% shipmentdate_today %]" class="datepicker" />
132 <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
135 <label for="shipmentcost">Shipment cost: </label>
136 <input type="text" id="shipmentcost" name="shipmentcost" size="10" />
139 <label for="shipmentcost_budgetid">Budget: </label>
140 <select id="shipmentcost_budgetid" name="shipmentcost_budgetid">
141 <option value="">No budget</option>
142 [% FOREACH budget IN budgets %]
143 <option value="[% budget.budget_id %]">[% budget.budget_name %]</option>
149 <fieldset class="action"><input type="submit" class="button" value="Next" /> <a class="cancel" href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% booksellerid %]">Cancel</a></fieldset>
155 [% IF ( count ) %]<form method="get" action="parcels.pl">
156 <fieldset class="brief">
159 <li> <input type="hidden" name="booksellerid" value="[% booksellerid %]" /></li>
160 <li><label for="filter">Invoice number:</label><input type="text" size="20" name="filter" value="[% filter %]" id="filter" /></li>
161 <li><label for="datefrom">From:</label><input type="text" size="9" id="datefrom" name="datefrom" value="[% datefrom %]" /><br />
162 <label for="dateto">To:</label><input type="text" size="9" id="dateto" name="dateto" value="[% dateto %]" /></li>
163 <li><label for="orderby">Sort by :</label><select name="orderby" id="orderby">
164 <option value="invoicenumber">Invoice number</option>
165 <option value="shipmentdate">Shipment date</option>
166 <option value="shipmentdate desc">Shipment date reverse</option>
167 <option value="invoicenumber desc">Invoice number reverse</option>
169 <label for="resultsperpage">Results per page :</label><select name="resultsperpage" id="resultsperpage">
170 <option value="20">20</option>
171 <option value="30">30</option>
172 <option value="50">50</option>
173 <option value="100">100</option>
176 <fieldset class="action"><input type="submit" class="button" value="Filter" /> <a href="/cgi-bin/koha/acqui/parcels.pl?booksellerid=[% booksellerid %]">Clear</a></fieldset>
181 [% INCLUDE 'intranet-bottom.inc' %]