Fines and charges

[% IF ( ACCOUNT_LINES ) %]
[% IF ENABLE_OPAC_PAYMENTS %][% END %] [% FOREACH ACCOUNT_LINE IN ACCOUNT_LINES %] 0 || ACCOUNT_LINE.amountoutstanding < 0 %]class="outstanding"[% END%]> [% IF ENABLE_OPAC_PAYMENTS %] [% END %] [% IF ( ACCOUNT_LINE.is_credit ) %] [% IF ( ACCOUNT_LINE.is_credit ) %] [% END %] [%- IF ENABLE_OPAC_PAYMENTS -%] [%- SET COLSPAN = 5 -%] [%- ELSE -%] [%- SET COLSPAN = 4 -%] [%- END -%] [% IF outstanding_credits.total_outstanding < 0 %] [% FOREACH outstanding_credit IN outstanding_credits %] [% IF ENABLE_OPAC_PAYMENTS %][% END %] [% END %] [% END %]
 Date Type Description Amount Amount outstanding
[% IF ACCOUNT_LINE.amountoutstanding > 0 %] [% SET DISPLAY_PAYMENT_BLOCK = 1 %] [% END %] [% ACCOUNT_LINE.date | $KohaDates %] [% SWITCH ACCOUNT_LINE.accounttype %] [% CASE 'Pay' %]Payment [% CASE 'Pay00' %]Payment (cash via SIP2) [% CASE 'Pay01' %]Payment (VISA via SIP2) [% CASE 'Pay02' %]Payment (credit card via SIP2) [% CASE 'VOID' %]Voided [% CASE 'N' %]New card [% CASE 'OVERDUE' %]Fine [% CASE 'A' %]Account management fee [% CASE 'M' %]Sundry [% CASE 'L' %]Lost item [% CASE 'W' %]Writeoff [% CASE 'HE' %]Hold waiting too long [% CASE 'Rent' %]Rental fee [% CASE 'FOR' %]Forgiven [% CASE 'LR' %]Lost item fee refund [% CASE 'PF' %]Lost item processing fee [% CASE 'PAY' %]Payment [% CASE 'WO' %]Writeoff [% CASE 'C' %]Credit [% CASE 'CR' %]Credit [%-CASE 'Res' %]Hold fee [% CASE %][% ACCOUNT_LINE.accounttype | html %] [%- END -%] [%- PROCESS account_status_description account=ACCOUNT_LINE -%] [%- IF ACCOUNT_LINE.payment_type %][% AuthorisedValues.GetByCode('PAYMENT_TYPE', ACCOUNT_LINE.payment_type, 1) | html %][% END %] [%- IF ACCOUNT_LINE.description %][% ACCOUNT_LINE.description | html %][% END %] [% IF ACCOUNT_LINE.itemnumber %]([% ACCOUNT_LINE.item.biblio.title | html %])[% END %] [% ACCOUNT_LINE.amount * -1 | $Price %][% ELSE %][% ACCOUNT_LINE.amount | $Price %][% END %][% ACCOUNT_LINE.amountoutstanding * -1 | $Price %][% ELSE %][% ACCOUNT_LINE.amountoutstanding | $Price %][% END %]
Total due [% total | $Price %]
[% outstanding_credit.date | $KohaDates %] [% SWITCH outstanding_credit.accounttype %] [% CASE 'Pay' %]Payment [% CASE 'Pay00' %]Payment (cash via SIP2) [% CASE 'Pay01' %]Payment (VISA via SIP2) [% CASE 'Pay02' %]Payment (credit card via SIP2) [% CASE 'VOID' %]Voided [% CASE 'N' %]New card [% CASE 'OVERDUE' %]Fine [% CASE 'A' %]Account management fee [% CASE 'M' %]Sundry [% CASE 'L' %]Lost item [% CASE 'W' %]Writeoff [% CASE 'HE' %]Hold waiting too long [% CASE 'Rent' %]Rental fee [% CASE 'FOR' %]Forgiven [% CASE 'LR' %]Lost item fee refund [% CASE 'PF' %]Lost item processing fee [% CASE 'PAY' %]Payment [% CASE 'WO' %]Writeoff [% CASE 'C' %]Credit [% CASE 'CR' %]Credit [%-CASE 'Res' %]Hold fee [% CASE %][% outstanding_credit.accounttype | html %] [%- END -%] [%- PROCESS account_status_description account=outstanding_credit -%] [%- IF outstanding_credit.payment_type %][% AuthorisedValues.GetByCode('PAYMENT_TYPE', outstanding_credit.payment_type, 1) | html %][% END %] [%- IF outstanding_credit.description %][% outstanding_credit.description | html %][% END %] [% IF outstanding_credit.itemnumber %]([% outstanding_credit.item.biblio.title | html %])[% END %] [% outstanding_credit.amount * -1 | $Price %] [% outstanding_credit.amountoutstanding * -1 | $Price %]
Total due if credit(s) applied: [% total + outstanding_credits.total_outstanding | $Price %]
[% IF ENABLE_OPAC_PAYMENTS && DISPLAY_PAYMENT_BLOCK %] [% END %]
[% ELSE %]

You have no fines or charges

[% END %] [%- BLOCK account_status_description -%] [%- SWITCH account.status -%] [%- CASE 'UNRETURNED' -%] (Accruing) [%- CASE 'RETURNED' -%] (Returned) [%- CASE 'REPLACED' -%] (Replaced) [%- CASE 'FORGIVEN' -%] (Forgiven) [%- CASE 'VOID' -%] (Voided) [%- CASE -%] [%- END -%] [%- END -%]