Bug 25596: Identify overpayment refunds for translation
[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 'WRITEOFF'         -%]Writeoff
7             [%- CASE 'FORGIVEN'         -%]Forgiven
8             [%- CASE 'CREDIT'           -%]Credit
9             [%- CASE 'LOST_FOUND'       -%]Lost item fee refund
10             [%- CASE 'OVERPAYMENT'      -%]Overpayment refund
11             [%- CASE 'REFUND'           -%]Refund
12             [%- CASE                    -%][% account.credit_type.description | html %]
13         [%- END -%]
14     [%- ELSIF account.debit_type_code -%]
15        [%- SWITCH account.debit_type_code -%]
16            [%- CASE 'ACCOUNT'          -%]Account creation fee
17            [%- CASE 'ACCOUNT_RENEW'    -%]Account renewal fee
18            [%- CASE 'LOST'             -%]Lost item
19            [%- CASE 'MANUAL'           -%]Manual fee
20            [%- CASE 'NEW_CARD'         -%]New card
21            [%- CASE 'OVERDUE'          -%]Fine
22            [%- CASE 'PROCESSING'       -%]Lost item processing fee
23            [%- CASE 'RENT'             -%]Rental fee
24            [%- CASE 'RENT_DAILY'       -%]Daily rental fee
25            [%- CASE 'RENT_RENEW'       -%]Renewal of rental item
26            [%- CASE 'RENT_DAILY_RENEW' -%]Renewal of daily rental item
27            [%- CASE 'RESERVE'          -%]Hold fee
28            [%- CASE 'RESERVE_EXPIRED'  -%]Hold waiting too long
29            [%- CASE 'Payout'           -%]Payout
30            [%- CASE                    -%][% account.debit_type.description | html %]
31        [%- END -%]
32     [%- END -%]
33     [%- PROCESS account_status_description account=account -%]
34     </span>
35 [%- END -%]
36
37 [%- BLOCK offset_type_description -%]
38     [%- SWITCH account_offset.type -%]
39         [%- CASE 'Credit Applied' -%]<span>Credit applied</span>
40         [%- CASE 'Payment'        -%]<span>Payment</span>
41         [%- CASE 'Manual Credit'  -%]<span>Manual credit</span>
42         [%- CASE 'Manual Debit'   -%]<span>Manual invoice</span>
43         [%- CASE 'Lost Item'      -%]<span>Lost item returned</span>
44         [%- CASE 'Writeoff'       -%]<span>Writeoff</span>
45         [%- CASE 'Void Payment'   -%]<span>Void payment</span>
46         [%- CASE                  -%][% account_offset.type | html %]
47     [%- END -%]
48 [%- END -%]
49
50 [%- BLOCK account_status_description -%]
51     [%- SWITCH account.status -%]
52         [%- CASE 'UNRETURNED' -%]<span> (Accruing)</span>
53         [%- CASE 'RETURNED'   -%]<span> (Returned)</span>
54         [%- CASE 'REPLACED'   -%]<span> (Replaced)</span>
55         [%- CASE 'REFUNDED'   -%]<span> (Refunded)</span>
56         [%- CASE 'FORGIVEN'   -%]<span> (Forgiven)</span>
57         [%- CASE 'VOID'       -%]<span> (Voided)</span>
58         [%- CASE 'LOST'       -%]<span> (Lost)</span>
59         [%- CASE              -%]
60     [%- END -%]
61 [%- END -%]