50490f219e
translating was impossible in the 2 contexts Signed-off-by: Joshua Ferraro <jmf@liblime.com>
165 lines
8.7 KiB
Cheetah
165 lines
8.7 KiB
Cheetah
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
|
|
<title>Koha › Acquisitions › <!-- TMPL_UNLESS name="basketno" -->New <!-- /TMPL_UNLESS -->Shopping Basket <!-- TMPL_IF NAME="basketno" -->(<!-- TMPL_VAR NAME="basketno" -->)<!-- /TMPL_IF --> for <!-- TMPL_VAR NAME="name" --></title>
|
|
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
|
|
<!-- TMPL_UNLESS name="closedate" -->
|
|
<script type="text/javascript">
|
|
//<![CDATA[
|
|
function confirm_close() {
|
|
var is_confirmed = confirm('Are you sure you want to close this basket?');
|
|
if (is_confirmed) {
|
|
window.location = "/cgi-bin/koha/acqui/booksellers.pl?op=close&basketno=<!-- TMPL_VAR NAME="basketno" -->&supplier=<!-- TMPL_VAR name="booksellerid" -->";
|
|
}
|
|
}
|
|
//]]>
|
|
</script>
|
|
<!-- /TMPL_UNLESS -->
|
|
</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="booksellerid" -->"><!-- TMPL_VAR NAME="name" --></a> › <!-- TMPL_UNLESS name="basketno" -->New <!-- /TMPL_UNLESS -->Shopping Basket <!-- TMPL_IF NAME="basketno" -->(<!-- TMPL_VAR NAME="basketno" -->)<!-- /TMPL_IF --> for <!-- TMPL_VAR NAME="name" --></div>
|
|
|
|
<div id="doc3" class="yui-t2">
|
|
|
|
<div id="bd">
|
|
<div id="yui-main">
|
|
<div class="yui-b">
|
|
|
|
<h1><!-- TMPL_UNLESS name="basketno" -->New <!-- /TMPL_UNLESS -->Shopping Basket <!-- TMPL_VAR NAME="basketno" --> for <a href="supplier.pl?supplierid=<!-- TMPL_VAR NAME="booksellerid" -->"><!-- TMPL_VAR NAME="name" --></a></h1>
|
|
|
|
<!-- TMPL_IF NAME="basketno" --><div id="acqui_basket_summary">
|
|
<h2>Basket Details</h2>
|
|
<p>Basket number: <!-- TMPL_VAR NAME="basketno" --></p>
|
|
<p>Managed by: <!-- TMPL_VAR NAME="authorisedbyname" --></p>
|
|
<p>Open on: <!-- TMPL_VAR NAME="creationdate" --></p>
|
|
<p>For supplier ID: <!-- TMPL_VAR NAME="booksellerid" --></p>
|
|
<p>Invoice number: <!-- TMPL_VAR NAME="booksellerinvoicenumber" --></p>
|
|
<!-- TMPL_IF name="closedate" --><p>Closed On: <!-- TMPL_VAR name="closedate" --></p><!-- /TMPL_IF -->
|
|
<!-- TMPL_UNLESS name="closedate" -->
|
|
<p><a href="javascript:confirm_close()" class="button">Close this basket</a></p>
|
|
<!-- /TMPL_UNLESS -->
|
|
</div><!-- /TMPL_IF -->
|
|
|
|
<div id="acqui_basket_content">
|
|
<h2>Order Details</h2>
|
|
<!-- TMPL_IF name="books_loop" -->
|
|
<table>
|
|
<tr>
|
|
<th>Order</th>
|
|
<th><a href="basket.pl?basketno=<!-- TMPL_VAR name="basketno" -->&order=biblioitems.publishercode">Publisher</a></th>
|
|
<th>Title</th>
|
|
<th>RRP</th>
|
|
<th>Est.</th>
|
|
<th>Qty.</th>
|
|
<th>Total</th>
|
|
<th>
|
|
<a href="basket.pl?basketno=<!-- TMPL_VAR name="basketno" -->&order=aqorderbreakdown.bookfundid,biblioitems.publishercode">Fund</a>
|
|
</th>
|
|
<!-- TMPL_IF name="active" -->
|
|
<!-- TMPL_UNLESS name="closedate" -->
|
|
<th>Modify</th>
|
|
<th>Delete</th>
|
|
<!-- /TMPL_UNLESS -->
|
|
<!-- /TMPL_IF -->
|
|
</tr>
|
|
<!-- TMPL_LOOP NAME="books_loop" -->
|
|
<!-- TMPL_IF NAME="highlight" --><tr class="highlight"><!-- TMPL_ELSE --><tr><!-- /TMPL_IF -->
|
|
<td><!-- TMPL_VAR NAME="ordernumber" --></td>
|
|
<td><!-- TMPL_VAR NAME="publishercode" --></td>
|
|
<!-- TMPL_IF name="closedate" -->
|
|
<td><p>
|
|
<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->"><!-- TMPL_VAR NAME="title" --></a><br />
|
|
<!-- TMPL_VAR NAME="author" -->
|
|
<!-- TMPL_IF name="isbn"-->- <!-- TMPL_VAR name="isbn" --><!-- /TMPL_IF -->
|
|
<!-- TMPL_IF name="notes" --></p><p><!--TMPL_VAR name="notes" --><!-- /TMPL_IF -->
|
|
</p>
|
|
</td>
|
|
<!-- TMPL_ELSE -->
|
|
<td>
|
|
<p>
|
|
<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->"><!-- TMPL_VAR NAME="title" --></a></p>
|
|
<p><!-- TMPL_VAR NAME="author" -->
|
|
<!-- TMPL_IF name="isbn"-->- <!-- TMPL_VAR name="isbn" --><!-- /TMPL_IF -->
|
|
<!-- TMPL_IF name="notes" --></p><p><!--TMPL_VAR name="notes" --><!-- /TMPL_IF -->
|
|
</p>
|
|
</td>
|
|
<!-- /TMPL_IF -->
|
|
<td class="number"><!-- TMPL_VAR NAME="rrp" --></td>
|
|
<td class="number"><!-- TMPL_VAR NAME="ecost" --></td>
|
|
<td class="number"><!-- TMPL_VAR NAME="quantity" --></td>
|
|
<td class="number"><!-- TMPL_VAR NAME="line_total" --></td>
|
|
<td><!-- TMPL_VAR NAME="bookfundname" --></td>
|
|
<!-- TMPL_IF name="active" -->
|
|
<!-- TMPL_UNLESS name="closedate" -->
|
|
<td>
|
|
<a href="neworderempty.pl?ordnum=<!-- TMPL_VAR NAME="ordernumber" -->&booksellerid=<!-- TMPL_VAR NAME="booksellerid" -->&basketno=<!-- TMPL_VAR NAME="basketno" -->">Modify</a>
|
|
</td>
|
|
<td>
|
|
<a href="addorder.pl?ordnum=<!-- TMPL_VAR NAME="ordernumber" -->&basketno=<!-- TMPL_VAR NAME="basketno" -->&quantity=0&biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">Delete</a>
|
|
</td>
|
|
<!-- /TMPL_UNLESS -->
|
|
<!-- /TMPL_IF -->
|
|
</tr>
|
|
<!-- /TMPL_LOOP -->
|
|
<tr>
|
|
<td colspan="2" rowspan="3">
|
|
<input type="hidden" name="number" value="<!-- TMPL_VAR NAME="count" -->" />
|
|
<input type="hidden" name="basketno" value="<!-- TMPL_VAR NAME="basketno" -->" />
|
|
</td>
|
|
<th>SubTotal</th>
|
|
<th><!-- TMPL_VAR NAME="sub_total_est" --></th>
|
|
<th><!-- TMPL_VAR NAME="sub_total" --></th>
|
|
<th><!-- TMPL_VAR name="qty_total" --></th>
|
|
<!-- TMPL_IF name="active" -->
|
|
<!-- TMPL_IF name="closedate" -->
|
|
<td colspan="2" rowspan="3"> </td>
|
|
<!-- TMPL_ELSE -->
|
|
<td colspan="3" rowspan="3"> </td>
|
|
<!-- /TMPL_IF -->
|
|
<!-- /TMPL_IF -->
|
|
|
|
</tr>
|
|
<!-- TMPL_IF NAME="GST" --> <tr>
|
|
<th>GST</th>
|
|
<th><!-- TMPL_VAR NAME="gist_est" --></th>
|
|
<th><!-- TMPL_VAR NAME="gist" --></th>
|
|
<th> </th>
|
|
</tr><!-- /TMPL_IF -->
|
|
<tr>
|
|
<th>TOTAL (<!-- TMPL_VAR NAME="currency" -->)</th>
|
|
<th><!-- TMPL_VAR NAME="grand_total_est" --></th>
|
|
<th><!-- TMPL_VAR NAME="grand_total" --></th>
|
|
<th> </th>
|
|
</tr>
|
|
</table>
|
|
<!-- TMPL_ELSE -->
|
|
<table>
|
|
<tr><td>Basket empty</td></tr>
|
|
</table>
|
|
<!-- /TMPL_IF -->
|
|
</div>
|
|
|
|
<!-- TMPL_UNLESS name="closedate" -->
|
|
<div id="acqui_basket_add">
|
|
<h2>Add To Order</h2>
|
|
<form action="/cgi-bin/koha/acqui/neworderbiblio.pl" method="post">
|
|
<input type="hidden" name="booksellerid" value="<!-- TMPL_VAR NAME="booksellerid" -->" />
|
|
<input type="hidden" name="basketno" value="<!-- TMPL_VAR NAME="basketno" -->" />
|
|
<ul><li><label for="q">From an existing record: </label><input id="q" type="text" size="25" name="q" />
|
|
<input type="submit" value="Search" /></li>
|
|
<li><a href="/cgi-bin/koha/acqui/newordersuggestion.pl?booksellerid=<!-- TMPL_VAR NAME="booksellerid" -->&basketno=<!-- TMPL_VAR NAME="basketno" -->">From a Suggestion</a></li>
|
|
<li><a href="/cgi-bin/koha/acqui/neworderempty.pl?booksellerid=<!-- TMPL_VAR NAME="booksellerid" -->&basketno=<!-- TMPL_VAR NAME="basketno" -->">From a new (empty) record</a></li>
|
|
</ul>
|
|
</form>
|
|
</div>
|
|
<!-- /TMPL_UNLESS -->
|
|
|
|
</div>
|
|
</div>
|
|
<div class="yui-b">
|
|
<!-- TMPL_INCLUDE NAME="acquisitions-menu.inc" -->
|
|
</div>
|
|
</div>
|
|
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
|