Koha/koha-tmpl/intranet-tmpl/default/en/acqui/acquire.tmpl
tipaul 98c6097739 bugfixes for normal acquisition process. seems to work better.
NOTES to 1.2 managers : the 1.2 seems to have problems too :
* when finishrecieve is called, the booksellerid is lost, and you arrive to the "recieve.pl" again, it's with the 1st bookseller from the DB.
* under certain circunstances, the invoice # is lost, and ALL lines from the bookseller are shown. this strange behaviour is fixed too in this commit
2003-03-03 17:38:01 +00:00

159 lines
5.3 KiB
Cheetah

<TMPL_INCLUDE name="acquisitions-top.inc">
<div align=right>
Invoice: <TMPL_VAR name="invoice"><br>
Received By: <TMPL_VAR name="user"><br>
<TMPL_VAR name="date">
</div>
<FONT SIZE=6><em>Receipt Summary for : <TMPL_VAR name="name"> Invoice, <TMPL_VAR name="invoice"></em></FONT>
<CENTER>
<TMPL_IF name="count">
<script language="javascript" type="text/javascript">
<!--
function messenger(X,Y,etc){
win=window.open("","mess","height="+X+",width="+Y+",screenX=150,screenY=0");
win.focus();
win.document.close();
win.document.write("<body link='#333333' bgcolor='#ffffff' text='#000000'><font size=2><p><br>");
win.document.write(etc);
win.document.write("<center><form><input type=button onclick='self.close()' value=Close></form></center>");
win.document.write("</font></body></html>");
}
//-->
</script>
<form action="/cgi-bin/koha/acqui/finishreceive.pl" method=post>
<input type=hidden name=biblio value=<TMPL_VAR name="biblionumber">>
<input type=hidden name=ordnum value=<TMPL_VAR name="ordernumber">>
<input type=hidden name=biblioitemnum value=<TMPL_VAR name="biblioitemnumber">>
<input type=hidden name=id value="<TMPL_VAR name="booksellerid">">
<input type=hidden name=freight value="<TMPL_VAR name="freight">">
<input type=hidden name=gst value="<TMPL_VAR name="gst">">
<TMPL_IF name="catview">
<input type=image name=submit src=/images/save-changes.gif border=0 width=187 height=42 align=right>
<TMPL_ELSE>
<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>
</TMPL_IF>
<FONT SIZE=6><em><TMPL_VAR name="ordernumber"> - Receive Order</em></FONT><br>
Shopping Basket For: <TMPL_VAR name="name">
<br> Order placed: <TMPL_VAR name="date">
<P>
<CENTER>
<TABLE CELLSPACING=0 CELLPADDING=5 border=1 align=left width="40%">
<tr valign=top bgcolor=#99cc33>
<td background="/images/background-mem.gif" colspan=2>
<B>CATALOGUE DETAILS</B>
</td>
</tr>
<TR VALIGN=TOP>
<TD><b>Title *</b></td>
<td><input type=text size=20 name=title value="<TMPL_VAR name="title">" >
</td>
</tr>
<TR VALIGN=TOP>
<TD>Author</td>
<td><input type=text size=20 name=author value="<TMPL_VAR name="author">" >
</td>
</tr>
<TR VALIGN=TOP>
<TD>Copyright Date</td>
<td><input type=text size=20 name=copyright value="<TMPL_VAR name="copyrightdate">" >
</td>
</tr>
<TR VALIGN=TOP>
<TD>Format</td>
<td><TMPL_VAR name="CGIitemtype"></td>
</tr>
<TR VALIGN=TOP>
<TD>ISBN</td>
<td><input type=text size=20 name=ISBN value="<TMPL_VAR name="isbn">"></td>
</tr>
<TR VALIGN=TOP>
<TD>Series</td>
<td><input type=text size=20 name=Series value="<TMPL_VAR name="seriestitle">"></td>
</tr>
<TR VALIGN=TOP>
<TD>Branch</td>
<td><TMPL_VAR name="CGIbranch"></td>
</tr>
<TR VALIGN=TOP bgcolor=#ffffcc >
<TD><B>Item Barcode *</B></td>
<td><input type=text size=20 name=barcode value="<TMPL_VAR name="barcode">"></td>
</tr>
<TR VALIGN=TOP bgcolor=#ffffcc >
<TD><B>Volume Info (for serials) *</B></td>
<td><input type=text size=20 name=volinf></td>
</tr>
</table>
<img src="/images/holder.gif" width=32 height=250 align=left>
<table border=1 cellspacing=0 cellpadding=5 width="40%">
<tr valign=top bgcolor=#99cc33>
<td background="/images/background-mem.gif" colspan=2><B>ACCOUNTING DETAILS</B></td>
</tr>
<TR VALIGN=TOP>
<TD><B>Bookfund *</B></td>
<td><TMPL_VAR name="CGIbookfund">
</tr>
<TR VALIGN=TOP>
<TD>Quantity Ordered</td>
<td><input type=text size=20 name=quantity value="<TMPL_VAR name="quantity">">
</td>
</tr>
<TR VALIGN=TOP bgcolor=#ffffcc>
<TD><B>Quantity Received *</B></td>
<td><input type=text size=20 name=quantityrec value="<TMPL_VAR name="quantityreceived">">
</td>
</tr>
<TR VALIGN=TOP>
<TD>Replacement Cost</td>
<td><input type=text size=20 name=rrp value="<TMPL_VAR name="rrp">">
</tr>
<TR VALIGN=TOP>
<TD>Budgeted Cost </td>
<td><input type=text size=20 name=ecost value="<TMPL_VAR name="ecost">"></td>
</tr>
<TR VALIGN=TOP bgcolor=#ffffcc>
<TD><B>Actual Cost *</B></td>
<td><input type=text size=20 name=cost value="<TMPL_VAR name="unitprice">"></td>
</tr>
<TR VALIGN=TOP bgcolor=#ffffcc>
<TD>Invoice Number</td>
<td>
<TMPL_VAR name="invoice">
<input type=hidden name=invoice value="<TMPL_VAR name="invoice">">
</td>
</tr>
<TR VALIGN=TOP>
<TD>Notes</td>
<td><input type=text size=20 name=notes value="<TMPL_VAR name="notes">"></td>
</tr>
</table>
</form>
</center>
<br clear=all>
<p> &nbsp; </p>
<TMPL_ELSE>
<br />
<center>
<table width=80%>
<tr valign=top bgcolor="#ffdf61">
<td><b>Basket</b></td>
<td><b>ISBN</b></td>
<td><b>TITLE</b></td>
<td><b>AUTHOR</b></td>
<td><b>Qty</b></td>
<td><b>Recieved</b></td>
</tr>
<TMPL_LOOP name="loop">
<tr>
<TD><TMPL_VAR name="basketno"></td>
<TD><TMPL_VAR name="isbn"></td>
<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>
<td><TMPL_VAR name="author"></td>
<td><TMPL_VAR name="quantity"></td>
<td><TMPL_VAR name="quantityrecieved"></td>
</tr>
</TMPL_LOOP>
</table>
</TMPL_IF>