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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt (-29 / +40 lines)
Lines 101-106 function enableCheckboxActions(){ Link Here
101
    [% END %]
101
    [% END %]
102
    </td>
102
    </td>
103
    <td>
103
    <td>
104
104
    [% IF ( line.amountoutstanding > 0 ) %]
105
    [% IF ( line.amountoutstanding > 0 ) %]
105
        <input type="submit" name="pay_indiv_[% line.accountlines_id %]" value="Pay" />
106
        <input type="submit" name="pay_indiv_[% line.accountlines_id %]" value="Pay" />
106
        [% IF CAN_user_updatecharges_writeoff %]<input type="submit" name="wo_indiv_[% line.accountlines_id %]" value="Write off" />[% END %]
107
        [% IF CAN_user_updatecharges_writeoff %]<input type="submit" name="wo_indiv_[% line.accountlines_id %]" value="Write off" />[% END %]
Lines 117-151 function enableCheckboxActions(){ Link Here
117
    <input type="hidden" name="totals[% line.accountlines_id %]" value="[% line.totals %]" />
118
    <input type="hidden" name="totals[% line.accountlines_id %]" value="[% line.totals %]" />
118
    </td>
119
    </td>
119
    <td>
120
    <td>
120
        [% SWITCH line.accounttype %]
121
        [% IF (line.amountoutstanding > 0) %]
121
          [% CASE 'Pay' %]Payment, thanks
122
            [% SWITCH line.accounttype %]
122
          [% CASE 'Pay00' %]Payment, thanks (cash via SIP2)
123
                [% CASE 'Pay' %]Payment, thanks
123
          [% CASE 'Pay01' %]Payment, thanks (VISA via SIP2)
124
                [% CASE 'Pay00' %]Payment, thanks (cash via SIP2)
124
          [% CASE 'Pay02' %]Payment, thanks (credit card via SIP2)
125
                [% CASE 'Pay01' %]Payment, thanks (VISA via SIP2)
125
          [% CASE 'N' %]New card
126
                [% CASE 'Pay02' %]Payment, thanks (credit card via SIP2)
126
          [% CASE 'F' %]Fine
127
                [% CASE 'N' %]New card
127
          [% CASE 'A' %]Account management fee
128
                [% CASE 'F' %]Fine
128
          [% CASE 'M' %]Sundry
129
                [% CASE 'A' %]Account management fee
129
          [% CASE 'L' %]Lost item
130
                [% CASE 'M' %]Sundry
130
          [% CASE 'W' %]Writeoff
131
                [% CASE 'L' %]Lost item
131
          [% CASE 'FU' %]Accruing fine
132
                [% CASE 'W' %]Writeoff
132
          [% CASE 'HE' %]Hold waiting too long
133
                [% CASE 'FU' %]Accruing fine
133
          [% CASE 'Rent' %]Rental fee
134
                [% CASE 'HE' %]Hold waiting too long
134
          [% CASE 'FOR' %]Forgiven
135
                [% CASE 'Rent' %]Rental fee
135
          [% CASE 'LR' %]Lost item fee refund
136
                [% CASE 'FOR' %]Forgiven
136
          [% CASE 'PAY' %]Payment
137
                [% CASE 'LR' %]Lost item fee refund
137
          [% CASE 'WO' %]Writeoff
138
                [% CASE 'PAY' %]Payment
138
          [% CASE 'C' %]Credit
139
                [% CASE 'WO' %]Writeoff
139
          [% CASE 'CR' %]Credit
140
                [% CASE 'C' %]Credit
140
          [% CASE %][% line.accounttype %]
141
                [% CASE 'CR' %]Credit
141
        [%- END -%]
142
                [% CASE %][% line.accounttype %]
142
        [%- IF line.description %], [% line.description %][% END %]
143
            [%- END -%]
143
        [% IF line.title %]([% line.title %])[% END %]
144
            [%- IF line.description %], [% line.description %][% END %]
145
            [% IF line.title %]([% line.title %])[% END %]
146
        [% ELSIF line.accounttype =='C' %]
147
            Credit
148
        [% END %]
144
    </td>
149
    </td>
145
    <td><input type="text" name="payment_note_[% line.accountlines_id %]" /></td>
150
    [% IF (line.amountoutstanding > 0) %]
146
    <td>[% line.accounttype %]</td>
151
        <td><input type="text" name="payment_note_[% line.accountlines_id %]" /></td>
147
    <td>[% line.notify_id %]</td>
152
        <td>[% line.accounttype %]</td>
148
    <td>[% line.notify_level %]</td>
153
        <td>[% line.notify_id %]</td>
154
        <td>[% line.notify_level %]</td>
155
    [% ELSE %]
156
        <td></td>
157
        <td></td>
158
        <td></td>
159
        <td></td>
160
    [% END %]
149
    <td class="debit" style="text-align: right;">[% line.amount | $Price %]</td>
161
    <td class="debit" style="text-align: right;">[% line.amount | $Price %]</td>
150
    <td class="debit" style="text-align: right;">[% line.amountoutstanding | $Price %]</td>
162
    <td class="debit" style="text-align: right;">[% line.amountoutstanding | $Price %]</td>
151
</tr>
163
</tr>
152
- 

Return to bug 2454