Further updates to acq, merging in dev_week mods.
[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>Catalogue Details</legend>
27     <ul><li><span class="label">Title: </span><span class="title"><!-- TMPL_VAR NAME="title" --></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     </ul>
37         </fieldset>
38         <fieldset class="rows">
39         <legend>Item details (n):  (add to catalogue)</legend>
40   <div id="outeritemblock">
41         <div id="itemblock">
42         <ul>
43         <li> <label for="volinf">Volume/Copy (for serials): </label>
44         <input type="text" size="20" name="volinf" id="volinf" /></li></ol>
45     <li> <label for="barcode">Item barcode: </label>
46         <input type="text" size="20" name="barcode" id="barcode" value="<!-- TMPL_VAR NAME="barcode" -->" /></li>
47     <li> <label for="homebranch">Home library: </label>
48             <select name="homebranch" id="homebranch">            <!-- TMPL_LOOP name="branchloop" -->
49                 <!-- TMPL_IF NAME="selected" --><option value="<!-- TMPL_VAR NAME="value" -->" selected="selected"><!-- TMPL_VAR NAME="description" --></option>
50                 <!-- TMPL_ELSE -->
51                 <option value="<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="description" --></option>
52                 <!-- /TMPL_IF -->
53             <!-- /TMPL_LOOP -->
54             </select></li>
55     <!-- TMPL_IF NAME="locationloop" -->
56                 <li> <label for="location">Shelf location: </label>
57             <select name="location" id="location">            <!-- TMPL_LOOP name="locationloop" -->
58                 <!-- TMPL_IF NAME="selected" --><option value="<!-- TMPL_VAR NAME="value" -->" selected="selected"><!-- TMPL_VAR NAME="description" --></option>
59                 <!-- TMPL_ELSE -->
60                 <option value="<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="description" --></option>
61                 <!-- /TMPL_IF -->
62             <!-- /TMPL_LOOP -->
63             </select></li>
64    <!-- /TMPL_IF -->
65     <!-- TMPL_IF NAME="itype" -->
66     <li> <label for="itemtype">Item type: </label>
67             <select name="itemtype" id="itemtype">            <!-- TMPL_LOOP name="itemtypeloop" -->
68                 <!-- TMPL_IF NAME="selected" --><option value="<!-- TMPL_VAR NAME="value" -->" selected="selected"><!-- TMPL_VAR NAME="description" --></option>
69                 <!-- TMPL_ELSE -->
70                 <option value="<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="description" --></option>
71                 <!-- /TMPL_IF -->
72             <!-- /TMPL_LOOP -->
73             </select></li>
74    <!-- /TMPL_IF -->
75     <!-- TMPL_IF NAME="ccodeloop" -->
76     <li> <label for="ccode">Collection: </label>
77             <select name="ccode" id="ccode">            <!-- TMPL_LOOP name="ccodeloop" -->
78                 <!-- TMPL_IF NAME="selected" --><option value="<!-- TMPL_VAR NAME="value" -->" selected="selected"><!-- TMPL_VAR NAME="description" --></option>
79                 <!-- TMPL_ELSE -->
80                 <option value="<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="description" --></option>
81                 <!-- /TMPL_IF -->
82             <!-- /TMPL_LOOP -->
83             </select></li>
84    <!-- /TMPL_IF -->
85    </ul>
86 <a style="cursor: crosshair; color: grey; font-size: 180%;" onclick="cloneItemBlock('itemblock<!-- TMPL_VAR name="itemBlockIndex" -->')">+</a>
87  <a style="display:none; cursor: crosshair; color: grey; font-size: 180%;" onclick="deleteItemBlock('itemblock<!-- TMPL_VAR name="itemBlockIndex" -->')">-</a>
88     </div>
89         </div>
90         <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
91     <input type="hidden" name="ordnum" value="<!-- TMPL_VAR NAME="ordernumber" -->" />
92     <input type="hidden" name="biblioitemnumber" value="<!-- TMPL_VAR NAME="biblioitemnumber" -->" />
93     <input type="hidden" name="supplierid" value="<!-- TMPL_VAR NAME="supplierid" -->" />
94     <input type="hidden" name="datereceived" value="<!-- TMPL_VAR NAME="datereceived" -->" />
95     <input type="hidden" name="freight" value="<!-- TMPL_VAR NAME="freight" -->" />
96     <input type="hidden" name="gst" value="<!-- TMPL_VAR NAME="gst" -->" />
97     </fieldset>
98         </div>
99         <div class="yui-u">
100     <fieldset class="rows">
101     <legend>Accounting details</legend>
102        <ul>
103        <li><label for="quantity">Quantity ordered: </label><span class="label"> <!-- TMPL_VAR NAME="quantity" --> </span></li>
104         <li><label for="quantityrec">Quantity received: </label>
105           <input id="quantityrec" READONLY type="text" size="20" name="quantityrec" value="<!-- TMPL_IF NAME="quantityreceived" --><!-- TMPL_VAR NAME="quantityreceivedplus1" --><!-- TMPL_ELSE -->1<!-- /TMPL_IF -->" />
106           <input id="origquantityrec" READONLY type="hidden" name="origquantityrec" value="<!-- TMPL_IF NAME="quantityreceived" --><!-- TMPL_VAR NAME="quantityreceived" --><!-- TMPL_ELSE -->0<!-- /TMPL_IF -->" />
107                 <!--    <input type="text" size="20" name="quantityrec" id="quantityrec" value="<!-- TMPL_VAR NAME="quantityreceived" -->" /> --></li>
108         <li><label for="rrp">Replacement cost: </label><input type="text" size="20" name="rrp" id="rrp" value="<!-- TMPL_VAR NAME="rrp" -->" /></li>
109         <li><label for="ecost">Budgeted cost: </label><input type="text" size="20" name="ecost" id="ecost" value="<!-- TMPL_VAR NAME="ecost" -->" /></li>
110         <li><label for="cost">Actual cost:</label>
111         <!-- TMPL_IF name="unitprice"-->
112          <input type="text" size="20" name="cost" id="cost" value="<!-- TMPL_VAR NAME="unitprice" -->" />
113         <!-- TMPL_ELSE -->
114             <input type="text" size="20" name="cost" id="cost" value="<!-- TMPL_VAR name="ecost" -->" />
115         <!-- /TMPL_IF --></li></ol>
116         <input type="hidden" name="invoice" value="<!-- TMPL_VAR NAME="invoice" -->" />
117     </fieldset>
118
119 </div>
120 </div><div class="yui-g"><fieldset class="action"><!-- TMPL_IF name="catview" -->
121         <input type="submit"  name="submit" value="Save" /> <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>
122     <!-- TMPL_ELSE -->
123         <a href="/cgi-bin/koha/acqui/neworderempty.pl?ordnum=<!-- TMPL_VAR NAME="ordernumber" -->&amp;id=<!-- TMPL_VAR NAME="booksellerid" -->">Edit</a>
124     <!-- /TMPL_IF --></fieldset></div>    </form>
125 <!-- TMPL_ELSE -->
126 <div id="acqui_acquire_orderlist">
127     <table>
128     <tr>
129         <th>Basket</th>
130         <th>ISBN</th>
131         <th>Title</th>
132         <th>Author</th>
133         <th>Qty</th>
134         <th>Received</th>
135     </tr>
136     <!-- TMPL_LOOP name="loop" -->
137         <tr>
138             <td><!-- TMPL_VAR NAME="basketno" --></td>
139             <td><!-- TMPL_VAR NAME="isbn" --></td>
140          <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" --></a></td>
141             <td><!-- TMPL_VAR NAME="author" --></td>
142             <td><!-- TMPL_VAR NAME="quantity" --></td>
143             <td><!-- TMPL_VAR NAME="quantityreceived" --></td>
144         </tr>
145     <!-- /TMPL_LOOP -->
146     </table>
147 </div>
148 <!-- /TMPL_IF -->
149
150 </div>
151 </div>
152 <div class="yui-b">
153 <!-- TMPL_INCLUDE NAME="acquisitions-menu.inc" -->
154 </div>
155 </div>
156 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->