[%- BLOCK account_type_description -%] [%- IF account.accounttype -%] [%- SWITCH account.accounttype -%] [%- CASE 'Pay' -%]Payment [%- CASE 'W' -%]Writeoff [%- CASE 'FOR' -%]Forgiven [%- CASE 'PAY' -%]Payment [%- CASE 'WO' -%]Writeoff [%- CASE 'C' -%]Credit [%- CASE 'LOST_RETURN' -%]Lost item fee refund [%- CASE -%][% account.accounttype | html %] [%- END -%] [%- ELSIF account.debit_type_code -%] [%- SWITCH account.debit_type_code -%] [%- CASE 'ACCOUNT' -%]Account creation fee [%- CASE 'ACCOUNT_RENEW' -%]Account renewal fee [%- CASE 'LOST' -%]Lost item [%- CASE 'MANUAL' -%]Manual fee [%- CASE 'NEW_CARD' -%]New card [%- CASE 'OVERDUE' -%]Fine [%- CASE 'PROCESSING' -%]Lost item processing fee [%- CASE 'RENT' -%]Rental fee [%- CASE 'RENT_DAILY' -%]Daily rental fee [%- CASE 'RENT_RENEW' -%]Renewal of rental item [%- CASE 'RENT_DAILY_RENEW' -%]Rewewal of daily rental item [%- CASE 'RESERVE' -%]Hold fee [%- CASE 'RESERVE_EXPIRED' -%]Hold waiting too long [%- CASE -%][% account.debit_type.description | html %] [%- END -%] [%- END -%] [%- PROCESS account_status_description account=account -%] [%- 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 'VOID' -%] (Voided) [%- CASE 'LOST' -%] (Lost) [%- CASE -%] [%- END -%] [%- END -%]