166 lines
10 KiB
Cheetah
166 lines
10 KiB
Cheetah
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
|
|
<title>Koha › Acquisitions › Receipt summary for : <!-- TMPL_VAR NAME="name" --> <!-- TMPL_IF NAME="invoice" -->invoice, <!-- TMPL_VAR NAME="invoice" --><!-- /TMPL_IF --></title>
|
|
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
|
|
<script type="text/javascript" src="<!-- TMPL_VAR NAME='themelang' -->/js/additem.js"> </script>
|
|
</head>
|
|
<body>
|
|
<!-- TMPL_INCLUDE NAME="header.inc" -->
|
|
<!-- TMPL_INCLUDE NAME="acquisitions-search.inc" -->
|
|
|
|
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> › <a href="/cgi-bin/koha/acqui/supplier.pl?supplierid=<!-- TMPL_VAR NAME="supplierid" -->"><!-- TMPL_VAR NAME="name" --></a> › Receive items from : <!-- TMPL_VAR NAME="name" --> <!-- TMPL_IF NAME="invoice" -->[<!-- TMPL_VAR NAME="invoice" -->]<!-- /TMPL_IF --> (order #<!-- TMPL_VAR NAME="ordernumber" -->)</div>
|
|
|
|
<div id="doc3" class="yui-t2">
|
|
|
|
<div id="bd">
|
|
<div id="yui-main">
|
|
<div class="yui-b">
|
|
|
|
<h1>Receive items from : <!-- TMPL_VAR NAME="name" --> <!-- TMPL_IF NAME="invoice" -->[<!-- TMPL_VAR NAME="invoice" -->] <!-- /TMPL_IF --> (order #<!-- TMPL_VAR NAME="ordernumber" -->)</h1>
|
|
|
|
<!-- TMPL_IF name="count" -->
|
|
<form action="/cgi-bin/koha/acqui/finishreceive.pl" method="post">
|
|
<div class="yui-g">
|
|
<div class="yui-u first">
|
|
|
|
<fieldset class="rows">
|
|
<legend>Catalog Details</legend>
|
|
<ol><li><span class="label">Title: </span><span class="title"><!-- TMPL_VAR NAME="title" escape="html" --></span></li>
|
|
<li> <span class="label">Author: </span>
|
|
<!-- TMPL_VAR NAME="author" --></li>
|
|
<li><span class="label">Copyright: </span>
|
|
<!-- TMPL_VAR NAME="copyrightdate" --></li>
|
|
<li> <span class="label">ISBN: </span>
|
|
<!-- TMPL_VAR NAME="isbn" --></li>
|
|
<li> <span class="label">Series: </span>
|
|
<!-- TMPL_VAR NAME="seriestitle" --></li>
|
|
</ol>
|
|
</fieldset>
|
|
<!-- TMPL_IF name="items" -->
|
|
<fieldset class="rows">
|
|
<legend>Item</legend>
|
|
|
|
<!-- TMPL_LOOP NAME="items" -->
|
|
<div id="outeritemblock">
|
|
<div id="itemblock">
|
|
<ol><!-- TMPL_LOOP NAME="iteminformation" --><li>
|
|
<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" -->">
|
|
|
|
<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>
|
|
<!-- TMPL_VAR NAME="marc_value" -->
|
|
<input type="hidden" name="itemid" value="1" />
|
|
<input type="hidden" name="kohafield" value="<!-- TMPL_VAR NAME="kohafield" -->" />
|
|
<input type="hidden" name="tag" value="<!-- TMPL_VAR NAME="tag" -->" />
|
|
<input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->" />
|
|
<input type="hidden" name="mandatory" value="<!-- TMPL_VAR NAME="mandatory" -->" />
|
|
<!-- TMPL_IF NAME="ITEM_SUBFIELDS_ARE_NOT_REPEATABLE" -->
|
|
<span class="buttonPlus" onclick="CloneSubfield('subfield<!-- TMPL_VAR NAME='serialid' --><!-- TMPL_VAR NAME='countitems' --><!-- TMPL_VAR NAME='subfield' --><!-- TMPL_VAR name="random" -->')">+</span>
|
|
<!-- /TMPL_IF -->
|
|
|
|
</div></li>
|
|
<!-- /TMPL_LOOP-->
|
|
</ol>
|
|
<a style="cursor: pointer; color: grey; font-size: 180%;" onclick="cloneItemBlock('itemblock<!-- TMPL_VAR name="itemBlockIndex" -->')">+</a>
|
|
<a style="display:none; cursor: pointer; color: grey; font-size: 180%;" onclick="deleteItemBlock('itemblock<!-- TMPL_VAR name="itemBlockIndex" -->')">-</a>
|
|
</div><!-- /iteminformation -->
|
|
</div>
|
|
|
|
<input type="hidden" name="moditem" value="" />
|
|
<input type="hidden" name="tag" value="<!-- TMPL_VAR NAME="itemtagfield" -->" />
|
|
<input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="itemtagsubfield" -->" />
|
|
<input type="hidden" name="serial" value="<!-- TMPL_VAR NAME="serialid" -->" />
|
|
<input type="hidden" name="bibnum" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
|
|
<input type="hidden" name="itemid" value="1" />
|
|
<input type="hidden" name="field_value" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
|
|
<!--/TMPL_LOOP--> <!-- /items -->
|
|
</fieldset>
|
|
<!-- /TMPL_IF --> <!-- items -->
|
|
<input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber" -->" />
|
|
<input type="hidden" name="ordernumber" value="<!-- TMPL_VAR NAME="ordernumber" -->" />
|
|
<input type="hidden" name="biblioitemnumber" value="<!-- TMPL_VAR NAME="biblioitemnumber" -->" />
|
|
<input type="hidden" name="supplierid" value="<!-- TMPL_VAR NAME="supplierid" -->" />
|
|
<input type="hidden" name="datereceived" value="<!-- TMPL_VAR NAME="datereceived_iso" -->" />
|
|
<input type="hidden" name="freight" value="<!-- TMPL_VAR NAME="freight" -->" />
|
|
<input type="hidden" name="gst" value="<!-- TMPL_VAR NAME="gst" -->" />
|
|
</div>
|
|
<div class="yui-u">
|
|
<fieldset class="rows">
|
|
<legend>Accounting details</legend>
|
|
<ol>
|
|
<li><label for="datereceived">Date received: </label><span class="label"> <!-- TMPL_VAR NAME="datereceived" --> </span></li>
|
|
<li><label for="quantity">Quantity to receive: </label><span class="label">
|
|
<!-- TMPL_IF name="edit" -->
|
|
<input type="text" name="quantity" value="<!-- TMPL_VAR NAME="quantity" -->" />
|
|
<!-- TMPL_ELSE -->
|
|
<input type="text" READONLY name="quantity" value="<!-- TMPL_VAR NAME="quantity" -->" />
|
|
<!-- /TMPL_IF -->
|
|
</span></li>
|
|
<li><label for="quantityrec">Quantity received: </label>
|
|
<!-- TMPL_IF NAME="quantityreceived" -->
|
|
<!-- TMPL_IF name="edit" -->
|
|
<input id="quantityrec" type="text" size="20" name="quantityrec" value="<!-- TMPL_VAR NAME="quantityreceived" -->" />
|
|
<input id="origquantityrec" READONLY type="hidden" name="origquantityrec" value="<!-- TMPL_VAR NAME="quantityreceived" -->" />
|
|
<!-- TMPL_ELSE -->
|
|
<!-- TMPL_IF name="items" -->
|
|
<input id="quantityrec" READONLY type="text" size="20" name="quantityrec" value="<!-- TMPL_VAR NAME="quantityreceivedplus1" -->" />
|
|
<!-- TMPL_ELSE -->
|
|
<input id="quantityrec" type="text" size="20" name="quantityrec" value="<!-- TMPL_VAR NAME="quantityreceivedplus1" -->" />
|
|
<!-- /TMPL_IF -->
|
|
<input id="origquantityrec" READONLY type="hidden" name="origquantityrec" value="<!-- TMPL_VAR NAME="quantityreceived" -->" />
|
|
<!-- /TMPL_IF -->
|
|
<!-- TMPL_ELSE -->
|
|
<!-- TMPL_IF name="items" -->
|
|
<input id="quantityrec" READONLY type="text" size="20" name="quantityrec" value="1" />
|
|
<!-- TMPL_ELSE -->
|
|
<input id="quantityrec" type="text" size="20" name="quantityrec" value="1" />
|
|
<!-- /TMPL_IF -->
|
|
<input id="origquantityrec" READONLY type="hidden" name="origquantityrec" value="0" />
|
|
<!-- /TMPL_IF -->
|
|
<!-- <input type="text" size="20" name="quantityrec" id="quantityrec" value="<!-- TMPL_VAR NAME="quantityreceived" -->" /> --></li>
|
|
<li><label for="rrp">Replacement cost: </label><input type="text" size="20" name="rrp" id="rrp" value="<!-- TMPL_VAR NAME="rrp" -->" /></li>
|
|
<li><label for="ecost">Budgeted cost: </label><input type="text" size="20" name="ecost" id="ecost" value="<!-- TMPL_VAR NAME="ecost" -->" /></li>
|
|
<li><label for="cost">Actual cost:</label>
|
|
<!-- TMPL_IF name="unitprice"-->
|
|
<input type="text" size="20" name="cost" id="cost" value="<!-- TMPL_VAR NAME="unitprice" -->" />
|
|
<!-- TMPL_ELSE -->
|
|
<input type="text" size="20" name="cost" id="cost" value="<!-- TMPL_VAR name="ecost" -->" />
|
|
<!-- /TMPL_IF --></li></ol>
|
|
<label for="note">Notes: </label><textarea name="note" width="40" rows="8" ><!--TMPL_VAR name="notes" --></textarea>
|
|
<input type="hidden" name="invoice" value="<!-- TMPL_VAR NAME="invoice" -->" />
|
|
</fieldset>
|
|
|
|
</div>
|
|
</div><div class="yui-g"><fieldset class="action">
|
|
<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" -->&invoice=<!-- TMPL_VAR NAME="invoice" -->&gst=<!-- TMPL_VAR NAME="gst" -->&freight=<!-- TMPL_VAR NAME="freight" -->">Cancel</a>
|
|
</fieldset></div> </form>
|
|
<!-- TMPL_ELSE -->
|
|
<div id="acqui_acquire_orderlist">
|
|
<table>
|
|
<tr>
|
|
<th>Basket</th>
|
|
<th>ISBN</th>
|
|
<th>Title</th>
|
|
<th>Author</th>
|
|
<th>Qty</th>
|
|
<th>Received</th>
|
|
</tr>
|
|
<!-- TMPL_LOOP name="loop" -->
|
|
<tr>
|
|
<td><!-- TMPL_VAR NAME="basketno" --></td>
|
|
<td><!-- TMPL_VAR NAME="isbn" --></td>
|
|
<td><a href="orderreceive.pl?datereceived=<!-- TMPL_VAR NAME="datereceived" -->&receive=<!-- 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" escape="html" --></a></td>
|
|
<td><!-- TMPL_VAR NAME="author" --></td>
|
|
<td><!-- TMPL_VAR NAME="quantity" --></td>
|
|
<td><!-- TMPL_VAR NAME="quantityreceived" --></td>
|
|
</tr>
|
|
<!-- /TMPL_LOOP -->
|
|
</table>
|
|
</div>
|
|
<!-- /TMPL_IF -->
|
|
|
|
</div>
|
|
</div>
|
|
<div class="yui-b">
|
|
<!-- TMPL_INCLUDE NAME="acquisitions-menu.inc" -->
|
|
</div>
|
|
</div>
|
|
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
|