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: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
This commit is contained in:
Martin Renvoize 2020-10-02 16:09:54 +01:00 committed by Andrew Fuerste-Henry
parent ae2aeff7fc
commit 52adb8a354
1 changed files with 2 additions and 2 deletions

View File

@ -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 @@
</div>
</form>
[% ELSE %]
[% IF ( error_registers && type != 'writeoff' ) %]
[% IF ( error_registers && type != 'WRITEOFF' ) %]
<div id="error_message" class="dialog alert">
You must have at least one cash register associated with this branch before you can record payments.
</div>