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