Bug 6759: Split account creation and renewal charges
[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 'ACCOUNT'          -%]<span>Account creation fee
7         [%- CASE 'ACCOUNT_RENEW'    -%]<span>Account renewal fee
8         [%- CASE 'M'                -%]<span>Sundry
9         [%- CASE 'LOST'             -%]<span>Lost item
10         [%- CASE 'W'                -%]<span>Writeoff
11         [%- CASE 'HE'               -%]<span>Hold waiting too long
12         [%- CASE 'RENT'             -%]<span>Rental fee
13         [%- CASE 'RENT_DAILY'       -%]<span>Daily rental fee
14         [%- CASE 'RENT_RENEW'       -%]<span>Renewal of rental item
15         [%- CASE 'RENT_DAILY_RENEW' -%]<span>Rewewal of daily rental item
16         [%- CASE 'FOR'              -%]<span>Forgiven
17         [%- CASE 'PF'               -%]<span>Lost item processing fee
18         [%- CASE 'PAY'              -%]<span>Payment
19         [%- CASE 'WO'               -%]<span>Writeoff
20         [%- CASE 'C'                -%]<span>Credit
21         [%- CASE 'LOST_RETURN'      -%]<span>Lost item fee refund
22         [%- CASE 'Res'              -%]<span>Hold fee
23         [%- CASE                    -%]<span>[% account.accounttype | html %]
24     [%- END -%]
25     [%- PROCESS account_status_description account=account -%]</span>
26 [%- END -%]
27
28 [%- BLOCK offset_type_description -%]
29     [%- SWITCH account_offset.type -%]
30         [%- CASE 'Credit Applied' -%]<span>Credit applied</span>
31         [%- CASE 'Payment'        -%]<span>Payment</span>
32         [%- CASE 'Manual Credit'  -%]<span>Manual credit</span>
33         [%- CASE 'Manual Debit'   -%]<span>Manual invoice</span>
34         [%- CASE 'Lost Item'      -%]<span>Lost item returned</span>
35         [%- CASE 'Writeoff'       -%]<span>Writeoff</span>
36         [%- CASE 'Void Payment'   -%]<span>Void payment</span>
37         [%- CASE                  -%][% account_offset.type | html %]
38     [%- END -%]
39 [%- END -%]
40
41 [%- BLOCK account_status_description -%]
42     [%- SWITCH account.status -%]
43         [%- CASE 'UNRETURNED' -%]<span> (Accruing)</span>
44         [%- CASE 'RETURNED'   -%]<span> (Returned)</span>
45         [%- CASE 'REPLACED'   -%]<span> (Replaced)</span>
46         [%- CASE 'FORGIVEN'   -%]<span> (Forgiven)</span>
47         [%- CASE 'VOID'       -%]<span> (Voided)</span>
48         [%- CASE 'LOST'       -%]<span> (Lost)</span>
49         [%- CASE              -%]
50     [%- END -%]
51 [%- END -%]