[% USE raw %] [% USE Asset %] [% USE Koha %] [% USE Branches %] [% USE Price %] [% SET footerjs = 1 %] [% PROCESS 'payments.inc' %] [% PROCESS 'accounts.inc' %] [% INCLUDE 'doc-head-open.inc' %] [% BLOCK cash_register_required %]

You must have at least one cash register associated with the library before you can record payments.

[% IF ( CAN_user_parameters_manage_cash_registers ) %]
[% END %]
[% END %] Koha › Patrons › [% IF type == 'WRITEOFF' %] Write off an amount for [% patron.firstname | html %] [% patron.surname | html %] [% ELSE %] Collect fine payment for [% patron.firstname | html %] [% patron.surname | html %] [% END %] [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'header.inc' %] [% INCLUDE 'patron-search.inc' %]
[% INCLUDE 'members-toolbar.inc' borrowernumber=patron.borrowernumber %]
[% 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 ( error_registers ) %] [% PROCESS 'cash_register_required' %] [% ELSE %]
Pay an individual fine [% line.debit_type_code = debit_type_code %]
Description Account type Amount Amount outstanding
Total amount payable:[% amountoutstanding | format('%.2f') %]
[% individual_description | html %] [% PROCESS account_type_description account=line %] [% amount | format('%.2f') %] [% amountoutstanding | format('%.2f') %]
  1. 0.00
  2. [% PROCESS account_payment_types %] [% IF Koha.Preference('UseCashRegisters') %]
  3. [% END %]
[% END %] [% ELSIF ( writeoff_individual ) %]
Write off an individual fine [% line.debit_type_code = debit_type_code %]
Description Account type Amount Amount outstanding
Total amount outstanding:[% amountoutstanding | format('%.2f') %]
[% individual_description | html %][% PROCESS account_type_description account=line %] [% amount | format('%.2f') %] [% amountoutstanding | format('%.2f') %]
[% ELSE %] [% IF ( error_registers && type != 'writeoff' ) %] [% PROCESS 'cash_register_required' %] [% ELSE %] [% IF selected_accts %] [% END %]
[% IF ( selected_accts ) %] [% 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 [% END %]
  1. Total amount outstanding: [% total | format('%.2f') %]
  2. [% IF type == 'WRITEOFF' %] [% ELSE %] [% END %]
  3. [% IF type != 'WRITEOFF' %]
  4. 0.00
  5. [% PROCESS account_payment_types %] [% IF Koha.Preference('UseCashRegisters') %]
  6. [% END %] [% END %]
[% END %] [% END %]
[% MACRO jsinclude BLOCK %] [% INCLUDE 'str/members-menu.inc' %] [% Asset.js("js/members-menu.js") | $raw %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]