parcels management
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / acqui / parcel.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Acquisitions &rsaquo; <!-- TMPL_IF name="date" -->
3             Receipt Summary for <!-- TMPL_VAR NAME="name" --> <!--TMPL_IF Name="invoice"-->Invoice <!-- TMPL_VAR NAME="invoice" --><!--/TMPL_IF --> on <!-- TMPL_VAR NAME="formatteddatereceived" --><!-- TMPL_ELSE -->Receive Orders from <!-- TMPL_VAR NAME="name" --><!-- /TMPL_IF --></title>
4 <!-- TMPL_INCLUDE NAME="greybox.inc" -->
5 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
6 </head>
7 <body>
8 <!-- TMPL_INCLUDE NAME="header.inc" -->
9 <!-- TMPL_INCLUDE NAME="acquisitions-search.inc" -->
10
11 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> &rsaquo;  <!-- TMPL_IF name="datereceived" -->
12             Receipt Summary for <i><!-- TMPL_VAR NAME="name" --></i> <!--TMPL_IF Name="invoice"--><i>[ <!-- TMPL_VAR NAME="invoice" --> ]</i><!--/TMPL_IF --> on <i><!-- TMPL_VAR NAME="formatteddatereceived" --></i>
13         <!-- TMPL_ELSE -->
14             Receive orders from <!-- TMPL_VAR NAME="name" -->
15         <!-- /TMPL_IF --></div>
16
17 <div id="doc3" class="yui-t2">
18    
19    <div id="bd">
20         <div id="yui-main">
21         <div class="yui-b">
22         <!-- TMPL_IF NAME="receive_error" -->
23         <div class="dialog alert">
24         <h3>Error adding items:</h3>
25         <ul>
26         <!-- TMPL_LOOP NAME="error_loop" -->
27                 <li><!-- TMPL_VAR NAME="error_param" --><!-- TMPL_IF NAME="error_duplicate_barcode" -->Duplicate Barcode<!-- /TMPL_IF --> <!-- todo: other error conditions come here. --></li>
28         <!-- /TMPL_LOOP -->
29         </ul>
30         </div>
31         <!-- /TMPL_IF -->
32     <h1>
33         <!-- TMPL_IF name="datereceived" -->
34             Receipt Summary for <i><!-- TMPL_VAR NAME="name" --></i> <!--TMPL_IF Name="invoice"--> <i> [ <!-- TMPL_VAR NAME="invoice" --> ] </i><!--/TMPL_IF --> on <i><!-- TMPL_VAR NAME="formatteddatereceived" --></i>
35         <!-- TMPL_ELSE -->
36             Receive orders from <!-- TMPL_VAR NAME="name" -->
37         <!-- /TMPL_IF -->
38     </h1>
39 <div id="acqui_receive_summary">
40     <p>Invoice number: <!-- TMPL_VAR NAME="invoice" --></p>
41     <p>Received by: <!-- TMPL_VAR NAME="loggedinusername" --></p>
42     <p>On: <!-- TMPL_VAR NAME="formatteddatereceived" --></p>
43         <!-- TODO: Add date picker, change rcv date. -->
44 </div>
45 <div id="acqui_receive_receivelist">
46     <h2>Items in shipment</h2>
47     <form action="/cgi-bin/koha/acqui/parcel.pl" method="get" name="orderform">
48     <table>
49         <tr>
50             <th>Quantity/Edit order</th>
51             <th>Basket/Order</th>
52             <th>Summary</th>
53             <th>View Record/Edit shipment</th>
54             <th>Est cost</th>
55             <th>Actual cost</th>
56             <th>TOTAL</th>
57         </tr>
58         <!-- TMPL_LOOP NAME="loop_received" -->
59         <!-- TMPL_UNLESS NAME="__odd__" -->
60             <tr class="highlight">
61         <!-- TMPL_ELSE -->
62             <tr>
63         <!-- /TMPL_UNLESS -->
64                 <td><a href="neworderempty.pl?ordnum=<!-- TMPL_VAR NAME="ordernumber" -->&booksellerid=<!-- TMPL_VAR NAME="supplierid" -->"><!-- TMPL_VAR NAME="quantityreceived" --></a></td>
65                 <td><a href="/cgi-bin/koha/acqui/basket.pl?basketno=<!-- TMPL_VAR NAME="basketno" -->"><!-- TMPL_VAR NAME="basketno" --></a>&nbsp; / &nbsp;<!-- TMPL_VAR NAME="ordernumber" --></td>
66                 <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->"><!-- TMPL_VAR NAME="title" escape="html" --></a>
67                 <!-- TMPL_IF NAME="isbn" --><br />ISBN: <!-- TMPL_VAR NAME="isbn" --><!--/TMPL_IF-->
68                 <!-- TMPL_IF NAME="author" --><br />author :<!-- TMPL_VAR NAME="author" --><!--/TMPL_IF-->
69                 <!-- TMPL_IF NAME="publishercode" --><br />Publisher :<!-- TMPL_VAR NAME="publishercode" --><!--/TMPL_IF-->
70                 </td>
71                 <td><a href="/cgi-bin/koha/catalogue/showmarc.pl?id=<!-- TMPL_VAR NAME="biblionumber" -->" title="MARC" rel="gb_page_center[600,500]">View MARC</a>/<a href="orderreceive.pl?op=edit&ordernumber=<!-- TMPL_VAR name="ordernumber" -->&biblionumber=<!-- TMPL_VAR name="biblionumber" -->&supplierid=<!-- TMPL_VAR name="supplierid" -->&invoice=<!-- TMPL_VAR NAME="invoice" -->&datereceived=<!-- TMPL_VAR name="datereceived" -->" >Edit shipment</a></td>
72                 <td><!-- TMPL_VAR NAME="ecost" --></td>
73                 <td><!-- TMPL_VAR NAME="unitprice" --></td>
74                 <td><!-- TMPL_VAR NAME="total" --></td>
75             </tr>
76         <!-- /TMPL_LOOP -->
77         <tr>
78             <td colspan="3">&nbsp;</td>
79             <th>SUBTOTAL</th>
80             <td>&nbsp;</td>
81             <th><!-- TMPL_VAR NAME="totalprice" --></th>
82             <th><!-- TMPL_VAR NAME="tototal" --></th>
83         </tr>
84           <!-- TMPL_IF NAME="totalfreight" -->
85                 <tr>
86             <td colspan="5">
87             </td>
88             </p>
89                         <th colspan="1">Shipping</th>
90             <td><!-- TMPL_VAR NAME="totalfreight" --></td>
91         </tr> <!-- /TMPL_IF -->
92           <!-- TMPL_IF NAME="gst" -->
93                 <tr>
94             <td colspan="5">
95             <p class="message">
96                         <b>HELP</b>
97                 <p>The total at the bottom of the page should be within a few cents of the total for the invoice.</p>
98             </td>
99             </p>
100                         <td colspan="2"><b>GST</b></td>
101             <td><!-- TMPL_VAR NAME="gst" --></td>
102         </tr> <!-- /TMPL_IF -->
103         <tr>
104         <td colspan="3">&nbsp;</td>
105             <th>TOTAL</th>
106             <td colspan="2">&nbsp;</td>
107             <th><!-- TMPL_VAR NAME="grandtot" --></th>
108         </tr>
109     </table>
110     </form>
111 </div>
112 <div id="acqui_receive_search">
113     <h2>Search orders to add to this shipment</h2>
114     <form action="/cgi-bin/koha/acqui/orderreceive.pl">
115         <input type="hidden" name="supplierid" value="<!-- TMPL_VAR NAME="supplierid" -->" />
116         <input type="hidden" name="gst" value="<!-- TMPL_VAR NAME="gst" -->" />
117         <input type="hidden" name="freight" value="<!-- TMPL_VAR NAME="freight" -->" />
118         <input type="hidden" name="invoice" value="<!-- TMPL_VAR NAME="invoice" -->" />
119         <p><label for="receive">Search ISBN or Title:</label> <input type="text" size="25" id="receive" name="receive" /></p>
120     </form>
121     <table> <caption>or select a pending orders</caption>
122         <tr>
123             <th>BASKET</th>
124             <th>Summary</th>
125                         <th>View Record</th>
126             <th>Still on order</th>
127             <th>Unit cost</th>
128             <th>Order cost</th>
129             <th>&nbsp;</th>
130         </tr>
131         <!-- TMPL_LOOP NAME="loop_orders" -->
132         <!-- TMPL_UNLESS NAME="__odd__" -->
133             <tr class="highlight">
134         <!-- TMPL_ELSE -->
135             <tr>
136         <!-- /TMPL_UNLESS -->
137                 <td><a href="/cgi-bin/koha/acqui/basket.pl?basketno=<!-- TMPL_VAR NAME="basketno" -->"><!-- TMPL_VAR NAME="basketno" --></a></td>
138                 <td>
139                   <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->"><!-- TMPL_VAR NAME="title" escape="html" --></a>
140                 <!-- TMPL_IF NAME="isbn" --><br />ISBN: <!-- TMPL_VAR NAME="isbn" --><!--/TMPL_IF-->
141                 <!-- TMPL_IF NAME="author" --><br />author :<!-- TMPL_VAR NAME="author" --><!--/TMPL_IF-->
142                 <!-- TMPL_IF NAME="publishercode" --><br />Publisher :<!-- TMPL_VAR NAME="publishercode" --><!--/TMPL_IF-->
143                 </td>
144                 <td><a href="/cgi-bin/koha/catalogue/showmarc.pl?id=<!-- TMPL_VAR NAME="biblionumber" -->" title="MARC" rel="gb_page_center[600,500]">MARC</a> | <a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&amp;id=<!-- TMPL_VAR NAME="biblionumber" -->" title="MARC" rel="gb_page_center[600,500]">Card</a></td>
145                 <td> <!-- TMPL_VAR NAME="quantity" --></td>
146                 <td><!-- TMPL_VAR NAME="ecost" --></td>
147                 <td><!-- TMPL_VAR NAME="ordertotal" --></td>
148                                 <td><a href="orderreceive.pl?ordernumber=<!-- TMPL_VAR NAME="ordernumber" -->&amp;datereceived=<!-- TMPL_VAR NAME="invoicedatereceived" -->&amp;invoice=<!-- TMPL_VAR NAME="invoice" -->&amp;gst=<!-- TMPL_VAR NAME="gst" -->&amp;freight=<!-- TMPL_VAR NAME="freight" -->&amp;supplierid=<!-- TMPL_VAR NAME="supplierid" -->">Receive order</a></td>
149             </tr>
150         <!-- /TMPL_LOOP -->
151             <tr><td colspan="2">&nbsp;</td>
152                 <th>TOTAL</th>
153                 <th> <!-- TMPL_VAR NAME="totalPquantity" --> </th>
154                                 <td>&nbsp;</td>
155                 <th><!-- TMPL_VAR NAME="ordergrandtotal" --></th>
156                                 <td>&nbsp;</td>
157             </tr>
158      </table>
159 </div>
160 </div>
161 </div>
162 <div class="yui-b">
163 <!-- TMPL_INCLUDE NAME="acquisitions-menu.inc" -->
164 </div>
165 </div>
166 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->