[%- 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 'VOID' -%]Voided
[%- CASE 'N' -%]New card
[%- CASE 'OVERDUE' -%]Fine[%- PROCESS account_status_description account=account -%]
[%- 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.accounttype | html %]
[%- END -%]
[%- END -%]
[%- BLOCK offset_type_description -%]
[%- SWITCH account_offset.type -%]
[%- CASE 'Credit Applied' -%]Credit applied
[%- CASE 'Payment' -%]Payment
[%- CASE 'Manual Credit' -%]Manual credit
[%- CASE 'Manual Debit' -%]Manual invoice
[%- CASE 'Lost Item' -%]Lost item returned
[%- CASE 'Writeoff' -%]Writeoff
[%- CASE 'Void Payment' -%]Void payment
[%- CASE -%][% account_offset.type | html %]
[%- END -%]
[%- END -%]
[%- BLOCK account_status_description -%]
[%- SWITCH account.status -%]
[%- CASE 'UNRETURNED' -%] (Accruing)
[%- CASE 'RETURNED' -%] (Returned)
[%- CASE 'REPLACED' -%] (Replaced)
[%- CASE 'FORGIVEN' -%] (Forgiven)
[%- CASE -%]
[%- END -%]
[%- END -%]