@@ -, +, @@
has been received
- Create a basket with at least 2 orders
- Close basket
- Receive one of your orders at least
- Go back to the basket
- Reopen basket
- The cancel links should only show on the "not received" orders
---
.../intranet-tmpl/prog/en/modules/acqui/basket.tt | 44 +++++++++++-----------
1 file changed, 23 insertions(+), 21 deletions(-)
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt
@@ -558,27 +558,29 @@
[% END %]
- [% IF ( books_loo.left_holds_on_order ) %]
- Can't cancel order
- [% ELSE %]
- Cancel order
- [% END %]
- [% IF ( books_loo.can_del_bib ) %]
- Cancel order and delete catalog record
- [% ELSE %]
- Can't cancel order and delete catalog record
- [% END %]
- [% IF ( books_loo.left_item ) %]
- [% books_loo.items | html %] item(s) left
- [% END %]
- [% IF ( books_loo.left_biblio ) %]
- [% books_loo.biblios | html %] order(s) left
- [% END %]
- [% IF ( books_loo.left_subscription ) %]
- [% books_loo.subscriptions | html %] subscription(s) left
- [% END %]
- [% IF ( books_loo.left_holds ) %]
- [% books_loo.holds | html %] hold(s) left
+ [% IF ( books_loo.orderstatus != "complete") %]
+ [% IF ( books_loo.left_holds_on_order ) %]
+ Can't cancel order
+ [% ELSE %]
+ Cancel order
+ [% END %]
+ [% IF ( books_loo.can_del_bib ) %]
+ Cancel order and delete catalog record
+ [% ELSE %]
+ Can't cancel order and delete catalog record
+ [% END %]
+ [% IF ( books_loo.left_item ) %]
+ [% books_loo.items | html %] item(s) left
+ [% END %]
+ [% IF ( books_loo.left_biblio ) %]
+ [% books_loo.biblios | html %] order(s) left
+ [% END %]
+ [% IF ( books_loo.left_subscription ) %]
+ [% books_loo.subscriptions | html %] subscription(s) left
+ [% END %]
+ [% IF ( books_loo.left_holds ) %]
+ [% books_loo.holds | html %] hold(s) left
+ [% END %]
[% END %]
|
[% END %]
--