From 5453f0f4fe364a581b5bafc16ee124d2c9260604 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Fri, 5 Feb 2021 11:06:25 +0000 Subject: [PATCH] Bug 27289: (follow-up) Update payment type too. The payment type field is also required when using cash registers, this patch updates the formatting to work as expected in that case too. Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart (cherry picked from commit 4904abf1c323c6d1c4d41108e3e2eb283f008676) Signed-off-by: Fridolin Somers --- .../prog/en/includes/payments.inc | 26 ++++++++++++------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/payments.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/payments.inc index 8fa9b1d691..b1b57979ad 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/payments.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/payments.inc @@ -7,17 +7,23 @@ [% END %] [% IF payment_types.size > 0 %]
  • - [% IF Koha.Preference('UseCashRegisters') %] - - - [% END %] - [% FOREACH pt IN payment_types %] - - [% END %] - + + + Required + [%- ELSE -%] + + + [%- END -%]
  • [% END %] [%- END -%] -- 2.39.5