From 6030501a748d4390a899734204da3e8e4ccbd6da Mon Sep 17 00:00:00 2001 From: Aleisha Date: Tue, 26 Apr 2016 01:15:47 +0000 Subject: [PATCH] Bug 16253: Changing 'delete order' to 'cancel order' To test: 1) Go to Acqui -> do a vendor search and view an open basket 2) Confirm last column heading says cancel instead of delete 3) Confirm link to cancel order says cancel instead of delete 4) If can't delete record, confirm reasons say cancel order instead of delete 5) Click the vendor name, then Baskets tab, then Receive Shipment 6) Fill vendor invoice field and click next 7) If there are any pending orders, confirm that all instances of 'delete order' now say cancel Sponsored-by: Catalyst IT Signed-off-by: Mirko Tietgen Signed-off-by: Katrin Fischer Signed-off-by: Kyle M Hall (cherry picked from commit 61d670795fe89aca2d244668c51b1b75145bb5a5) Signed-off-by: Julian Maurice --- .../intranet-tmpl/prog/en/modules/acqui/basket.tt | 10 +++++----- .../intranet-tmpl/prog/en/modules/acqui/parcel.tt | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt index f419f25c1a..6daf6838cd 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt @@ -396,7 +396,7 @@ [% IF ( active ) %] [% UNLESS ( closedate ) %] Modify - Delete + Cancel order [% END %] [% END %] @@ -521,14 +521,14 @@ [% IF ( books_loo.left_holds_on_order ) %] - Can't delete order
+ Can't cancel order
[% ELSE %] - Delete order
+ Cancel order
[% END %] [% IF ( books_loo.can_del_bib ) %] - Delete order and catalog record
+ Cancel order and delete catalog record
[% ELSE %] - Can't delete order and catalog record
+ Can't cancel order and delete catalog record
[% END %] [% IF ( books_loo.left_item ) %] [% books_loo.items %] item(s) left
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt index f705694b6f..18be9012b4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt @@ -287,14 +287,14 @@ [% IF ( loop_order.left_holds_on_order ) %] - Can't delete order
+ Can't cancel order
[% ELSE %] - Delete order
+ Cancel order
[% END %] [% IF ( loop_order.can_del_bib ) %] - Delete order and catalog record
+ Cancel order and catalog record
[% ELSE %] - Can't delete order and catalog record
+ Can't cancel order and delete catalog record
[% END %] [% IF ( loop_order.left_item ) %] [% loop_order.items %] item(s) left
-- 2.39.5