Providing options for adding to order when existing record search has failed.
[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">
5 </script>
6 <style type="text/css">
7 a.cloneItemBlock { cursor: pointer; color: grey; font-size: 180%; padding:.5em;text-decoration:none;}
8 a.deleteItemBlock { display:none; cursor: pointer; color: grey; font-size: 180%;padding:.5em;text-decoration:none; }
9 fieldset.rows .itemblock fieldset.action { padding:.5em; }
10 </style>
11 </head>
12 <body>
13 <!-- TMPL_INCLUDE NAME="header.inc" -->
14 <!-- TMPL_INCLUDE NAME="acquisitions-search.inc" -->
15
16 <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>
17
18 <div id="doc3" class="yui-t2">
19    
20    <div id="bd">
21         <div id="yui-main">
22         <div class="yui-b">
23
24 <h1>Receive items from : <!-- TMPL_VAR NAME="name" --> <!-- TMPL_IF NAME="invoice" -->[<!-- TMPL_VAR NAME="invoice" -->] <!-- /TMPL_IF --> (order #<!-- TMPL_VAR NAME="ordernumber" -->)</h1>
25
26 <!-- TMPL_IF name="count" -->
27     <form action="/cgi-bin/koha/acqui/finishreceive.pl" method="post">
28 <div class="yui-g">
29 <div class="yui-u first">
30     
31     <fieldset class="rows">
32     <legend>Catalog Details</legend>
33     <ol><li><span class="label">Title: </span><span class="title"><!-- TMPL_VAR NAME="title" escape="html" --></span></li>
34     <li> <span class="label">Author: </span>
35         <!-- TMPL_VAR NAME="author" --></li>
36     <li><span class="label">Copyright: </span>
37         <!-- TMPL_VAR NAME="copyrightdate" --></li>
38     <li> <span class="label">ISBN: </span>
39         <!-- TMPL_VAR NAME="isbn" --></li>
40     <li> <span class="label">Series: </span>
41         <!-- TMPL_VAR NAME="seriestitle" --></li>
42     </ol>
43         </fieldset>
44         <fieldset class="rows">
45         <legend>Item details:  (add to catalog)</legend>
46   <div id="outeritemblock">
47         <div class="itemblock">
48         <ol>
49         <li> <label for="volinf1">Volume/Copy (for serials): </label>
50         <input type="text" size="20" name="volinf" id="volinf1" /></li>
51     <li> <label for="barcode1">Item barcode: </label>
52         <input type="text" size="20" name="barcode" id="barcode1" value="<!-- TMPL_VAR NAME="barcode" -->" /></li>
53     <li> <label for="homebranch1">Home library: </label>
54             <select name="homebranch" id="homebranch1">            <!-- TMPL_LOOP name="branchloop" -->
55                 <!-- TMPL_IF NAME="selected" --><option value="<!-- TMPL_VAR NAME="value" -->" selected="selected"><!-- TMPL_VAR NAME="description" --></option>
56                 <!-- TMPL_ELSE -->
57                 <option value="<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="description" --></option>
58                 <!-- /TMPL_IF -->
59             <!-- /TMPL_LOOP -->
60             </select></li>
61     <!-- TMPL_IF NAME="locationloop" -->
62                 <li> <label for="location1">Shelf location: </label>
63             <select name="location" id="location1"><!-- TMPL_LOOP name="locationloop" -->
64                 <!-- TMPL_IF NAME="selected" --><option value="<!-- TMPL_VAR NAME="value" -->" selected="selected"><!-- TMPL_VAR NAME="description" --></option>
65                 <!-- TMPL_ELSE -->
66                 <option value="<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="description" --></option>
67                 <!-- /TMPL_IF -->
68             <!-- /TMPL_LOOP -->
69             </select></li>
70    <!-- /TMPL_IF -->
71     <!-- TMPL_IF NAME="itype" -->
72     <li> <label for="itemtype1">Item type: </label>
73             <select name="itemtype" id="itemtype1"><!-- TMPL_LOOP name="itemtypeloop" -->
74                 <!-- TMPL_IF NAME="selected" --><option value="<!-- TMPL_VAR NAME="value" -->" selected="selected"><!-- TMPL_VAR NAME="description" --></option>
75                 <!-- TMPL_ELSE -->
76                 <option value="<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="description" --></option>
77                 <!-- /TMPL_IF -->
78             <!-- /TMPL_LOOP -->
79             </select></li>
80    <!-- /TMPL_IF -->
81     <!-- TMPL_IF NAME="ccodeloop" -->
82     <li> <label for="ccode1">Collection: </label>
83             <select name="ccode" id="ccode1">            <!-- TMPL_LOOP name="ccodeloop" -->
84                 <!-- TMPL_IF NAME="selected" --><option value="<!-- TMPL_VAR NAME="value" -->" selected="selected"><!-- TMPL_VAR NAME="description" --></option>
85                 <!-- TMPL_ELSE -->
86                 <option value="<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="description" --></option>
87                 <!-- /TMPL_IF -->
88             <!-- /TMPL_LOOP -->
89             </select></li>
90    <!-- /TMPL_IF -->
91    </ol><!-- TMPL_VAR name="itemBlockIndex" -->
92 <fieldset class="action"><a href="#" class="cloneItemBlock">[+]</a>
93  <a href="#" class="deleteItemBlock">[-]</a></fieldset>
94     </div>
95         </div>
96         <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
97     <input type="hidden" name="ordnum" value="<!-- TMPL_VAR NAME="ordernumber" -->" />
98     <input type="hidden" name="biblioitemnumber" value="<!-- TMPL_VAR NAME="biblioitemnumber" -->" />
99     <input type="hidden" name="supplierid" value="<!-- TMPL_VAR NAME="supplierid" -->" />
100     <input type="hidden" name="datereceived" value="<!-- TMPL_VAR NAME="datereceived_iso" -->" />
101     <input type="hidden" name="freight" value="<!-- TMPL_VAR NAME="freight" -->" />
102     <input type="hidden" name="gst" value="<!-- TMPL_VAR NAME="gst" -->" />
103     </fieldset>
104         </div>
105         <div class="yui-u">
106     <fieldset class="rows">
107     <legend>Accounting details</legend>
108        <ol>
109        <li><label for="datereceived">Date received: </label><span class="label"> <!-- TMPL_VAR NAME="datereceived" --> </span></li>
110        <li><label for="quantity">Quantity ordered: </label><span class="label"> <!-- TMPL_VAR NAME="quantity" --> </span></li>
111         <li><label for="quantityrec">Quantity received: </label>
112             <!-- TMPL_IF NAME="quantityreceived" -->
113                 <input id="quantityrec" READONLY type="text" size="20" name="quantityrec" value="<!-- TMPL_VAR NAME="quantityreceivedplus1" -->" />
114                 <input id="origquantityrec" READONLY type="hidden" name="origquantityrec" value="<!-- TMPL_VAR NAME="quantityreceived" -->" />
115             <!-- TMPL_ELSE -->
116                 <input id="quantityrec" READONLY type="text" size="20" name="quantityrec" value="1" />
117                 <input id="origquantityrec" READONLY type="hidden" name="origquantityrec" value="0" />
118             <!-- /TMPL_IF -->
119                 <!--    <input type="text" size="20" name="quantityrec" id="quantityrec" value="<!-- TMPL_VAR NAME="quantityreceived" -->" /> --></li>
120         <li><label for="rrp">Replacement cost: </label><input type="text" size="20" name="rrp" id="rrp" value="<!-- TMPL_VAR NAME="rrp" -->" /></li>
121         <li><label for="ecost">Budgeted cost: </label><input type="text" size="20" name="ecost" id="ecost" value="<!-- TMPL_VAR NAME="ecost" -->" /></li>
122         <li><label for="cost">Actual cost:</label>
123         <!-- TMPL_IF name="unitprice"-->
124          <input type="text" size="20" name="cost" id="cost" value="<!-- TMPL_VAR NAME="unitprice" -->" />
125         <!-- TMPL_ELSE -->
126             <input type="text" size="20" name="cost" id="cost" value="<!-- TMPL_VAR name="ecost" -->" />
127         <!-- /TMPL_IF --></li></ol>
128         <input type="hidden" name="invoice" value="<!-- TMPL_VAR NAME="invoice" -->" />
129     </fieldset>
130
131 </div>
132 </div><div class="yui-g"><fieldset class="action"><!-- TMPL_IF name="catview" -->
133         <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>
134     <!-- TMPL_ELSE -->
135         <a href="/cgi-bin/koha/acqui/neworderempty.pl?ordnum=<!-- TMPL_VAR NAME="ordernumber" -->&amp;id=<!-- TMPL_VAR NAME="booksellerid" -->">Edit</a>
136     <!-- /TMPL_IF --></fieldset></div>    </form>
137 <!-- TMPL_ELSE -->
138 <div id="acqui_acquire_orderlist">
139     <table>
140     <tr>
141         <th>Basket</th>
142         <th>ISBN</th>
143         <th>Title</th>
144         <th>Author</th>
145         <th>Qty</th>
146         <th>Received</th>
147     </tr>
148     <!-- TMPL_LOOP name="loop" -->
149         <tr>
150             <td><!-- TMPL_VAR NAME="basketno" --></td>
151             <td><!-- TMPL_VAR NAME="isbn" --></td>
152          <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>
153             <td><!-- TMPL_VAR NAME="author" --></td>
154             <td><!-- TMPL_VAR NAME="quantity" --></td>
155             <td><!-- TMPL_VAR NAME="quantityreceived" --></td>
156         </tr>
157     <!-- /TMPL_LOOP -->
158     </table>
159 </div>
160 <!-- /TMPL_IF -->
161
162 </div>
163 </div>
164 <div class="yui-b">
165 <!-- TMPL_INCLUDE NAME="acquisitions-menu.inc" -->
166 </div>
167 </div>
168 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->