Bug 17669: Introduce new preference for purging temp uploads
[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="[% interface %]/[% theme %]/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     <tr>
53         <td class="cell">
54             <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% order.biblionumber %]">
55             [% order.title %]
56             </a>
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         [% ItemTypes.GetDescription( order.itype ) %]
70         </td>
71         <td class="cell">
72             [% order.left %]
73         </td>
74     <td class="data cell">
75             [% order.ecost %]
76         </td>
77     <td class="cell">
78         <span title="[% order.entrydate %]">[% order.entrydate | $KohaDates %]</span>
79         </td>
80     <td class="data cell">
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 class="data">
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' %]