d5a9eea519
Patch removes template directives from within HTML tags from - acquisitions > new vendor / modify vendor / vendor details - acquisitions > late orders - acquisitons > vendor x > basket groups Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
116 lines
4.1 KiB
Text
116 lines
4.1 KiB
Text
[% INCLUDE 'doc-head-open.inc' %]
|
|
<title>Koha › Acquisitions › Late orders</title>
|
|
[% INCLUDE 'doc-head-close.inc' %]
|
|
</head>
|
|
<body>
|
|
[% INCLUDE 'header.inc' %]
|
|
[% INCLUDE '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="lateorders.pl">Late orders</a></div>
|
|
|
|
<div id="doc3" class="yui-t2">
|
|
|
|
<div id="bd">
|
|
<div id="yui-main">
|
|
<div class="yui-b">
|
|
|
|
<h1>[% IF ( Supplier ) %][% Supplier %] : [% END %]Late orders</h1>
|
|
<div id="acqui_lateorders">
|
|
|
|
[% IF ( lateorders ) %]
|
|
<form action="lateorders.pl" name="claim" method="post">
|
|
<input type="hidden" name="op" value="send_alert" />
|
|
[% IF ( letters ) %]
|
|
<p><label for="letter_code">Claim using notice: </label><select name="letter_code" id="letter_code">
|
|
[% FOREACH letter IN letters %]
|
|
<option value="[% letter.code %]">[% letter.name %]</option>
|
|
[% END %]
|
|
</select>
|
|
</p>
|
|
[% END %]
|
|
<table>
|
|
<tr>
|
|
<th>Order Date</th>
|
|
<th>Vendor</th>
|
|
<th>Information</th>
|
|
<th>Total cost</th>
|
|
<th>Basket</th>
|
|
<th> </th>
|
|
</tr>
|
|
[% FOREACH lateorder IN lateorders %]
|
|
[% UNLESS ( loop.odd ) %]<tr class="highlight">
|
|
[% ELSE %]<tr>[% END %]
|
|
<td>
|
|
[% lateorder.orderdate %]
|
|
([% lateorder.latesince %] days)
|
|
</td>
|
|
<td>
|
|
[% lateorder.supplier %]
|
|
</td>
|
|
<td>
|
|
<b>[% lateorder.title |html %]</b>
|
|
[% IF ( lateorder.author ) %]<br/><i>Author:</i> [% lateorder.author %][% END %]
|
|
[% IF ( lateorder.publisher ) %]
|
|
<br/><i>Published by:</i> [% lateorder.publisher %]
|
|
[% IF ( lateorder.publicationyear ) %]
|
|
<i> in </i>[% lateorder.publicationyear %]
|
|
[% END %]
|
|
[% END %]
|
|
</td>
|
|
<td>
|
|
[% lateorder.unitpricesupplier %]x[% lateorder.quantity %] =
|
|
[% lateorder.subtotal %]
|
|
<p title="budget">[% lateorder.budget %]</p>
|
|
</td>
|
|
<td>
|
|
<p><a href="basket.pl?basketno=[% lateorder.basketno %]" title="basket">
|
|
[% lateorder.basketno %]
|
|
</a>
|
|
</p>
|
|
<p title="branch">[% lateorder.branch %]</p>
|
|
</td>
|
|
<td>
|
|
<input type="checkbox" name="claim_for" value="[% lateorder.ordernumber %]" />
|
|
</td>
|
|
</tr>
|
|
[% END %]
|
|
<tr>
|
|
<th>Total</th>
|
|
<th colspan="2"> </th>
|
|
<th>[% total %]</th>
|
|
<th> </th>
|
|
<td>
|
|
<input type="submit" value="Claim Order" />
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
[% ELSE %]<p>There are no late orders.</p>
|
|
[% END %]
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="yui-b">
|
|
<form action="lateorders.pl" method="get">
|
|
<fieldset class="brief">
|
|
<h4>Filter Results:</h4>
|
|
[% FOREACH ERROR_LOO IN ERROR_LOOP %]
|
|
[% IF ( ERROR_LOO.delay_digits ) %]<p class="error">The number of days ([% ERROR_LOO.bad_delay %]) must be a number between 0 and 999.</p>[% END %]
|
|
[% END %]
|
|
<ol><li><label for="delay">Order date:</label><input size="3" maxlength="3" id="delay" type="text" name="delay" value="[% delay %]" /> days ago</li>
|
|
<li><label for="supplierid">Vendor:</label>
|
|
<select id="supplierid" size="1" tabindex="" name="supplierid">
|
|
<option value=""/>
|
|
[% FOREACH SUPPLIER_LOO IN SUPPLIER_LOOP %]
|
|
[% IF ( SUPPLIER_LOO.selected ) %]<option value="[% SUPPLIER_LOO.id %]" selected="selected">[% SUPPLIER_LOO.name %]</option>
|
|
[% ELSE %]<option value="[% SUPPLIER_LOO.id %]">[% SUPPLIER_LOO.name %]</option>[% END %]
|
|
[% END %]
|
|
</select>
|
|
</ol>
|
|
<fieldset class="action"><input type="submit" value="filter" /></fieldset>
|
|
</fieldset>
|
|
</form>
|
|
[% INCLUDE 'acquisitions-menu.inc' %]
|
|
</div>
|
|
</div>
|
|
[% INCLUDE 'intranet-bottom.inc' %]
|