Adding MARC preview to acqui screens
[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"-->Parcel <!-- TMPL_VAR NAME="invoice" --><!--/TMPL_IF --> on <!-- TMPL_VAR NAME="date" --><!-- TMPL_ELSE -->Orders not yet Received for <!-- 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="date" -->
12             Receipt Summary for <i><!-- TMPL_VAR NAME="name" --></i> <!--TMPL_IF Name="invoice"-->Parcel <i><!-- TMPL_VAR NAME="invoice" --></i><!--/TMPL_IF --> on <i><!-- TMPL_VAR NAME="date" --></i>
13         <!-- TMPL_ELSE -->
14             Orders not yet Received for <!-- 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         
23     <h1>
24         <!-- TMPL_IF name="date" -->
25             Receipt Summary for <i><!-- TMPL_VAR NAME="name" --></i> <!--TMPL_IF Name="invoice"-->Parcel <i><!-- TMPL_VAR NAME="invoice" --></i><!--/TMPL_IF --> on <i><!-- TMPL_VAR NAME="date" --></i>
26         <!-- TMPL_ELSE -->
27             Orders not yet Received for <!-- TMPL_VAR NAME="name" -->
28         <!-- /TMPL_IF -->
29     </h1>
30 <div id="acqui_recieve_summary">
31     <p>Parcel: <!-- TMPL_VAR NAME="invoice" --></p>
32     <p>Received by: <!-- TMPL_VAR NAME="loggedinusername" --></p>
33     <p>On: <!-- TMPL_VAR NAME="datereceived" --></p>
34 </div>
35 <div id="acqui_recieve_recievelist">
36     <h2>Items in parcel</h2>
37     <form action="/cgi-bin/koha/acqui/parcel.pl" method="get" name="orderform">
38     <table>
39         <tr>
40             <th>Basket/Order</th>
41             <th>Summary</th>
42             <th>View Record</th>
43                         <th>QTY ordered</th>
44             <th>Est Cost</th>
45             <th>ACTUAL</th>
46             <th>QTY received</th>
47             <th>TOTAL</th>
48         </tr>
49         <!-- TMPL_LOOP NAME="loop_received" -->
50             <tr>
51                 <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>
52                 <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->"><!-- TMPL_VAR NAME="title" --></a>
53                 <!-- TMPL_IF NAME="isbn" --><br />ISBN: <!-- TMPL_VAR NAME="isbn" --><!--/TMPL_IF-->
54                 <!-- TMPL_IF NAME="author" --><br />author :<!-- TMPL_VAR NAME="author" --><!--/TMPL_IF-->
55                 <!-- TMPL_IF NAME="publishercode" --><br />Publisher :<!-- TMPL_VAR NAME="publishercode" --><!--/TMPL_IF-->
56                 </td>
57                 <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>
58                                 <td><!-- TMPL_VAR NAME="quantity" --></td>
59                 <td><!-- TMPL_VAR NAME="ecost" --></td>
60                 <td><!-- TMPL_VAR NAME="unitprice" --></td>
61                 <td><a href="orderreceive.pl?recieve=<!-- TMPL_VAR NAME="ordernumber" -->&amp;biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&amp;daterecieved=<!-- TMPL_VAR NAME="datereceived" -->&amp;invoice=<!-- TMPL_VAR NAME="invoice" -->&amp;gst=<!-- TMPL_VAR NAME="gst" -->&amp;freight=<!-- TMPL_VAR NAME="freight" -->&amp;supplierid=<!-- TMPL_VAR NAME="supplierid" -->"><!-- TMPL_VAR NAME="quantityreceived" --></a></td>
62                 <td><!-- TMPL_VAR NAME="total" --></td>
63             </tr>
64         <!-- /TMPL_LOOP -->
65         <tr>
66             <th colspan="3">&nbsp;</th>
67             <th>SUBTOTALS</th>
68             <th><!-- TMPL_VAR NAME="totalprice" --></th>
69             <th><!-- TMPL_VAR NAME="totalfreight" --></th>
70             <th><!-- TMPL_VAR NAME="totalquantity" --></th>
71             <th><!-- TMPL_VAR NAME="tototal" --></th>
72         </tr>
73           <!-- TMPL_IF NAME="gst" -->
74                 <tr>
75             <td colspan="5">
76             <p class="message">
77                         <b>HELP</b>
78                 <p>The total at the bottom of the page should be within a few cents of the total for the invoice.</p>
79             </td>
80             </p>
81                         <td colspan="2"><b>GST</b></td>
82             <td><!-- TMPL_VAR NAME="gst" --></td>
83         </tr> <!-- /TMPL_IF -->
84         <tr>
85         <td colspan="5">&nbsp;</td>
86             <td colspan="2"><b>TOTAL</b></td>
87             <td><!-- TMPL_VAR NAME="grandtot" --></td>
88         </tr>
89     </table>
90     </form>
91 </div>
92 <div id="acqui_recieve_search">
93     <h2>Search orders to add to this parcel</h2>
94     <form action="/cgi-bin/koha/acqui/orderreceive.pl">
95         <input type="hidden" name="supplierid" value="<!-- TMPL_VAR NAME="supplierid" -->" />
96         <input type="hidden" name="gst" value="<!-- TMPL_VAR NAME="gst" -->" />
97         <input type="hidden" name="freight" value="<!-- TMPL_VAR NAME="freight" -->" />
98         <input type="hidden" name="invoice" value="<!-- TMPL_VAR NAME="invoice" -->" />
99         <p><label for="recieve">Search ISBN or Title:</label> <input type="text" size="25" id="recieve" name="recieve" /></p>
100     </form>
101     <table> <caption>or select a pending orders</caption>
102         <tr>
103             <th>BASKET</th>
104             <th>Summary</th>
105                         <th>View Record</th>
106             <th>Order qty</th>
107             <th>Order cost</th>
108             <th>Already Received </th>
109             <th>Received cost</th>
110         </tr>
111         <!-- TMPL_LOOP NAME="loop_orders" -->
112             <tr>
113                 <td><a href="/cgi-bin/koha/acqui/basket.pl?basketno=<!-- TMPL_VAR NAME="basketno" -->"><!-- TMPL_VAR NAME="basketno" --></a></td>
114                 <td>
115                   <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->"><!-- TMPL_VAR NAME="title" --></a>
116                   <!-- TMPL_VAR NAME="title" --></a>
117                 <!-- TMPL_IF NAME="isbn" --><br />ISBN: <!-- TMPL_VAR NAME="isbn" --><!--/TMPL_IF-->
118                 <!-- TMPL_IF NAME="author" --><br />author :<!-- TMPL_VAR NAME="author" --><!--/TMPL_IF-->
119                 <!-- TMPL_IF NAME="publishercode" --><br />Publisher :<!-- TMPL_VAR NAME="publishercode" --><!--/TMPL_IF-->
120                 </td>
121                 <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&id=<!-- TMPL_VAR NAME="biblionumber" -->" title="MARC" rel="gb_page_center[600,500]">Card</a></td>
122                                 <td><!-- TMPL_VAR NAME="quantity" --></td>
123                 <td><!-- TMPL_VAR NAME="ecost" --></td>
124                 <td><!-- TMPL_IF name="quantityreceived" -->
125                         <!-- TMPL_VAR NAME="quantityreceived" --> <a href="orderreceive.pl?recieve=<!-- TMPL_VAR NAME="ordernumber" -->&amp;biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&amp;daterecieved=<!-- TMPL_VAR NAME="datereceived" -->&amp;invoice=<!-- TMPL_VAR NAME="invoice" -->&amp;gst=<!-- TMPL_VAR NAME="gst" -->&amp;freight=<!-- TMPL_VAR NAME="freight" -->&amp;supplierid=<!-- TMPL_VAR NAME="supplierid" -->">More</a>
126                     <!-- TMPL_ELSE -->
127                         <a href="orderreceive.pl?recieve=<!-- TMPL_VAR NAME="ordernumber" -->&amp;biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&amp;daterecieved=<!-- TMPL_VAR NAME="datereceived" -->&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</a>
128                     <!-- /TMPL_IF -->
129                 </td>
130                 <td><!-- TMPL_IF EXPR="unitprice ne '0.00'" --><!-- TMPL_VAR NAME="unitprice" --><!-- /TMPL_IF --></td>
131             </tr>
132         <!-- /TMPL_LOOP -->
133             <tr>
134                 <th colspan="3">TOTAL</th>
135                 <th><!-- TMPL_VAR NAME="totalPquantity" --></th>
136                 <th><!-- TMPL_VAR NAME="totalPecost" --></th>
137                 <th><!-- TMPL_VAR NAME="quantityreceived" --></th>
138                 <th><!-- TMPL_VAR NAME="totalPunitprice" --></th>
139             </tr>
140      </table>
141 </div>
142 </div>
143 </div>
144 <div class="yui-b">
145 <!-- TMPL_INCLUDE NAME="acquisitions-menu.inc" -->
146 </div>
147 </div>
148 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->