From f87f64c41f000860c72de74807c0f3c3f96a4366 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Fri, 2 Oct 2020 16:09:54 +0100 Subject: [PATCH] Bug 26536: WRITEOFF not writeoff There is inconsistency in variable case between the controller script and the template. This patch corrects those inconsistencies. Signed-off-by: Sally Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart --- koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt index 5b07842f26..4e4cbf7d87 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt @@ -41,7 +41,7 @@ [% ELSIF ( writeoff_individual ) %]Write off an individual fine [% ELSE %] [% IF ( selected_accts ) %] - [% IF type == 'writeoff' %]Write off an amount toward selected fines + [% IF type == 'WRITEOFF' %]Write off an amount toward selected fines [% ELSE %]Pay an amount toward selected fines [% END %] [% ELSE %]Pay an amount toward all fines @@ -225,7 +225,7 @@ [% ELSE %] - [% IF ( error_registers && type != 'writeoff' ) %] + [% IF ( error_registers && type != 'WRITEOFF' ) %] [% PROCESS 'cash_register_required' %] [% ELSE %] -- 2.39.5