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 <sally.healey@cheshiresharedservices.gov.uk>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Martin Renvoize 2020-10-02 16:09:54 +01:00 committed by Jonathan Druart
parent d4a54196f5
commit f87f64c41f
1 changed files with 2 additions and 2 deletions

View File

@ -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 @@
</div>
</form>
[% ELSE %]
[% IF ( error_registers && type != 'writeoff' ) %]
[% IF ( error_registers && type != 'WRITEOFF' ) %]
[% PROCESS 'cash_register_required' %]
[% ELSE %]