Bug 929 : Followup fixing date formatting
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / acqui / spent.tt
1 [% USE KohaDates %]
2 [% INCLUDE 'doc-head-open.inc' %]
3 <title>Koha &rsaquo; Acquisitions &rsaquo; Spent</title>
4 [% INCLUDE 'doc-head-close.inc' %]
5 </head>
6 <body>
7 [% INCLUDE 'header.inc' %]
8 [% INCLUDE 'acquisitions-search.inc' %]
9
10 <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; Spent [% fund %]</div>
11
12 <div id="doc3" class="yui-t2">
13
14 <div id="bd">
15     <div id="yui-main">
16         <div class="yui-b">
17
18 <h1>Bookfund [% fund %]</h1>
19 <h2>Spent</h2>
20
21
22 <table cellspacing="0" cellpadding="0" border="0" id="spent" class="collapse">
23     <thead>
24     <tr>
25         <th> Title </th>
26         <th> Order </th>
27         <th> Vendor </th>
28         <th> Invoice </th>
29         <th> Itemtype </th>
30         <th> Received </th>
31         <th> Unit Price </th>
32         <th> Freight per Item </th>
33         <th> Date Ordered </th>
34         <th> Date Received </th>
35         <th> Subtotal </th>
36     </tr>
37     </thead>
38
39 [% FOREACH order IN spent %]
40     [% IF loop.odd %]
41     <tr class="highlight">
42     [% ELSE %]
43     <tr>
44     [% END %]
45
46         <td class="cell">
47             [% order.title %]
48         </td>
49         <td class="cell">
50             <a href="/cgi-bin/koha/acqui/orderreceive.pl?ordernumber=[% order.ordernumber %]&biblio=[% order.biblionumber %]&invoice=[% order.booksellerinvoicenumber %]&supplierid=[% order.booksellerid %]&catview=yes">[% order.ordernumber %]</a>
51         </td>
52         <td class="cell">
53             <a href="/cgi-bin/koha/acqui/supplier.pl?supplierid=[% order.booksellerid %]">[% order.booksellerid %]</a>
54         </td>
55         <td class="cell">
56             <a href="/cgi-bin/koha/acqui/parcel.pl?invoice=[% order.booksellerinvoicenumber %]&supplierid=[% order.booksellerid %]&datereceived=[% order.datereceived %]">[% order.booksellerinvoicenumber %]</a>
57         </td>
58         <td class="cell">
59             [% order.itype %]
60         </td>
61         <td class="cell">
62             [% order.quantityreceived %]
63         </td>
64         <td class="cell" align="right">
65             [% order.unitprice %]
66         </td>
67         <td class="cell" align="right">
68             [% order.freight %]
69         </td>
70         <td class="cell">
71             [% order.entrydate | $KohaDates %]
72         </td>
73         <td class="cell">
74             [% order.datereceived | $KohaDates %]
75         </td>
76         <td class="cell" align="right">
77             [% order.subtotal %]
78         </td>
79     </tr>
80 [% END %]
81     <tfoot>
82         <tr valign="top">
83         <td> Total </td>
84         <td> </td>
85         <td> </td>
86         <td> </td>
87         <td> </td>
88         <td> </td>
89         <td> </td>
90         <td> </td>
91         <td> </td>
92         <td> </td>
93         <td align="right">
94                 [% total %]
95         </td>
96         </tr>
97     </tfoot>
98
99 </table>
100
101 </div>
102 </div>
103 <div class="yui-b">
104 [% INCLUDE 'acquisitions-menu.inc' %]
105 </div>
106 </div>
107 [% INCLUDE 'intranet-bottom.inc' %]