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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt (-29 / +36 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
      [% SWITCH line.accounttype %]
121
          [% CASE 'Pay' %]Payment, thanks
122
            [% CASE 'Pay' %]Payment, thanks
122
          [% CASE 'Pay00' %]Payment, thanks (cash via SIP2)
123
            [% CASE 'Pay00' %]Payment, thanks (cash via SIP2)
123
          [% CASE 'Pay01' %]Payment, thanks (VISA via SIP2)
124
            [% CASE 'Pay01' %]Payment, thanks (VISA via SIP2)
124
          [% CASE 'Pay02' %]Payment, thanks (credit card via SIP2)
125
            [% CASE 'Pay02' %]Payment, thanks (credit card via SIP2)
125
          [% CASE 'N' %]New card
126
            [% CASE 'N' %]New card
126
          [% CASE 'F' %]Fine
127
            [% CASE 'F' %]Fine
127
          [% CASE 'A' %]Account management fee
128
            [% CASE 'A' %]Account management fee
128
          [% CASE 'M' %]Sundry
129
            [% CASE 'M' %]Sundry
129
          [% CASE 'L' %]Lost item
130
            [% CASE 'L' %]Lost item
130
          [% CASE 'W' %]Writeoff
131
            [% CASE 'W' %]Writeoff
131
          [% CASE 'FU' %]Accruing fine
132
            [% CASE 'FU' %]Accruing fine
132
          [% CASE 'HE' %]Hold waiting too long
133
            [% CASE 'HE' %]Hold waiting too long
133
          [% CASE 'Rent' %]Rental fee
134
            [% CASE 'Rent' %]Rental fee
134
          [% CASE 'FOR' %]Forgiven
135
            [% CASE 'FOR' %]Forgiven
135
          [% CASE 'LR' %]Lost item fee refund
136
            [% CASE 'LR' %]Lost item fee refund
136
          [% CASE 'PAY' %]Payment
137
            [% CASE 'PAY' %]Payment
137
          [% CASE 'WO' %]Writeoff
138
            [% CASE 'WO' %]Writeoff
138
          [% CASE 'C' %]Credit
139
            [% CASE 'C' %]Credit
139
          [% CASE 'CR' %]Credit
140
            [% CASE 'CR' %]Credit
140
          [% CASE %][% line.accounttype %]
141
            [% CASE %][% line.accounttype %]
141
        [%- END -%]
142
      [%- END -%]
142
        [%- IF line.description %], [% line.description %][% END %]
143
      [%- IF line.description %], [% line.description %][% END %]
143
        [% IF line.title %]([% line.title %])[% END %]
144
      [% IF line.title %]([% line.title %])[% END %]
144
    </td>
145
    </td>
145
    <td><input type="text" name="payment_note_[% line.accountlines_id %]" /></td>
146
    [% IF (line.amountoutstanding > 0) %]
146
    <td>[% line.accounttype %]</td>
147
        <td><input type="text" name="payment_note_[% line.accountlines_id %]" /></td>
147
    <td>[% line.notify_id %]</td>
148
        <td>[% line.accounttype %]</td>
148
    <td>[% line.notify_level %]</td>
149
        <td>[% line.notify_id %]</td>
150
        <td>[% line.notify_level %]</td>
151
    [% ELSE %]
152
        <td></td>
153
        <td></td>
154
        <td></td>
155
        <td></td>
156
    [% END %]
149
    <td class="debit" style="text-align: right;">[% line.amount | $Price %]</td>
157
    <td class="debit" style="text-align: right;">[% line.amount | $Price %]</td>
150
    <td class="debit" style="text-align: right;">[% line.amountoutstanding | $Price %]</td>
158
    <td class="debit" style="text-align: right;">[% line.amountoutstanding | $Price %]</td>
151
</tr>
159
</tr>
152
- 

Return to bug 2454