[% SET zero_regex = "^0{1,}\.?0{1,}[^1-9]" %] [%# 0 or 0.0 or 0.00 or 00 or 00.0 or 00.00 or 0.000 ... %]
[%# FIXME: use of a regexp is not ideal; bugs 9410 and 10929 suggest better way of handling this %]
[% books_loo.rrpgste %]
[% books_loo.ecostgste %]
[% books_loo.rrpgsti %]
[% books_loo.ecostgsti %]
[% books_loo.quantity %]
[% books_loo.totalgste %]
[% books_loo.totalgsti %]
[% books_loo.gstgsti %]
[% books_loo.gstvalue %]
[% books_loo.budget_name %]
[% IF ( active ) %]
[% UNLESS ( closedate ) %]
Modify
[% UNLESS (books_loo.order_received) %]
Transfer
[% END %]
[% IF ( books_loo.left_holds_on_order ) %]
Can't delete order
[% ELSE %]
Delete order
[% END %]
[% IF ( books_loo.can_del_bib ) %]
Delete order and catalog record
[% ELSE %]
Can't delete order and catalog record
[% END %]
[% IF ( books_loo.left_item ) %]
[% books_loo.items %] item(s) left
[% END %]
[% IF ( books_loo.left_biblio ) %]
[% books_loo.biblios %] order(s) left
[% END %]
[% IF ( books_loo.left_subscription ) %]
[% books_loo.subscriptions %] subscription(s) left
[% END %]
[% IF ( books_loo.left_holds ) %]
[% books_loo.holds %] hold(s) left
[% END %]
[% END %]
[% END %]
[% END %]
[% END %]
[% IF ( listincgst ) %]** Vendor's listings already include tax.
[% END %]
[% IF (cancelledorders_loop) %]
Cancelled orders
Order
RRP tax exc.
ecost tax exc.
RRP tax inc.
ecost tax inc.
Qty.
Total tax exc. ([% currency %])
Total tax inc. ([% currency %])
GST %
GST
Fund
[% FOREACH order IN cancelledorders_loop %]
[% IF ( order.order_received ) %] (rcvd)[% END %]
[% IF (order.title) %]
[% order.title |html %] by [% order.author %]
[% ELSE %]
Deleted bibliographic record, can't find title
[% END %]
[% IF ( order.notes ) %] [% order.notes %][% END %]
[% IF ( order.isbn ) %] - [% order.isbn %][% END %]
[% IF ( order.issn ) %] - [% order.issn %][% END %]
[% IF ( order.publishercode ) %], [% order.publishercode %][% END %]
[% IF ( order.publicationyear ) %], [% order.publicationyear %][% END %]
[% IF ( books_loo.editionstatement ) %], [% books_loo.editionstatement %][% END %]