Koha/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tmpl
Paul POULAIN 897de14016 Acquisition minor improvements
Fixing a SQL bug hdl introduced yesterday when updating queries & that I missed when reviewing them.
changing the look of the basket & parcel by adding & moving some link

The goal is to have the same kind of lists & links everywhere. (Will continue on monday)

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-10-05 19:55:36 -05:00

140 lines
7.7 KiB
Cheetah

<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
<title>Koha &rsaquo; Acquisitions &rsaquo; <!-- TMPL_IF name="date" -->
Receipt Summary for <!-- TMPL_VAR NAME="name" --> <!--TMPL_IF Name="invoice"-->Parcel <!-- TMPL_VAR NAME="invoice" --><!--/TMPL_IF --> on <!-- TMPL_VAR NAME="date" --><!-- TMPL_ELSE -->Orders not yet Received for <!-- TMPL_VAR NAME="name" --><!-- /TMPL_IF --></title>
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
</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> &rsaquo; <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> &rsaquo; <!-- TMPL_IF name="date" -->
Receipt Summary for <i><!-- TMPL_VAR NAME="name" --></i> <!--TMPL_IF Name="invoice"-->Parcel <i><!-- TMPL_VAR NAME="invoice" --></i><!--/TMPL_IF --> on <i><!-- TMPL_VAR NAME="date" --></i>
<!-- TMPL_ELSE -->
Orders not yet Received for <!-- TMPL_VAR NAME="name" -->
<!-- /TMPL_IF --></div>
<div id="doc3" class="yui-t2">
<div id="bd">
<div id="yui-main">
<div class="yui-b">
<h1>
<!-- TMPL_IF name="date" -->
Receipt Summary for <i><!-- TMPL_VAR NAME="name" --></i> <!--TMPL_IF Name="invoice"-->Parcel <i><!-- TMPL_VAR NAME="invoice" --></i><!--/TMPL_IF --> on <i><!-- TMPL_VAR NAME="date" --></i>
<!-- TMPL_ELSE -->
Orders not yet Received for <!-- TMPL_VAR NAME="name" -->
<!-- /TMPL_IF -->
</h1>
<div id="acqui_recieve_summary">
<p>Parcel: <!-- TMPL_VAR NAME="invoice" --></p>
<p>Received by: <!-- TMPL_VAR NAME="loggedinusername" --></p>
<p>On: <!-- TMPL_VAR NAME="datereceived" --></p>
</div>
<div id="acqui_recieve_recievelist">
<h2>Receive list</h2>
<form action="/cgi-bin/koha/acqui/parcel.pl" method="get" name="orderform">
<table>
<tr>
<th>BASKET</th>
<th>Summary</th>
<th>QTY ordered</th>
<th>Est Cost</th>
<th>ACTUAL</th>
<th>QTY received</th>
<th>TOTAL</th>
</tr>
<!-- TMPL_LOOP NAME="loop_received" -->
<tr>
<td><a href="/cgi-bin/koha/acqui/basket.pl?basketno=<!-- TMPL_VAR NAME="basketno" -->"><!-- TMPL_VAR NAME="basketno" --></a></td>
<td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->"><!-- TMPL_VAR NAME="title" --></a>
<!-- TMPL_IF NAME="isbn" --><br />ISBN: <!-- TMPL_VAR NAME="isbn" --><!--/TMPL_IF-->
<!-- TMPL_IF NAME="author" --><br />author :<!-- TMPL_VAR NAME="author" --><!--/TMPL_IF-->
<!-- TMPL_IF NAME="publishercode" --><br />Publisher :<!-- TMPL_VAR NAME="publishercode" --><!--/TMPL_IF-->
</td>
<td><!-- TMPL_VAR NAME="quantity" --></td>
<td><!-- TMPL_VAR NAME="ecost" --></td>
<td><!-- TMPL_VAR NAME="unitprice" --></td>
<td><a href="orderreceive.pl?recieve=<!-- TMPL_VAR NAME="ordernumber" -->&amp;biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&amp;daterecieved=<!-- TMPL_VAR NAME="datereceived" -->&amp;invoice=<!-- TMPL_VAR NAME="invoice" -->&amp;gst=<!-- TMPL_VAR NAME="gst" -->&amp;freight=<!-- TMPL_VAR NAME="freight" -->&amp;supplierid=<!-- TMPL_VAR NAME="supplierid" -->"><!-- TMPL_VAR NAME="quantityreceived" --></a></td>
<td><!-- TMPL_VAR NAME="total" --></td>
</tr>
<!-- /TMPL_LOOP -->
<tr>
<th colspan="3">&nbsp;</th>
<th>SUBTOTALS</th>
<th><!-- TMPL_VAR NAME="totalprice" --></th>
<th><!-- TMPL_VAR NAME="totalfreight" --></th>
<th><!-- TMPL_VAR NAME="totalquantity" --></th>
<th><!-- TMPL_VAR NAME="tototal" --></th>
</tr>
<tr>
<td colspan="5">
<b>HELP</b>
<p>The total at the bottom of the page should be within a few cents of the total for the invoice.</p>
</td>
<td colspan="2"><b>GST</b></td>
<td><!-- TMPL_VAR NAME="gst" --></td>
</tr>
<tr>
<td colspan="5">&nbsp;</td>
<td colspan="2"><b>TOTAL</b></td>
<td><!-- TMPL_VAR NAME="grandtot" --></td>
</tr>
</table>
</form>
</div>
<div id="acqui_recieve_search">
<h2>Add a book to the receipt</h2>
<form action="/cgi-bin/koha/acqui/orderreceive.pl">
<input type="hidden" name="supplierid" value="<!-- TMPL_VAR NAME="supplierid" -->" />
<input type="hidden" name="gst" value="<!-- TMPL_VAR NAME="gst" -->" />
<input type="hidden" name="freight" value="<!-- TMPL_VAR NAME="freight" -->" />
<input type="hidden" name="invoice" value="<!-- TMPL_VAR NAME="invoice" -->" />
<p><label for="recieve">Search ISBN or Title:</label> <input type="text" size="25" id="recieve" name="recieve" /></p>
</form>
<table> <caption>or select a pending orders</caption>
<tr>
<th>BASKET</th>
<th>Summary</th>
<th>Order qty</th>
<th>Order cost</th>
<th>Already Recieved </th>
<th>Recieved cost</th>
</tr>
<!-- TMPL_LOOP NAME="loop_orders" -->
<tr>
<td><a href="/cgi-bin/koha/acqui/basket.pl?basketno=<!-- TMPL_VAR NAME="basketno" -->"><!-- TMPL_VAR NAME="basketno" --></a></td>
<td>
<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->"><!-- TMPL_VAR NAME="title" --></a>
<!-- TMPL_VAR NAME="title" --></a>
<!-- TMPL_IF NAME="isbn" --><br />ISBN: <!-- TMPL_VAR NAME="isbn" --><!--/TMPL_IF-->
<!-- TMPL_IF NAME="author" --><br />author :<!-- TMPL_VAR NAME="author" --><!--/TMPL_IF-->
<!-- TMPL_IF NAME="publishercode" --><br />Publisher :<!-- TMPL_VAR NAME="publishercode" --><!--/TMPL_IF-->
</td>
<td><!-- TMPL_VAR NAME="quantity" --></td>
<td><!-- TMPL_VAR NAME="ecost" --></td>
<td><!-- TMPL_IF name="quantityreceived" -->
<!-- TMPL_VAR NAME="quantityreceived" --> <a href="orderreceive.pl?recieve=<!-- TMPL_VAR NAME="ordernumber" -->&amp;biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&amp;daterecieved=<!-- TMPL_VAR NAME="datereceived" -->&amp;invoice=<!-- TMPL_VAR NAME="invoice" -->&amp;gst=<!-- TMPL_VAR NAME="gst" -->&amp;freight=<!-- TMPL_VAR NAME="freight" -->&amp;supplierid=<!-- TMPL_VAR NAME="supplierid" -->">More</a>
<!-- TMPL_ELSE -->
<a href="orderreceive.pl?recieve=<!-- TMPL_VAR NAME="ordernumber" -->&amp;biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&amp;daterecieved=<!-- TMPL_VAR NAME="datereceived" -->&amp;invoice=<!-- TMPL_VAR NAME="invoice" -->&amp;gst=<!-- TMPL_VAR NAME="gst" -->&amp;freight=<!-- TMPL_VAR NAME="freight" -->&amp;supplierid=<!-- TMPL_VAR NAME="supplierid" -->">Recieve</a>
<!-- /TMPL_IF -->
</td>
<td><!-- TMPL_IF EXPR="unitprice ne '0.00'" --><!-- TMPL_VAR NAME="unitprice" --><!-- /TMPL_IF --></td>
</tr>
<!-- /TMPL_LOOP -->
<tr>
<th colspan="2">TOTAL</th>
<th><!-- TMPL_VAR NAME="totalPquantity" --></th>
<th><!-- TMPL_VAR NAME="totalPecost" --></th>
<th><!-- TMPL_VAR NAME="quantityreceived" --></th>
<th><!-- TMPL_VAR NAME="totalPunitprice" --></th>
</tr>
</table>
</div>
</div>
</div>
<div class="yui-b">
<!-- TMPL_INCLUDE NAME="acquisitions-menu.inc" -->
</div>
</div>
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->