|
Lines 49-104
Link Here
|
| 49 |
[% END %] |
49 |
[% END %] |
| 50 |
|
50 |
|
| 51 |
[% IF ( get_orders ) %] |
51 |
[% IF ( get_orders ) %] |
| 52 |
|
52 |
[% IF ( ordersloop ) %] |
| 53 |
[% IF ( ordersloop ) %]<table id="funds"> |
53 |
<div class="page-section"> |
| 54 |
<thead> |
54 |
<table id="funds"> |
| 55 |
<tr> |
55 |
<thead> |
| 56 |
<th>Fund</th> |
56 |
<tr> |
| 57 |
<th>Basket</th> |
57 |
<th>Fund</th> |
| 58 |
<th>Basket name</th> |
58 |
<th>Basket</th> |
| 59 |
<th>Basket by</th> |
59 |
<th>Basket name</th> |
| 60 |
<th>Title</th> |
60 |
<th>Basket by</th> |
| 61 |
<th>Currency</th> |
61 |
<th>Title</th> |
| 62 |
<th>List price</th> |
62 |
<th>Currency</th> |
| 63 |
<th>RRP</th> |
63 |
<th>List price</th> |
| 64 |
<th>Budgeted cost</th> |
64 |
<th>RRP</th> |
| 65 |
<th>Quantity</th> |
65 |
<th>Budgeted cost</th> |
| 66 |
<th>Total RRP</th> |
66 |
<th>Quantity</th> |
| 67 |
<th>Total cost</th> |
67 |
<th>Total RRP</th> |
| 68 |
<th>Entry date</th> |
68 |
<th>Total cost</th> |
| 69 |
<th>Date received</th> |
69 |
<th>Entry date</th> |
| 70 |
<th>Internal note</th> |
70 |
<th>Date received</th> |
| 71 |
<th>Vendor note</th> |
71 |
<th>Internal note</th> |
| 72 |
</tr> |
72 |
<th>Vendor note</th> |
| 73 |
</thead> |
73 |
</tr> |
| 74 |
<tbody> |
74 |
</thead> |
| 75 |
[% FOREACH ordersloo IN ordersloop %] |
75 |
<tbody> |
| 76 |
[% UNLESS ( loop.odd ) %]<tr class="highlight"> |
76 |
[% FOREACH ordersloo IN ordersloop %] |
| 77 |
[% ELSE %] <tr> |
77 |
[% UNLESS ( loop.odd ) %]<tr class="highlight"> |
| 78 |
[% END %] |
78 |
[% ELSE %] <tr> |
| 79 |
<td>[% ordersloo.budget_name | html %]</td> |
79 |
[% END %] |
| 80 |
<td><a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% ordersloo.basketno | uri %]"> [% ordersloo.basketno | html %]</a></td> |
80 |
<td>[% ordersloo.budget_name | html %]</td> |
| 81 |
<td>[% ordersloo.basketname | html %]</td> |
81 |
<td><a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% ordersloo.basketno | uri %]"> [% ordersloo.basketno | html %]</a></td> |
| 82 |
<td>[% ordersloo.authorisedbyname | html %]</td> |
82 |
<td>[% ordersloo.basketname | html %]</td> |
| 83 |
<td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% ordersloo.biblionumber | uri %]"> [% ordersloo.title | html %]</a></td> |
83 |
<td>[% ordersloo.authorisedbyname | html %]</td> |
| 84 |
<td>[% ordersloo.currency | html %]</td> |
84 |
<td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% ordersloo.biblionumber | uri %]"> [% ordersloo.title | html %]</a></td> |
| 85 |
<td>[% ordersloo.listprice | $Price %]</td> |
85 |
<td>[% ordersloo.currency | html %]</td> |
| 86 |
<td>[% ordersloo.rrp | $Price %]</td> |
86 |
<td>[% ordersloo.listprice | $Price %]</td> |
| 87 |
<td>[% ordersloo.ecost | $Price %]</td> |
87 |
<td>[% ordersloo.rrp | $Price %]</td> |
| 88 |
<td>[% ordersloo.quantity | html %]</td> |
88 |
<td>[% ordersloo.ecost | $Price %]</td> |
| 89 |
<td>[% ordersloo.total_rrp | $Price %]</td> |
89 |
<td>[% ordersloo.quantity | html %]</td> |
| 90 |
<td>[% ordersloo.total_ecost | $Price %]</td> |
90 |
<td>[% ordersloo.total_rrp | $Price %]</td> |
| 91 |
<td data-order="[% ordersloo.entrydate | html %]">[% ordersloo.entrydate | $KohaDates %]</td> |
91 |
<td>[% ordersloo.total_ecost | $Price %]</td> |
| 92 |
<td data-order="[% ordersloo.datereceived | html %]">[% ordersloo.datereceived | $KohaDates %]</td> |
92 |
<td data-order="[% ordersloo.entrydate | html %]">[% ordersloo.entrydate | $KohaDates %]</td> |
| 93 |
<td>[% ordersloo.order_internalnote | html %]</td> |
93 |
<td data-order="[% ordersloo.datereceived | html %]">[% ordersloo.datereceived | $KohaDates %]</td> |
| 94 |
<td>[% ordersloo.order_vendornote | html %]</td> |
94 |
<td>[% ordersloo.order_internalnote | html %]</td> |
| 95 |
</tr> |
95 |
<td>[% ordersloo.order_vendornote | html %]</td> |
| 96 |
[% END %] |
96 |
</tr> |
| 97 |
</tbody> |
97 |
[% END %] |
| 98 |
<tfoot><tr><th>TOTAL</th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th>[% total_quantity | html %]</th><th>[% total_rrp | $Price %]</th><th>[% total_ecost | $Price %]</th><th></th><th></th><th></th><th></th></tr></tfoot> |
98 |
</tbody> |
| 99 |
</table> |
99 |
<tfoot><tr><th>TOTAL</th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th></th><th>[% total_quantity | html %]</th><th>[% total_rrp | $Price %]</th><th>[% total_ecost | $Price %]</th><th></th><th></th><th></th><th></th></tr></tfoot> |
|
|
100 |
</table> |
| 101 |
</div> |
| 100 |
[% END %] |
102 |
[% END %] |
| 101 |
[% ELSE %] |
103 |
[% ELSE %] |
| 102 |
<form name="f" action="/cgi-bin/koha/reports/orders_by_fund.pl" method="post"> |
104 |
<form name="f" action="/cgi-bin/koha/reports/orders_by_fund.pl" method="post"> |
| 103 |
<fieldset class="rows"> |
105 |
<fieldset class="rows"> |
| 104 |
<legend>Filters</legend> |
106 |
<legend>Filters</legend> |
|
Lines 155-161
Link Here
|
| 155 |
<input type="hidden" name="get_orders" value="1" /></fieldset> |
157 |
<input type="hidden" name="get_orders" value="1" /></fieldset> |
| 156 |
</form> |
158 |
</form> |
| 157 |
|
159 |
|
| 158 |
[% END %] |
160 |
[% END %] |
| 159 |
|
161 |
|
| 160 |
</main> |
162 |
</main> |
| 161 |
</div> <!-- /.col-sm-10.col-sm-push-2 --> |
163 |
</div> <!-- /.col-sm-10.col-sm-push-2 --> |
| 162 |
- |
|
|