Bug 23805: Update 'Pay' to 'PAYMENT' for consistency
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / includes / accounts.inc
1 [%- BLOCK account_type_description -%]
2     <span>
3     [%- IF account.credit_type_code -%]
4         [%- SWITCH account.credit_type_code -%]
5             [%- CASE 'PAYMENT'          -%]Payment
6             [%- CASE 'W'                -%]Writeoff
7             [%- CASE 'FORGIVEN'         -%]Forgiven
8             [%- CASE 'WO'               -%]Writeoff
9             [%- CASE 'CREDIT'           -%]Credit
10             [%- CASE 'LOST_RETURN'      -%]Lost item fee refund
11             [%- CASE                    -%][% account.credit_type.description | html %]
12         [%- END -%]
13     [%- ELSIF account.debit_type_code -%]
14        [%- SWITCH account.debit_type_code -%]
15            [%- CASE 'ACCOUNT'          -%]Account creation fee
16            [%- CASE 'ACCOUNT_RENEW'    -%]Account renewal fee
17            [%- CASE 'LOST'             -%]Lost item
18            [%- CASE 'MANUAL'           -%]Manual fee
19            [%- CASE 'NEW_CARD'         -%]New card
20            [%- CASE 'OVERDUE'          -%]Fine
21            [%- CASE 'PROCESSING'       -%]Lost item processing fee
22            [%- CASE 'RENT'             -%]Rental fee
23            [%- CASE 'RENT_DAILY'       -%]Daily rental fee
24            [%- CASE 'RENT_RENEW'       -%]Renewal of rental item
25            [%- CASE 'RENT_DAILY_RENEW' -%]Rewewal of daily rental item
26            [%- CASE 'RESERVE'          -%]Hold fee
27            [%- CASE 'RESERVE_EXPIRED'  -%]Hold waiting too long
28            [%- CASE                    -%][% account.debit_type.description | html %]
29        [%- END -%]
30     [%- END -%]
31     [%- PROCESS account_status_description account=account -%]
32     </span>
33 [%- END -%]
34
35 [%- BLOCK offset_type_description -%]
36     [%- SWITCH account_offset.type -%]
37         [%- CASE 'Credit Applied' -%]<span>Credit applied</span>
38         [%- CASE 'Payment'        -%]<span>Payment</span>
39         [%- CASE 'Manual Credit'  -%]<span>Manual credit</span>
40         [%- CASE 'Manual Debit'   -%]<span>Manual invoice</span>
41         [%- CASE 'Lost Item'      -%]<span>Lost item returned</span>
42         [%- CASE 'Writeoff'       -%]<span>Writeoff</span>
43         [%- CASE 'Void Payment'   -%]<span>Void payment</span>
44         [%- CASE                  -%][% account_offset.type | html %]
45     [%- END -%]
46 [%- END -%]
47
48 [%- BLOCK account_status_description -%]
49     [%- SWITCH account.status -%]
50         [%- CASE 'UNRETURNED' -%]<span> (Accruing)</span>
51         [%- CASE 'RETURNED'   -%]<span> (Returned)</span>
52         [%- CASE 'REPLACED'   -%]<span> (Replaced)</span>
53         [%- CASE 'FORGIVEN'   -%]<span> (Forgiven)</span>
54         [%- CASE 'VOID'       -%]<span> (Voided)</span>
55         [%- CASE 'LOST'       -%]<span> (Lost)</span>
56         [%- CASE              -%]
57     [%- END -%]
58 [%- END -%]