Martin Renvoize
fbd640fa32
This patch updates all cases where debit_type_code was 'HE' to 'RESERVE_EXPIRED' which is more informative and consistent with the new style guidelines. Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
59 lines
2.7 KiB
PHP
59 lines
2.7 KiB
PHP
[%- BLOCK account_type_description -%]
|
|
<span>
|
|
[%- 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 -%]
|
|
[%- SWITCH account.debit_type -%]
|
|
[%- CASE 'ACCOUNT' -%]Account creation fee
|
|
[%- CASE 'ACCOUNT_RENEW' -%]Account renewal fee
|
|
[%- CASE 'LOST' -%]Lost item
|
|
[%- CASE 'M' -%]Sundry
|
|
[%- CASE 'N' -%]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 -%]
|
|
</span>
|
|
[%- END -%]
|
|
|
|
[%- BLOCK offset_type_description -%]
|
|
[%- SWITCH account_offset.type -%]
|
|
[%- CASE 'Credit Applied' -%]<span>Credit applied</span>
|
|
[%- CASE 'Payment' -%]<span>Payment</span>
|
|
[%- CASE 'Manual Credit' -%]<span>Manual credit</span>
|
|
[%- CASE 'Manual Debit' -%]<span>Manual invoice</span>
|
|
[%- CASE 'Lost Item' -%]<span>Lost item returned</span>
|
|
[%- CASE 'Writeoff' -%]<span>Writeoff</span>
|
|
[%- CASE 'Void Payment' -%]<span>Void payment</span>
|
|
[%- CASE -%][% account_offset.type | html %]
|
|
[%- END -%]
|
|
[%- END -%]
|
|
|
|
[%- BLOCK account_status_description -%]
|
|
[%- SWITCH account.status -%]
|
|
[%- CASE 'UNRETURNED' -%]<span> (Accruing)</span>
|
|
[%- CASE 'RETURNED' -%]<span> (Returned)</span>
|
|
[%- CASE 'REPLACED' -%]<span> (Replaced)</span>
|
|
[%- CASE 'FORGIVEN' -%]<span> (Forgiven)</span>
|
|
[%- CASE 'VOID' -%]<span> (Voided)</span>
|
|
[%- CASE 'LOST' -%]<span> (Lost)</span>
|
|
[%- CASE -%]
|
|
[%- END -%]
|
|
[%- END -%]
|