From b6488159c8f3f9ba45e5ea5437ec409ef0f2f452 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 --- 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 24e855a..a244f5f 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.1.0