From 88d15ab082cbb1470cdcb583e4e9e14b48d2c36b Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Fri, 2 Oct 2020 16:09:54 +0100 Subject: [PATCH] [20.05.x] 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 --- 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.20.1