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