From f42736ffc4893af2244e50a55c88850266990449 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 21 Jan 2015 09:56:42 +0100 Subject: [PATCH] [PASSED QA] 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 --- 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 %] -- 1.9.1