Bug 8037: (follow-up) adds the note "GST exc." for subtotals by fund
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / acqui / ordered.tt
1 [% USE KohaDates %]
2 [% INCLUDE 'doc-head-open.inc' %]
3 <title>Koha &rsaquo; Acquisitions &rsaquo; Ordered</title>
4 <link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
5 [% INCLUDE 'doc-head-close.inc' %]
6 [% INCLUDE 'datatables.inc' %]
7 <script type="text/javascript">
8 //<![CDATA[
9 [% IF (dateformat == 'metric') %]
10     dt_add_type_uk_date();
11 [% END %]
12  $(document).ready(function() {
13     var spent = $("#spent").dataTable($.extend(true, {}, dataTablesDefaults, {
14         "sPaginationType": "four_button"
15     } ) );
16  });
17  //]]>
18 </script>
19 </head>
20 <body id="acq_ordered" class="acq">
21 [% INCLUDE 'header.inc' %]
22 [% INCLUDE 'acquisitions-search.inc' %]
23
24 <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; Ordered - [% fund_code %]</div>
25
26 <div id="doc3" class="yui-t2">
27
28 <div id="bd">
29     <div id="yui-main">
30         <div class="yui-b">
31
32 <h1>Fund: [% fund_code %]</h1>
33 <h2>Ordered</h2>
34
35 <table cellspacing="0" cellpadding="0" border="0" id="spent" class="collapse">
36     <thead>
37     <tr>
38         <th> Title </th>
39         <th> Order </th>
40         <th> Vendor </th>
41         <th> Itemtype </th>
42     <th> Left on order </th>
43         <th> Estimated cost per unit </th>
44     <th> Date ordered </th>
45         <th> Subtotal </th>
46     </tr>
47     </thead>
48     <tbody>
49 [% FOREACH order IN ordered %]
50     [% IF loop.odd %]
51         <tr class="highlight">
52     [% ELSE %]
53         <tr>
54     [% END %]
55         <td class="cell">
56             [% order.title %]
57         </td>
58         <td class="cell">
59         [% IF ( CAN_user_acquisition_order_manage ) %]
60             <a href="/cgi-bin/koha/acqui/neworderempty.pl?ordernumber=[% order.ordernumber %]&amp;booksellerid=[% order.booksellerid %]&amp;basketno=[% order.basketno %]">[% order.ordernumber %]</a>
61         [% ELSE %]
62             [% order.ordernumber %]
63         [% END %]
64         </td>
65         <td class="cell">
66             <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% order.booksellerid %]">[% order.booksellerid %]</a>
67         </td>
68         <td class="cell">
69             [% order.itype %]
70         </td>
71         <td class="cell">
72             [% order.left %]
73         </td>
74         <td class="cell" align="right">
75             [% order.ecost %]
76         </td>
77         <td class="cell" align="right">
78             [% order.entrydate | $KohaDates %]
79         </td>
80         <td class="cell" align="right">
81             [% order.subtotal %]
82         </td>
83     </tr>
84 [% END %]
85     </tbody>
86     <tfoot>
87     <tr>
88         <td> Total </td>
89         <td> </td>
90         <td> </td>
91         <td> </td>
92         <td> </td>
93         <td> </td>
94         <td> </td>
95         <td align="right">
96             [% total %]
97         </td>
98     </tr>
99     </tfoot>
100
101 </table>
102
103 </div>
104 </div>
105 <div class="yui-b">
106 [% INCLUDE 'acquisitions-menu.inc' %]
107 </div>
108 </div>
109 [% INCLUDE 'intranet-bottom.inc' %]