bugfixes for normal acquisition process. seems to work better.
[wip/koha-chris_n.git] / koha-tmpl / intranet-tmpl / default / en / acqui / acquire.tmpl
1 <TMPL_INCLUDE name="acquisitions-top.inc">
2
3 <div align=right>
4 Invoice: <TMPL_VAR name="invoice"><br>
5 Received By: <TMPL_VAR name="user"><br>
6 <TMPL_VAR name="date">
7 </div>
8 <FONT SIZE=6><em>Receipt Summary for : <TMPL_VAR name="name"> Invoice, <TMPL_VAR name="invoice"></em></FONT>
9 <CENTER>
10
11
12 <TMPL_IF name="count">
13         <script language="javascript" type="text/javascript">
14         <!--
15         function messenger(X,Y,etc){
16         win=window.open("","mess","height="+X+",width="+Y+",screenX=150,screenY=0");
17         win.focus();
18         win.document.close();
19         win.document.write("<body link='#333333' bgcolor='#ffffff' text='#000000'><font size=2><p><br>");
20         win.document.write(etc);
21         win.document.write("<center><form><input type=button onclick='self.close()' value=Close></form></center>");
22         win.document.write("</font></body></html>");
23         }
24         //-->
25         </script>
26         <form action="/cgi-bin/koha/acqui/finishreceive.pl" method=post>
27         <input type=hidden name=biblio value=<TMPL_VAR name="biblionumber">>
28         <input type=hidden name=ordnum value=<TMPL_VAR name="ordernumber">>
29         <input type=hidden name=biblioitemnum value=<TMPL_VAR name="biblioitemnumber">>
30         <input type=hidden name=id value="<TMPL_VAR name="booksellerid">">
31         <input type=hidden name=freight value="<TMPL_VAR name="freight">">
32         <input type=hidden name=gst value="<TMPL_VAR name="gst">">
33         <TMPL_IF name="catview">
34                 <input type=image  name=submit src=/images/save-changes.gif border=0 width=187 height=42 align=right>
35         <TMPL_ELSE>
36                 <a href=/cgi-bin/koha/acqui/newbiblio.pl?ordnum=<TMPL_VAR name="ordernumber">&id=<TMPL_VAR name="booksellerid">><img src=/images/modify-mem.gif align=right border=0></a>
37         </TMPL_IF>
38         <FONT SIZE=6><em><TMPL_VAR name="ordernumber"> - Receive Order</em></FONT><br>
39         Shopping Basket For: <TMPL_VAR name="name">
40         <br> Order placed: <TMPL_VAR name="date">
41         <P>
42         <CENTER>
43         <TABLE  CELLSPACING=0  CELLPADDING=5 border=1 align=left width="40%">
44                 <tr valign=top bgcolor=#99cc33>
45                         <td background="/images/background-mem.gif" colspan=2>
46                                 <B>CATALOGUE DETAILS</B>
47                         </td>
48                 </tr>
49                 <TR VALIGN=TOP>
50                         <TD><b>Title *</b></td>
51                         <td><input type=text size=20 name=title value="<TMPL_VAR name="title">" >
52                         </td>
53                 </tr>
54                 <TR VALIGN=TOP>
55                         <TD>Author</td>
56                         <td><input type=text size=20 name=author value="<TMPL_VAR name="author">" >
57                         </td>
58                 </tr>
59                 <TR VALIGN=TOP>
60                         <TD>Copyright Date</td>
61                         <td><input type=text size=20 name=copyright value="<TMPL_VAR name="copyrightdate">" >
62                         </td>
63                 </tr>
64                 <TR VALIGN=TOP>
65                         <TD>Format</td>
66                         <td><TMPL_VAR name="CGIitemtype"></td>
67                 </tr>
68                 <TR VALIGN=TOP>
69                         <TD>ISBN</td>
70                         <td><input type=text size=20 name=ISBN value="<TMPL_VAR name="isbn">"></td>
71                 </tr>
72                 <TR VALIGN=TOP>
73                         <TD>Series</td>
74                         <td><input type=text size=20 name=Series value="<TMPL_VAR name="seriestitle">"></td>
75                 </tr>
76                 <TR VALIGN=TOP>
77                         <TD>Branch</td>
78                         <td><TMPL_VAR name="CGIbranch"></td>
79                 </tr>
80                 <TR VALIGN=TOP bgcolor=#ffffcc >
81                         <TD><B>Item Barcode *</B></td>
82                         <td><input type=text size=20 name=barcode value="<TMPL_VAR name="barcode">"></td>
83                 </tr>
84                 <TR VALIGN=TOP bgcolor=#ffffcc >
85                         <TD><B>Volume Info (for serials) *</B></td>
86                         <td><input type=text size=20 name=volinf></td>
87                 </tr>
88         </table>
89         <img src="/images/holder.gif" width=32 height=250 align=left>
90         <table border=1 cellspacing=0 cellpadding=5 width="40%">
91                 <tr valign=top bgcolor=#99cc33>
92                         <td background="/images/background-mem.gif" colspan=2><B>ACCOUNTING DETAILS</B></td>
93                 </tr>
94                 <TR VALIGN=TOP>
95                         <TD><B>Bookfund *</B></td>
96                         <td><TMPL_VAR name="CGIbookfund">
97                 </tr>
98                 <TR VALIGN=TOP>
99                         <TD>Quantity Ordered</td>
100                         <td><input type=text size=20 name=quantity value="<TMPL_VAR name="quantity">">
101                         </td>
102                 </tr>
103                 <TR VALIGN=TOP bgcolor=#ffffcc>
104                         <TD><B>Quantity Received *</B></td>
105                         <td><input type=text size=20 name=quantityrec value="<TMPL_VAR name="quantityreceived">">
106                         </td>
107                 </tr>
108                 <TR VALIGN=TOP>
109                         <TD>Replacement Cost</td>
110                         <td><input type=text size=20 name=rrp value="<TMPL_VAR name="rrp">">
111                 </tr>
112                 <TR VALIGN=TOP>
113                         <TD>Budgeted Cost </td>
114                         <td><input type=text size=20 name=ecost value="<TMPL_VAR name="ecost">"></td>
115                 </tr>
116                 <TR VALIGN=TOP bgcolor=#ffffcc>
117                         <TD><B>Actual Cost *</B></td>
118                         <td><input type=text size=20 name=cost value="<TMPL_VAR name="unitprice">"></td>
119                 </tr>
120                 <TR VALIGN=TOP bgcolor=#ffffcc>
121                         <TD>Invoice Number</td>
122                         <td>
123                                 <TMPL_VAR name="invoice">
124                                 <input type=hidden name=invoice value="<TMPL_VAR name="invoice">">
125                         </td>
126                 </tr>
127                 <TR VALIGN=TOP>
128                         <TD>Notes</td>
129                         <td><input type=text size=20 name=notes value="<TMPL_VAR name="notes">"></td>
130                 </tr>
131         </table>
132         </form>
133         </center>
134         <br clear=all>
135         <p> &nbsp; </p>
136 <TMPL_ELSE>
137         <br />
138         <center>
139         <table width=80%>
140         <tr valign=top bgcolor="#ffdf61">
141                 <td><b>Basket</b></td>
142                 <td><b>ISBN</b></td>
143                 <td><b>TITLE</b></td>
144                 <td><b>AUTHOR</b></td>
145                 <td><b>Qty</b></td>
146                 <td><b>Recieved</b></td>
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=acquire.pl?recieve=<TMPL_VAR name="ordernumber">&biblio=<TMPL_VAR name="biblionumber">&invoice=<TMPL_VAR name="invoice">&freight=<TMPL_VAR name="freight">&gst=<TMPL_VAR name="gst">&id=<TMPL_VAR name="id">><TMPL_VAR name="title"></a></td>
153                         <td><TMPL_VAR name="author"></td>
154                         <td><TMPL_VAR name="quantity"></td>
155                         <td><TMPL_VAR name="quantityrecieved"></td>
156                 </tr>
157         </TMPL_LOOP>
158         </table>
159 </TMPL_IF>