From 02b70129c94a0c77d4a3d6f81c88ac92c5a3561c Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 21 Jan 2015 09:56:42 +0100 Subject: [PATCH] Bug 13320: Fix "Tax inc." vs "Tax exc." The parcel page always displayes "Tax exc." even when values don't include taxes. Test plan: On the parcel page, verify that the string "Tax *" is correct. This appears in the already received order table. Signed-off-by: Chris Cormack Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 24e855a505..a244f5fe22 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt @@ -346,7 +346,11 @@ [% FOREACH key IN subtotal_for_funds.keys.sort %] - (Tax exc.) + [% IF invoiceincgst %] + (Tax inc.) + [% ELSE %] + (Tax exc.) + [% END %] Subtotal for [% funds.$key.budget_name %] [% subtotal_for_funds.$key.ecost | $Price %] [% subtotal_for_funds.$key.unitprice | $Price %] -- 2.39.5