[% IF ( error_over ) %]
You must pay a value less than or equal to [% total_due | format('%.2f') %].
[% END %]
[% IF ( error_under ) %]
You must collect a value greater than or equal to [% total_paid | format('%.2f') %].
[% END %]
[% IF ( pay_individual ) %]
[% IF Koha.Preference('UseCashRegisters') && ( registers.size == 0 ) %]
[% PROCESS 'cash_register_required' %]
[% ELSE %]
[% END %]
[% ELSIF ( writeoff_individual ) %]
[% ELSE %]
[% IF Koha.Preference('UseCashRegisters') && ( registers.size == 0 ) && ( type != 'WRITEOFF' ) %]
[% PROCESS 'cash_register_required' %]
[% ELSE %]
[% IF selected_accts %]
[% END %]
[% END %]
[% END %]