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