Bug 22610: Update SIP2 to use payment_type
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / includes / accounts.inc
1 [%- BLOCK account_type_description -%]
2     [%- SWITCH account.accounttype -%]
3         [%- CASE 'Pay'              -%]<span>Payment
4         [%- CASE 'N'                -%]<span>New card
5         [%- CASE 'OVERDUE'          -%]<span>Fine
6         [%- CASE 'A'                -%]<span>Account management fee
7         [%- CASE 'M'                -%]<span>Sundry
8         [%- CASE 'LOST'             -%]<span>Lost item
9         [%- CASE 'W'                -%]<span>Writeoff
10         [%- CASE 'HE'               -%]<span>Hold waiting too long
11         [%- CASE 'RENT'             -%]<span>Rental fee
12         [%- CASE 'RENT_DAILY'       -%]<span>Daily rental fee
13         [%- CASE 'RENT_RENEW'       -%]<span>Renewal of rental item
14         [%- CASE 'RENT_DAILY_RENEW' -%]<span>Rewewal of daily rental item
15         [%- CASE 'FOR'              -%]<span>Forgiven
16         [%- CASE 'PF'               -%]<span>Lost item processing fee
17         [%- CASE 'PAY'              -%]<span>Payment
18         [%- CASE 'WO'               -%]<span>Writeoff
19         [%- CASE 'C'                -%]<span>Credit
20         [%- CASE 'LOST_RETURN'      -%]<span>Lost item fee refund
21         [%- CASE 'Res'              -%]<span>Hold fee
22         [%- CASE                    -%]<span>[% account.accounttype | html %]
23     [%- END -%]
24     [%- PROCESS account_status_description account=account -%]</span>
25 [%- END -%]
26
27 [%- BLOCK offset_type_description -%]
28     [%- SWITCH account_offset.type -%]
29         [%- CASE 'Credit Applied' -%]<span>Credit applied</span>
30         [%- CASE 'Payment'        -%]<span>Payment</span>
31         [%- CASE 'Manual Credit'  -%]<span>Manual credit</span>
32         [%- CASE 'Manual Debit'   -%]<span>Manual invoice</span>
33         [%- CASE 'Lost Item'      -%]<span>Lost item returned</span>
34         [%- CASE 'Writeoff'       -%]<span>Writeoff</span>
35         [%- CASE 'Void Payment'   -%]<span>Void payment</span>
36         [%- CASE                  -%][% account_offset.type | html %]
37     [%- END -%]
38 [%- END -%]
39
40 [%- BLOCK account_status_description -%]
41     [%- SWITCH account.status -%]
42         [%- CASE 'UNRETURNED' -%]<span> (Accruing)</span>
43         [%- CASE 'RETURNED'   -%]<span> (Returned)</span>
44         [%- CASE 'REPLACED'   -%]<span> (Replaced)</span>
45         [%- CASE 'FORGIVEN'   -%]<span> (Forgiven)</span>
46         [%- CASE 'VOID'       -%]<span> (Voided)</span>
47         [%- CASE 'LOST'       -%]<span> (Lost)</span>
48         [%- CASE              -%]
49     [%- END -%]
50 [%- END -%]