View | Details | Raw Unified | Return to bug 11573
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt (-20 / +19 lines)
Lines 72-103 $(document).ready(function() { Link Here
72
        </tr>
72
        </tr>
73
    </thead>
73
    </thead>
74
74
75
	<!-- FIXME: Shouldn't hardcode dollar signs, since Euro or Pound might be needed -->
76
  [% FOREACH account IN accounts %]
75
  [% FOREACH account IN accounts %]
77
76
78
   [% IF ( loop.odd ) %]<tr>[% ELSE %]<tr class="highlight">[% END %]
77
   [% IF ( loop.odd ) %]<tr>[% ELSE %]<tr class="highlight">[% END %]
79
   <td><span title="[% account.date %]">[% account.date |$KohaDates %]</span></td>
78
   <td><span title="[% account.date %]">[% account.date |$KohaDates %]</span></td>
80
      <td>
79
      <td>
81
        [% SWITCH account.accounttype %]
80
        [% SWITCH account.accounttype %]
82
          [% CASE 'Pay' %]Payment, thanks
81
          [%- CASE 'Pay' -%]Payment, thanks
83
          [% CASE 'Pay00' %]Payment, thanks (cash via SIP2)
82
          [%- CASE 'Pay00' -%]Payment, thanks (cash via SIP2)
84
          [% CASE 'Pay01' %]Payment, thanks (VISA via SIP2)
83
          [%- CASE 'Pay01' -%]Payment, thanks (VISA via SIP2)
85
          [% CASE 'Pay02' %]Payment, thanks (credit card via SIP2)
84
          [%- CASE 'Pay02' -%]Payment, thanks (credit card via SIP2)
86
          [% CASE 'N' %]New card
85
          [%- CASE 'N' -%]New card
87
          [% CASE 'F' %]Fine, [% account.title %]
86
          [%- CASE 'F' -%]Fine
88
          [% CASE 'A' %]Account management fee
87
          [%- CASE 'A' -%]Account management fee
89
          [% CASE 'M' %]Sundry
88
          [%- CASE 'M' -%]Sundry
90
          [% CASE 'L' %]Lost
89
          [%- CASE 'L' -%]Lost
91
          [% CASE 'W' %]Writeoff
90
          [%- CASE 'W' -%]Writeoff
92
          [% CASE 'FU' %]Accruing fine
91
          [%- CASE 'FU' -%]Accruing fine
93
          [% CASE 'Rent' %]Rental fee
92
          [%- CASE 'Rent' -%]Rental fee
94
          [% CASE 'FOR' %]Forgiven
93
          [%- CASE 'FOR' -%]Forgiven
95
          [% CASE 'LR' %]Lost item fee refund
94
          [%- CASE 'LR' -%]Lost item fee refund
96
          [% CASE 'PAY' %]Payment
95
          [%- CASE 'PAY' -%]Payment
97
          [% CASE 'WO' %]Writeoff
96
          [%- CASE 'WO' -%]Writeoff
98
          [% CASE 'C' %]Credit
97
          [%- CASE 'C' -%]Credit
99
          [% CASE 'CR' %]Credit
98
          [%- CASE 'CR' -%]Credit
100
          [% CASE %][% account.accounttype %]
99
          [%- CASE -%][% account.accounttype %]
101
        [%- END -%]
100
        [%- END -%]
102
        [%- IF account.description %], [% account.description %][% END %]
101
        [%- IF account.description %], [% account.description %][% END %]
103
        &nbsp;[% IF ( account.itemnumber ) %]<a title="[% account.title %]" href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% account.biblionumber %]&amp;itemnumber=[% account.itemnumber %]">View item</a>&nbsp;[% END %]</td>
102
        &nbsp;[% IF ( account.itemnumber ) %]<a title="[% account.title %]" href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% account.biblionumber %]&amp;itemnumber=[% account.itemnumber %]">View item</a>&nbsp;[% END %]</td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt (-19 / +19 lines)
Lines 116-140 function enableCheckboxActions(){ Link Here
116
    </td>
116
    </td>
117
    <td>
117
    <td>
118
        [% SWITCH line.accounttype %]
118
        [% SWITCH line.accounttype %]
119
          [% CASE 'Pay' %]Payment, thanks
119
          [%- CASE 'Pay' -%]Payment, thanks
120
          [% CASE 'Pay00' %]Payment, thanks (cash via SIP2)
120
          [%- CASE 'Pay00' -%]Payment, thanks (cash via SIP2)
121
          [% CASE 'Pay01' %]Payment, thanks (VISA via SIP2)
121
          [%- CASE 'Pay01' -%]Payment, thanks (VISA via SIP2)
122
          [% CASE 'Pay02' %]Payment, thanks (credit card via SIP2)
122
          [%- CASE 'Pay02' -%]Payment, thanks (credit card via SIP2)
123
          [% CASE 'N' %]New card
123
          [%- CASE 'N' -%]New card
124
          [% CASE 'F' %]Fine
124
          [%- CASE 'F' -%]Fine
125
          [% CASE 'A' %]Account management fee
125
          [%- CASE 'A' -%]Account management fee
126
          [% CASE 'M' %]Sundry
126
          [%- CASE 'M' -%]Sundry
127
          [% CASE 'L' %]Lost item
127
          [%- CASE 'L' -%]Lost
128
          [% CASE 'W' %]Writeoff
128
          [%- CASE 'W' -%]Writeoff
129
          [% CASE 'FU' %]Accruing fine
129
          [%- CASE 'FU' -%]Accruing fine
130
          [% CASE 'Rent' %]Rental fee
130
          [%- CASE 'Rent' -%]Rental
131
          [% CASE 'FOR' %]Forgiven
131
          [%- CASE 'FOR' -%]Forgiven
132
          [% CASE 'LR' %]Lost item fee refund
132
          [%- CASE 'LR' -%]Lost item fee refund
133
          [% CASE 'PAY' %]Payment
133
          [%- CASE 'PAY' -%]Payment
134
          [% CASE 'WO' %]Writeoff
134
          [%- CASE 'WO' -%]Writeoff
135
          [% CASE 'C' %]Credit
135
          [%- CASE 'C' -%]Credit
136
          [% CASE 'CR' %]Credit
136
          [%- CASE 'CR' -%]Credit
137
          [% CASE %][% line.accounttype %]
137
          [%- CASE -%][% line.accounttype %]
138
        [%- END -%]
138
        [%- END -%]
139
        [%- IF line.description %], [% line.description %][% END %]
139
        [%- IF line.description %], [% line.description %][% END %]
140
        [% IF line.title %]([% line.title %])[% END %]
140
        [% IF line.title %]([% line.title %])[% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-account.tt (-20 / +19 lines)
Lines 103-127 Link Here
103
                                        <td>[% ACCOUNT_LINE.date | $KohaDates %]</td>
103
                                        <td>[% ACCOUNT_LINE.date | $KohaDates %]</td>
104
                                        <td>
104
                                        <td>
105
                                            [% SWITCH ACCOUNT_LINE.accounttype %]
105
                                            [% SWITCH ACCOUNT_LINE.accounttype %]
106
                                            [% CASE 'Pay' %]Payment, thanks
106
                                            [%- CASE 'Pay' -%]Payment, thanks
107
                                            [% CASE 'Pay00' %]Payment, thanks (cash via SIP2)
107
                                            [%- CASE 'Pay00' -%]Payment, thanks (cash via SIP2)
108
                                            [% CASE 'Pay01' %]Payment, thanks (VISA via SIP2)
108
                                            [%- CASE 'Pay01' -%]Payment, thanks (VISA via SIP2)
109
                                            [% CASE 'Pay02' %]Payment, thanks (credit card via SIP2)
109
                                            [%- CASE 'Pay02' -%]Payment, thanks (credit card via SIP2)
110
                                            [% CASE 'N' %]New card
110
                                            [%- CASE 'N' -%]New card
111
                                            [% CASE 'F' %]Fine
111
                                            [%- CASE 'F' -%]Fine
112
                                            [% CASE 'A' %]Account management fee
112
                                            [%- CASE 'A' -%]Account management fee
113
                                            [% CASE 'M' %]Sundry
113
                                            [%- CASE 'M' -%]Sundry
114
                                            [% CASE 'L' %]Lost item
114
                                            [%- CASE 'L' -%]Lost
115
                                            [% CASE 'W' %]Writeoff
115
                                            [%- CASE 'W' -%]Writeoff
116
                                            [% CASE 'FU' %]Accruing fine
116
                                            [%- CASE 'FU' -%]Accruing fine
117
                                            [% CASE 'Rent' %]Rental fee
117
                                            [%- CASE 'Rent' -%]Rental fee
118
                                            [% CASE 'FOR' %]Forgiven
118
                                            [%- CASE 'FOR' -%]Forgiven
119
                                            [% CASE 'LR' %]Lost item fee refund
119
                                            [%- CASE 'LR' -%]Lost item fee refund
120
                                            [% CASE 'PAY' %]Payment
120
                                            [%- CASE 'PAY' -%]Payment
121
                                            [% CASE 'WO' %]Writeoff
121
                                            [%- CASE 'WO' -%]Writeoff
122
                                            [% CASE 'C' %]Credit
122
                                            [%- CASE 'C' -%]Credit
123
                                            [% CASE 'CR' %]Credit
123
                                            [%- CASE 'CR' -%]Credit
124
                                            [% CASE %][% ACCOUNT_LINE.accounttype %]
124
                                            [%- CASE -%][% ACCOUNT_LINE.accounttype %]
125
                                          [%- END -%]
125
                                          [%- END -%]
126
                                          [%- IF ACCOUNT_LINE.description %], [% ACCOUNT_LINE.description %][% END %]
126
                                          [%- IF ACCOUNT_LINE.description %], [% ACCOUNT_LINE.description %][% END %]
127
                                          [% IF ACCOUNT_LINE.title %]([% ACCOUNT_LINE.title %])[% END %]
127
                                          [% IF ACCOUNT_LINE.title %]([% ACCOUNT_LINE.title %])[% END %]
128
- 

Return to bug 11573