ec41654340
==TEST PLAN== 1) Open Acquisitions and click on the ordered link under the fund 2) There will be no link on the title 3) Go back and click on thespent link 4) There will be no link on the title 5) Apply patch 6) Go to Acquisitions and click on ordered 7) There will now be a link that takes the user to the book catelog page 8) Go back and click on sent 9) There will be a link that takes the user to the book catelog Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Works like a charm! Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
109 lines
2.8 KiB
Text
109 lines
2.8 KiB
Text
[% USE KohaDates %]
|
|
[% USE ItemTypes %]
|
|
[% INCLUDE 'doc-head-open.inc' %]
|
|
<title>Koha › Acquisitions › Ordered</title>
|
|
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
|
|
[% INCLUDE 'doc-head-close.inc' %]
|
|
[% INCLUDE 'datatables.inc' %]
|
|
<script type="text/javascript">
|
|
//<![CDATA[
|
|
$(document).ready(function() {
|
|
$("#spent").dataTable($.extend(true, {}, dataTablesDefaults, {
|
|
"aoColumnDefs": [
|
|
{ "sType": "anti-the", "aTargets" : [ "anti-the" ] },
|
|
{ "sType": "title-string", "aTargets" : [ "title-string" ] }
|
|
],
|
|
"sPaginationType": "four_button"
|
|
} ) );
|
|
});
|
|
//]]>
|
|
</script>
|
|
</head>
|
|
<body id="acq_ordered" class="acq">
|
|
[% 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> › Ordered - [% fund_code %]</div>
|
|
|
|
<div id="doc3" class="yui-t2">
|
|
|
|
<div id="bd">
|
|
<div id="yui-main">
|
|
<div class="yui-b">
|
|
|
|
<h1>Fund: [% fund_code %]</h1>
|
|
<h2>Ordered</h2>
|
|
|
|
<table id="spent">
|
|
<thead>
|
|
<tr>
|
|
<th class="anti-the"> Title </th>
|
|
<th> Order </th>
|
|
<th> Vendor </th>
|
|
<th> Item type </th>
|
|
<th> Left on order </th>
|
|
<th> Estimated cost per unit </th>
|
|
<th class="title-string"> Date ordered </th>
|
|
<th> Subtotal </th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
[% FOREACH order IN ordered %]
|
|
<tr>
|
|
<td class="cell">
|
|
<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% order.biblionumber %]">
|
|
[% order.title %]
|
|
</a>
|
|
</td>
|
|
<td class="cell">
|
|
[% IF ( CAN_user_acquisition_order_manage ) %]
|
|
<a href="/cgi-bin/koha/acqui/neworderempty.pl?ordernumber=[% order.ordernumber %]&booksellerid=[% order.booksellerid %]&basketno=[% order.basketno %]">[% order.ordernumber %]</a>
|
|
[% ELSE %]
|
|
[% order.ordernumber %]
|
|
[% END %]
|
|
</td>
|
|
<td class="cell">
|
|
<a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% order.booksellerid %]">[% order.booksellerid %]</a>
|
|
</td>
|
|
<td class="cell">
|
|
[% ItemTypes.GetDescription( order.itype ) %]
|
|
</td>
|
|
<td class="cell">
|
|
[% order.left %]
|
|
</td>
|
|
<td class="data cell">
|
|
[% order.ecost %]
|
|
</td>
|
|
<td class="cell">
|
|
<span title="[% order.entrydate %]">[% order.entrydate | $KohaDates %]</span>
|
|
</td>
|
|
<td class="data cell">
|
|
[% order.subtotal %]
|
|
</td>
|
|
</tr>
|
|
[% END %]
|
|
</tbody>
|
|
<tfoot>
|
|
<tr>
|
|
<td> Total </td>
|
|
<td> </td>
|
|
<td> </td>
|
|
<td> </td>
|
|
<td> </td>
|
|
<td> </td>
|
|
<td> </td>
|
|
<td class="data">
|
|
[% total %]
|
|
</td>
|
|
</tr>
|
|
</tfoot>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
</div>
|
|
<div class="yui-b">
|
|
[% INCLUDE 'acquisitions-menu.inc' %]
|
|
</div>
|
|
</div>
|
|
[% INCLUDE 'intranet-bottom.inc' %]
|