Bug 8942: Translation process breaks javascript
[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 [% IF (dateformat == 'metric') %]
12     dt_add_type_uk_date();
13 [% END %]
14  $(document).ready(function() {
15     var spent = $("#spent").dataTable($.extend(true, {}, dataTablesDefaults, {
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 cellspacing="0" cellpadding="0" border="0" id="spent" class="collapse">
38     <thead>
39     <tr>
40         <th> Title </th>
41         <th> Order </th>
42         <th> Vendor </th>
43         <th> Itemtype </th>
44     <th> Left on order </th>
45         <th> Estimated cost per unit </th>
46     <th> 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             [% order.itype %]
72         </td>
73         <td class="cell">
74             [% order.left %]
75         </td>
76         <td class="cell" align="right">
77             [% order.ecost %]
78         </td>
79         <td class="cell" align="right">
80             [% order.entrydate | $KohaDates %]
81         </td>
82         <td class="cell" align="right">
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 align="right">
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' %]