Fix for Bug 3659, Add place hold option from patron checkout tab
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / acqui / orderreceive.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Acquisitions &rsaquo; Receipt summary for : <!-- TMPL_VAR NAME="name" --> <!-- TMPL_IF NAME="invoice" -->invoice, <!-- TMPL_VAR NAME="invoice" --><!-- /TMPL_IF --></title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 <script type="text/javascript" src="<!-- TMPL_VAR NAME='themelang' -->/js/additem.js"> </script>
5 </head>
6 <body>
7 <!-- TMPL_INCLUDE NAME="header.inc" -->
8 <!-- TMPL_INCLUDE NAME="acquisitions-search.inc" -->
9
10 <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; <a href="/cgi-bin/koha/acqui/supplier.pl?supplierid=<!-- TMPL_VAR NAME="supplierid" -->"><!-- TMPL_VAR NAME="name" --></a> &rsaquo; Receive items from : <!-- TMPL_VAR NAME="name" --> <!-- TMPL_IF NAME="invoice" -->[<!-- TMPL_VAR NAME="invoice" -->]<!-- /TMPL_IF --> (order #<!-- TMPL_VAR NAME="ordernumber" -->)</div>
11
12 <div id="doc3" class="yui-t2">
13    
14    <div id="bd">
15         <div id="yui-main">
16         <div class="yui-b">
17
18 <h1>Receive items from : <!-- TMPL_VAR NAME="name" --> <!-- TMPL_IF NAME="invoice" -->[<!-- TMPL_VAR NAME="invoice" -->] <!-- /TMPL_IF --> (order #<!-- TMPL_VAR NAME="ordernumber" -->)</h1>
19
20 <!-- TMPL_IF name="count" -->
21     <form action="/cgi-bin/koha/acqui/finishreceive.pl" method="post">
22 <div class="yui-g">
23 <div class="yui-u first">
24     
25     <fieldset class="rows">
26     <legend>Catalog Details</legend>
27     <ol><li><span class="label">Title: </span><span class="title"><!-- TMPL_VAR NAME="title" escape="html" --></span></li>
28     <li> <span class="label">Author: </span>
29         <!-- TMPL_VAR NAME="author" --></li>
30     <li><span class="label">Copyright: </span>
31         <!-- TMPL_VAR NAME="copyrightdate" --></li>
32     <li> <span class="label">ISBN: </span>
33         <!-- TMPL_VAR NAME="isbn" --></li>
34     <li> <span class="label">Series: </span>
35         <!-- TMPL_VAR NAME="seriestitle" --></li>
36     </ol>
37         </fieldset>
38     <!-- TMPL_IF name="items" -->
39     <fieldset class="rows">
40         <legend>Item</legend>
41         <!-- TMPL_IF name="NoACQframework" -->
42             <p class="required">No ACQ framework, using default. You should create a framework with code ACQ, the items framework would be used</p>
43         <!-- /TMPL_IF -->
44
45         <!-- TMPL_LOOP NAME="items" -->
46         <div id="outeritemblock">
47         <div id="itemblock">
48             <ol><!-- TMPL_LOOP NAME="iteminformation" --><li>
49                 <div class="subfield_line" style="<!-- TMPL_VAR NAME='hidden' -->;" id="subfield<!-- TMPL_VAR NAME='serialid' --><!-- TMPL_VAR NAME='countitems' --><!-- TMPL_VAR NAME='subfield' --><!-- TMPL_VAR name="random" -->">
50                                 
51                     <label><!-- TMPL_VAR NAME="subfield" --> - <!-- TMPL_IF name="mandatory" --><b><!-- /TMPL_IF --><!-- TMPL_VAR NAME="marc_lib" --><!-- TMPL_IF name="mandatory" --> *</b><!-- /TMPL_IF --></label>
52                     <!-- TMPL_VAR NAME="marc_value" -->
53                     <input type="hidden" name="itemid" value="1" />
54                     <input type="hidden" name="kohafield" value="<!-- TMPL_VAR NAME="kohafield" -->" />
55                     <input type="hidden" name="tag" value="<!-- TMPL_VAR NAME="tag" -->" />
56                     <input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->" />
57                     <input type="hidden" name="mandatory" value="<!-- TMPL_VAR NAME="mandatory" -->" />
58                     <!-- TMPL_IF NAME="ITEM_SUBFIELDS_ARE_NOT_REPEATABLE" -->
59                         <span class="buttonPlus" onclick="CloneSubfield('subfield<!-- TMPL_VAR NAME='serialid' --><!-- TMPL_VAR NAME='countitems' --><!-- TMPL_VAR NAME='subfield' --><!-- TMPL_VAR name="random" -->')">+</span>
60                     <!-- /TMPL_IF -->
61             
62                 </div></li>
63             <!-- /TMPL_LOOP-->
64             </ol>
65             <a style="cursor: pointer; color: grey; font-size: 180%;" onclick="cloneItemBlock('itemblock<!-- TMPL_VAR name="itemBlockIndex" -->')">+</a>
66             <a style="display:none; cursor: pointer; color: grey; font-size: 180%;" onclick="deleteItemBlock('itemblock<!-- TMPL_VAR name="itemBlockIndex" -->')">-</a>
67         </div><!-- /iteminformation -->
68         </div>
69         
70         <input type="hidden" name="moditem" value="" /> 
71         <input type="hidden" name="tag" value="<!-- TMPL_VAR NAME="itemtagfield" -->" />
72         <input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="itemtagsubfield" -->" />
73         <input type="hidden" name="serial" value="<!-- TMPL_VAR NAME="serialid" -->" />
74         <input type="hidden" name="bibnum" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
75         <input type="hidden" name="itemid" value="1" />
76         <input type="hidden" name="field_value" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
77         <!--/TMPL_LOOP--> <!-- /items -->
78     </fieldset>
79     <!-- /TMPL_IF --> <!-- items -->
80     <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
81     <input type="hidden" name="ordernumber" value="<!-- TMPL_VAR NAME="ordernumber" -->" />
82     <input type="hidden" name="biblioitemnumber" value="<!-- TMPL_VAR NAME="biblioitemnumber" -->" />
83     <input type="hidden" name="supplierid" value="<!-- TMPL_VAR NAME="supplierid" -->" />
84     <input type="hidden" name="datereceived" value="<!-- TMPL_VAR NAME="datereceived_iso" -->" />
85     <input type="hidden" name="freight" value="<!-- TMPL_VAR NAME="freight" -->" />
86     <input type="hidden" name="gst" value="<!-- TMPL_VAR NAME="gst" -->" />
87         </div>
88         <div class="yui-u">
89     <fieldset class="rows">
90     <legend>Accounting details</legend>
91        <ol>
92        <li><label for="datereceived">Date received: </label><span class="label"> <!-- TMPL_VAR NAME="datereceived" --> </span></li>
93        <li><label for="quantity">Quantity to receive: </label><span class="label">
94            <!-- TMPL_IF name="edit" -->
95                <input type="text" name="quantity" value="<!-- TMPL_VAR NAME="quantity" -->" />
96            <!-- TMPL_ELSE -->
97                <input type="text" READONLY name="quantity" value="<!-- TMPL_VAR NAME="quantity" -->" />
98            <!-- /TMPL_IF -->
99            </span></li>
100         <li><label for="quantityrec">Quantity received: </label>
101             <!-- TMPL_IF NAME="quantityreceived" -->
102                 <!-- TMPL_IF name="edit" -->
103                     <input id="quantityrec" type="text" size="20" name="quantityrec" value="<!-- TMPL_VAR NAME="quantityreceived" -->" />
104                     <input id="origquantityrec" READONLY type="hidden" name="origquantityrec" value="<!-- TMPL_VAR NAME="quantityreceived" -->" />
105                 <!-- TMPL_ELSE -->
106                 <!-- TMPL_IF name="items" -->
107                     <input id="quantityrec" READONLY type="text" size="20" name="quantityrec" value="<!-- TMPL_VAR NAME="quantityreceivedplus1" -->" />
108                 <!-- TMPL_ELSE -->
109                     <input id="quantityrec" type="text" size="20" name="quantityrec" value="<!-- TMPL_VAR NAME="quantityreceivedplus1" -->" />
110                 <!-- /TMPL_IF -->
111                 <input id="origquantityrec" READONLY type="hidden" name="origquantityrec" value="<!-- TMPL_VAR NAME="quantityreceived" -->" />
112                 <!-- /TMPL_IF -->
113             <!-- TMPL_ELSE -->
114                 <!-- TMPL_IF name="items" -->
115                     <input id="quantityrec" READONLY type="text" size="20" name="quantityrec" value="1" />
116                 <!-- TMPL_ELSE -->
117                     <input id="quantityrec" type="text" size="20" name="quantityrec" value="1" />
118                 <!-- /TMPL_IF -->
119                 <input id="origquantityrec" READONLY type="hidden" name="origquantityrec" value="0" />
120             <!-- /TMPL_IF -->
121                 <!--    <input type="text" size="20" name="quantityrec" id="quantityrec" value="<!-- TMPL_VAR NAME="quantityreceived" -->" /> --></li>
122         <li><label for="rrp">Replacement cost: </label><input type="text" size="20" name="rrp" id="rrp" value="<!-- TMPL_VAR NAME="rrp" -->" /></li>
123         <li><label for="ecost">Budgeted cost: </label><input type="text" size="20" name="ecost" id="ecost" value="<!-- TMPL_VAR NAME="ecost" -->" /></li>
124         <li><label for="cost">Actual cost:</label>
125         <!-- TMPL_IF name="unitprice"-->
126          <input type="text" size="20" name="cost" id="cost" value="<!-- TMPL_VAR NAME="unitprice" -->" />
127         <!-- TMPL_ELSE -->
128             <input type="text" size="20" name="cost" id="cost" value="<!-- TMPL_VAR name="ecost" -->" />
129         <!-- /TMPL_IF --></li></ol>
130         <label for="note">Notes: </label><textarea name="note" width="40" rows="8" ><!--TMPL_VAR name="notes" --></textarea>
131         <input type="hidden" name="invoice" value="<!-- TMPL_VAR NAME="invoice" -->" />
132     </fieldset>
133
134 </div>
135 </div><div class="yui-g"><fieldset class="action">
136         <input type="button"  value="Save" onclick="javascript:if(check_additem()) { this.form.submit(); } else { alert( _('Duplicate barcodes detected.  Please correct the errors and resubmit.') ); return false };" /> <a class="cancel" href="/cgi-bin/koha/acqui/parcel.pl?supplierid=<!-- TMPL_VAR NAME="supplierid" -->&amp;invoice=<!-- TMPL_VAR NAME="invoice" -->&amp;gst=<!-- TMPL_VAR NAME="gst" -->&amp;freight=<!-- TMPL_VAR NAME="freight" -->">Cancel</a>
137 </fieldset></div>    </form>
138 <!-- TMPL_ELSE -->
139 <div id="acqui_acquire_orderlist">
140     <table>
141     <tr>
142         <th>Basket</th>
143         <th>ISBN</th>
144         <th>Title</th>
145         <th>Author</th>
146         <th>Qty</th>
147         <th>Received</th>
148     </tr>
149     <!-- TMPL_LOOP name="loop" -->
150         <tr>
151             <td><!-- TMPL_VAR NAME="basketno" --></td>
152             <td><!-- TMPL_VAR NAME="isbn" --></td>
153          <td><a href="orderreceive.pl?datereceived=<!-- TMPL_VAR NAME="datereceived" -->&amp;receive=<!-- TMPL_VAR NAME="ordernumber" -->&amp;biblio=<!-- TMPL_VAR NAME="biblionumber" -->&amp;invoice=<!-- TMPL_VAR NAME="invoice" -->&amp;freight=<!-- TMPL_VAR NAME="freight" -->&amp;gst=<!-- TMPL_VAR NAME="gst" -->&amp;id=<!-- TMPL_VAR NAME="id" -->"><!-- TMPL_VAR NAME="title" escape="html" --></a></td>
154             <td><!-- TMPL_VAR NAME="author" --></td>
155             <td><!-- TMPL_VAR NAME="quantity" --></td>
156             <td><!-- TMPL_VAR NAME="quantityreceived" --></td>
157         </tr>
158     <!-- /TMPL_LOOP -->
159     </table>
160 </div>
161 <!-- /TMPL_IF -->
162
163 </div>
164 </div>
165 <div class="yui-b">
166 <!-- TMPL_INCLUDE NAME="acquisitions-menu.inc" -->
167 </div>
168 </div>
169 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->