From b0c7aaf306b77baf99df9fa77b5397d16a954e27 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. --- 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.20.1