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