More fixes for Bug 2600, enabling the appearance of HTML tags in item titles. Resubmi...
[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</th>
51             <th>Basket/Order</th>
52             <th>Summary</th>
53             <th>View Record</th>
54             <th>Est cost</th>
55             <th>Actual cost</th>
56             <th>TOTAL</th>
57         </tr>
58         <!-- TMPL_LOOP NAME="loop_received" -->
59             <tr>
60                 <td><!-- TMPL_VAR NAME="quantityreceived" --></td>
61                 <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>
62                 <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->"><!-- TMPL_VAR NAME="title" escape="html" --></a>
63                 <!-- TMPL_IF NAME="isbn" --><br />ISBN: <!-- TMPL_VAR NAME="isbn" --><!--/TMPL_IF-->
64                 <!-- TMPL_IF NAME="author" --><br />author :<!-- TMPL_VAR NAME="author" --><!--/TMPL_IF-->
65                 <!-- TMPL_IF NAME="publishercode" --><br />Publisher :<!-- TMPL_VAR NAME="publishercode" --><!--/TMPL_IF-->
66                 </td>
67                 <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></td>
68                 <td><!-- TMPL_VAR NAME="ecost" --></td>
69                 <td><!-- TMPL_VAR NAME="unitprice" --></td>
70                 <td><!-- TMPL_VAR NAME="total" --></td>
71             </tr>
72         <!-- /TMPL_LOOP -->
73         <tr>
74             <td colspan="3">&nbsp;</td>
75             <th>SUBTOTAL</th>
76             <td>&nbsp;</td>
77             <th><!-- TMPL_VAR NAME="totalprice" --></th>
78             <th><!-- TMPL_VAR NAME="tototal" --></th>
79         </tr>
80           <!-- TMPL_IF NAME="totalfreight" -->
81                 <tr>
82             <td colspan="5">
83             </td>
84             </p>
85                         <th colspan="1">Shipping</th>
86             <td><!-- TMPL_VAR NAME="totalfreight" --></td>
87         </tr> <!-- /TMPL_IF -->
88           <!-- TMPL_IF NAME="gst" -->
89                 <tr>
90             <td colspan="5">
91             <p class="message">
92                         <b>HELP</b>
93                 <p>The total at the bottom of the page should be within a few cents of the total for the invoice.</p>
94             </td>
95             </p>
96                         <td colspan="2"><b>GST</b></td>
97             <td><!-- TMPL_VAR NAME="gst" --></td>
98         </tr> <!-- /TMPL_IF -->
99         <tr>
100         <td colspan="3">&nbsp;</td>
101             <th>TOTAL</th>
102             <td colspan="2">&nbsp;</td>
103             <th><!-- TMPL_VAR NAME="grandtot" --></th>
104         </tr>
105     </table>
106     </form>
107 </div>
108 <div id="acqui_receive_search">
109     <h2>Search orders to add to this shipment</h2>
110     <form action="/cgi-bin/koha/acqui/orderreceive.pl">
111         <input type="hidden" name="supplierid" value="<!-- TMPL_VAR NAME="supplierid" -->" />
112         <input type="hidden" name="gst" value="<!-- TMPL_VAR NAME="gst" -->" />
113         <input type="hidden" name="freight" value="<!-- TMPL_VAR NAME="freight" -->" />
114         <input type="hidden" name="invoice" value="<!-- TMPL_VAR NAME="invoice" -->" />
115         <p><label for="receive">Search ISBN or Title:</label> <input type="text" size="25" id="receive" name="receive" /></p>
116     </form>
117     <table> <caption>or select a pending orders</caption>
118         <tr>
119             <th>BASKET</th>
120             <th>Summary</th>
121                         <th>View Record</th>
122             <th>Still on order</th>
123             <th>Unit cost</th>
124             <th>Order cost</th>
125             <th>&nbsp;</th>
126         </tr>
127         <!-- TMPL_LOOP NAME="loop_orders" -->
128             <tr>
129                 <td><a href="/cgi-bin/koha/acqui/basket.pl?basketno=<!-- TMPL_VAR NAME="basketno" -->"><!-- TMPL_VAR NAME="basketno" --></a></td>
130                 <td>
131                   <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->"><!-- TMPL_VAR NAME="title" escape="html" --></a>
132                 <!-- TMPL_IF NAME="isbn" --><br />ISBN: <!-- TMPL_VAR NAME="isbn" --><!--/TMPL_IF-->
133                 <!-- TMPL_IF NAME="author" --><br />author :<!-- TMPL_VAR NAME="author" --><!--/TMPL_IF-->
134                 <!-- TMPL_IF NAME="publishercode" --><br />Publisher :<!-- TMPL_VAR NAME="publishercode" --><!--/TMPL_IF-->
135                 </td>
136                 <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>
137                 <td> <!-- TMPL_VAR NAME="quantity" --></td>
138                 <td><!-- TMPL_VAR NAME="ecost" --></td>
139                 <td><!-- TMPL_VAR NAME="ordertotal" --></td>
140                                 <td><a href="orderreceive.pl?receive=<!-- TMPL_VAR NAME="ordernumber" -->&amp;biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&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>
141             </tr>
142         <!-- /TMPL_LOOP -->
143             <tr><td colspan="2">&nbsp;</td>
144                 <th>TOTAL</th>
145                 <th> <!-- TMPL_VAR NAME="totalPquantity" --> </th>
146                                 <td>&nbsp;</td>
147                 <th><!-- TMPL_VAR NAME="ordergrandtotal" --></th>
148                                 <td>&nbsp;</td>
149             </tr>
150      </table>
151 </div>
152 </div>
153 </div>
154 <div class="yui-b">
155 <!-- TMPL_INCLUDE NAME="acquisitions-menu.inc" -->
156 </div>
157 </div>
158 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->