Merge remote-tracking branch 'origin/new/bug_7016'
[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 [% INCLUDE 'doc-head-close.inc' %]
5 </head>
6 <body id="acq_ordered" class="acq">
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; Ordered - [% fund_code %]</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>Fund: [% fund_code %]</h1>
19 <h2>Ordered</h2>
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> Vendor </th>
27         <th> Itemtype </th>
28     <th> Left on order </th>
29         <th> Estimated cost per unit </th>
30     <th> Date ordered </th>
31         <th> Subtotal </th>
32     </tr>
33     </thead>
34
35 [% FOREACH order IN ordered %]
36     [% IF loop.odd %]
37         <tr class="highlight">
38     [% ELSE %]
39         <tr>
40     [% END %]
41         <td class="cell">
42             [% order.title %]
43         </td>
44         <td class="cell">
45         [% IF ( CAN_user_acquisition_order_manage ) %]
46             <a href="/cgi-bin/koha/acqui/neworderempty.pl?ordernumber=[% order.ordernumber %]&amp;booksellerid=[% order.booksellerid %]&amp;basketno=[% order.basketno %]">[% order.ordernumber %]</a>
47         [% ELSE %]
48             [% order.ordernumber %]
49         [% END %]
50         </td>
51         <td class="cell">
52             <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% order.booksellerid %]">[% order.booksellerid %]</a>
53         </td>
54         <td class="cell">
55             [% order.itype %]
56         </td>
57         <td class="cell">
58             [% order.left %]
59         </td>
60         <td class="cell" align="right">
61             [% order.ecost %]
62         </td>
63         <td class="cell" align="right">
64             [% order.entrydate | $KohaDates %]
65         </td>
66         <td class="cell" align="right">
67             [% order.subtotal %]
68         </td>
69     </tr>
70 [% END %]
71
72     <tfoot>
73     <tr>
74         <td> Total </td>
75         <td> </td>
76         <td> </td>
77         <td> </td>
78         <td> </td>
79         <td> </td>
80         <td> </td>
81         <td align="right">
82             [% total %]
83         </td>
84     </tr>
85     </tfoot>
86
87 </table>
88
89 </div>
90 </div>
91 <div class="yui-b">
92 [% INCLUDE 'acquisitions-menu.inc' %]
93 </div>
94 </div>
95 [% INCLUDE 'intranet-bottom.inc' %]