From 52adb8a35477ff212ca3dad5ef03bce61434cfe5 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: Andrew Fuerste-Henry --- 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 4f54f8a207..f8ef341bf8 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt @@ -28,7 +28,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 @@ -204,7 +204,7 @@ [% ELSE %] - [% IF ( error_registers && type != 'writeoff' ) %] + [% IF ( error_registers && type != 'WRITEOFF' ) %]
You must have at least one cash register associated with this branch before you can record payments.
-- 2.39.5