Fines and charges

[% IF ( ACCOUNT_LINES ) %]
[% IF ENABLE_OPAC_PAYMENTS %][% END %] [% FOREACH ACCOUNT_LINE IN ACCOUNT_LINES %] [% IF ACCOUNT_LINE.amountoutstanding > 0 || ACCOUNT_LINE.amountoutstanding < 0 %][% ELSE %][% 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 outstanding_credit.amountoutstanding < 0 %][% ELSE %][% END%] [% 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 %] [% PROCESS account_type_description account=ACCOUNT_LINE %] [%- 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 %] [% PROCESS account_type_description account=outstanding_credit %] [%- 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_type_description -%] [%- SWITCH account.accounttype -%] [%- CASE 'Pay' -%]Payment [%- CASE 'Pay00' -%]Payment (cash via SIP2) [%- CASE 'Pay01' -%]Payment (VISA via SIP2) [%- CASE 'Pay02' -%]Payment (credit card via SIP2) [%- CASE 'N' -%]New card [%- CASE 'OVERDUE' -%]Fine [%- CASE 'A' -%]Account management fee [%- CASE 'M' -%]Sundry [%- CASE 'LOST' -%]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.accounttype | html %] [%- END -%] [%- PROCESS account_status_description account=account -%] [%- 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 -%]