From 9b9c174cd497b4290abcadfbf4cbf4920cebd03a Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 16 Dec 2024 14:33:13 +0100 Subject: [PATCH] Bug 38713: acqui/neworderempty.tt Signed-off-by: Phil Ringnalda Signed-off-by: Lucas Gass --- .../prog/en/modules/acqui/neworderempty.tt | 38 +++++++++---------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt index 72433c41ef6..5ce9f0271da 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt @@ -653,30 +653,30 @@ [% END %] +
  • [% IF ( gst_values ) %] -
  • - - + [% SET gst_found = 0 %] + [% FOREACH gst IN gst_values %] + [% IF ( gst.option == tax_rate ) %] + + [% SET gst_found = 1 %] + [% ELSE %] + + [% END %] + [% END %] - [% IF !gst_found %] - - [% END %] - + [% IF !gst_found %] + + [% END %] + - [% IF !gst_found %]Tax rate not defined in system preference TaxRates![% END %] + [% IF !gst_found %]Tax rate not defined in system preference TaxRates![% END %] [% ELSE %] - -
  • + [% END %] +
  • [% IF ( ordernumber ) %] -- 2.34.1