|
Lines 12-17
Link Here
|
| 12 |
10: { sorter: false } |
12 |
10: { sorter: false } |
| 13 |
} |
13 |
} |
| 14 |
}); |
14 |
}); |
|
|
15 |
$("#cancelledorderst").tablesorter(); |
| 15 |
}); |
16 |
}); |
| 16 |
function confirm_close() { |
17 |
function confirm_close() { |
| 17 |
var is_confirmed = confirm(_('Are you sure you want to close this basket?')); |
18 |
var is_confirmed = confirm(_('Are you sure you want to close this basket?')); |
|
Lines 221-233
Link Here
|
| 221 |
<th> </th> |
222 |
<th> </th> |
| 222 |
<th>[% qty_total %]</th> |
223 |
<th>[% qty_total %]</th> |
| 223 |
<th>[% total_est_gste %]</th> |
224 |
<th>[% total_est_gste %]</th> |
| 224 |
[% IF ( active ) %] |
225 |
[% IF ( active ) %] |
| 225 |
[% IF ( closedate ) %] |
226 |
[% IF ( closedate ) %] |
| 226 |
<td colspan="1" rowspan="3"> </td> |
227 |
<th colspan="1" rowspan="3"></th> |
| 227 |
[% ELSE %] |
228 |
[% ELSE %] |
| 228 |
<td colspan="3" rowspan="3"> </td> |
229 |
<th colspan="3" rowspan="3"></th> |
| 229 |
[% END %] |
230 |
[% END %] |
| 230 |
[% END %] |
231 |
[% END %] |
| 231 |
</tr> |
232 |
</tr> |
| 232 |
<tr> |
233 |
<tr> |
| 233 |
<th>Tax ([% gist_rate %])</th> |
234 |
<th>Tax ([% gist_rate %])</th> |
|
Lines 250-255
Link Here
|
| 250 |
<th> </th> |
251 |
<th> </th> |
| 251 |
<th>[% qty_total %]</th> |
252 |
<th>[% qty_total %]</th> |
| 252 |
<th>[% total_est_gsti %]</th> |
253 |
<th>[% total_est_gsti %]</th> |
|
|
254 |
[% IF ( active ) %] |
| 255 |
[% IF ( closedate ) %] |
| 256 |
<th colspan="1"></th> |
| 257 |
[% ELSE %] |
| 258 |
<th colspan="3"></th> |
| 259 |
[% END %] |
| 260 |
[% END %] |
| 253 |
</tr> |
261 |
</tr> |
| 254 |
[% END %] |
262 |
[% END %] |
| 255 |
</tfoot> |
263 |
</tfoot> |
|
Lines 314-319
Link Here
|
| 314 |
[% IF ( listincgst ) %]<small class="highlight">** Vendor's listings already include tax.</small> |
322 |
[% IF ( listincgst ) %]<small class="highlight">** Vendor's listings already include tax.</small> |
| 315 |
[% END %] |
323 |
[% END %] |
| 316 |
</div> |
324 |
</div> |
|
|
325 |
[% IF (cancelledorders_loop) %] |
| 326 |
<div id="cancelledorders"> |
| 327 |
<h2>Cancelled orders</h2> |
| 328 |
<table id="cancelledorderst"> |
| 329 |
<thead> |
| 330 |
<tr> |
| 331 |
<th>Order</th> |
| 332 |
<th>RRP</th> |
| 333 |
<th>Est.</th> |
| 334 |
<th>Qty.</th> |
| 335 |
<th>Total</th> |
| 336 |
<th>Fund</th> |
| 337 |
</tr> |
| 338 |
</thead> |
| 339 |
<tbody> |
| 340 |
[% FOREACH order IN cancelledorders_loop %] |
| 341 |
<tr style="color:grey"> |
| 342 |
<td> |
| 343 |
<p> |
| 344 |
[% IF ( order.order_received ) %] (rcvd)[% END %] |
| 345 |
[% IF (order.title) %] |
| 346 |
[% order.title |html %] by [% order.author %]<br /> |
| 347 |
[% ELSE %] |
| 348 |
<em>Deleted bibliographic record, can't find title</em><br /> |
| 349 |
[% END %] |
| 350 |
[% IF ( order.notes ) %] [% order.notes %][% END %] |
| 351 |
[% IF ( order.isbn ) %] - [% order.isbn %][% END %] |
| 352 |
[% IF ( order.issn ) %] - [% order.issn %][% END %] |
| 353 |
[% IF ( order.publishercode ) %], [% order.publishercode %][% END %] |
| 354 |
[% IF ( order.publicationyear ) %], [% order.publicationyear %][% END %] |
| 355 |
</p> |
| 356 |
</td> |
| 357 |
<td><p>[% order.rrp %]</p></td> |
| 358 |
<td><p>[% order.ecost %]</p></td> |
| 359 |
<td><p>[% order.quantity %]</p></td> |
| 360 |
<td><p>[% order.line_total %]</p></td> |
| 361 |
<td><p>[% order.budget_name %]</p></td> |
| 362 |
</tr> |
| 363 |
[% END %] |
| 364 |
</tbody> |
| 365 |
</table> |
| 366 |
</div> |
| 367 |
[% END %] |
| 317 |
<br /> |
368 |
<br /> |
| 318 |
[% UNLESS ( closedate ) %] |
369 |
[% UNLESS ( closedate ) %] |
| 319 |
[% INCLUDE 'acquisitions-add-to-basket.inc' %] |
370 |
[% INCLUDE 'acquisitions-add-to-basket.inc' %] |
| 320 |
- |
|
|