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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/paycollect.tt (-15 / +14 lines)
Lines 215-221 Link Here
215
215
216
    <fieldset class="rows">
216
    <fieldset class="rows">
217
    [% IF ( selected_accts ) %]
217
    [% IF ( selected_accts ) %]
218
        [% IF type == 'writeoff' %]
218
        [% IF type == 'WRITEOFF' %]
219
            <legend>Write off an amount toward selected fines</legend>
219
            <legend>Write off an amount toward selected fines</legend>
220
        [% ELSE %]
220
        [% ELSE %]
221
            <legend>Pay an amount toward selected fines</legend>
221
            <legend>Pay an amount toward selected fines</legend>
Lines 230-252 Link Here
230
            <span class="debit">[% total | format('%.2f') %]</span>
230
            <span class="debit">[% total | format('%.2f') %]</span>
231
        </li>
231
        </li>
232
    <li>
232
    <li>
233
        <label for="paid">Amount paid :</label>
233
        [% IF type == 'WRITEOFF' %]
234
        <input name="paid" id="paid" value="[% total | $Price on_editing => 1 %]"/>
234
            <label for="paid">Writeoff amount:</label>
235
    </li>
236
    <li>
237
        [% IF type == 'writeoff' %]
238
            <label for="collected">Writeoff amount: </label>
239
        [% ELSE %]
235
        [% ELSE %]
240
            <label for="collected">Collect from patron: </label>
236
            <label for="paid">Amount paid: </label>
241
        [% END %]
237
        [% END %]
242
        <input id="collected" value="[% total | $Price on_editing => 1 %]"/>
238
        <input name="paid" id="paid" value="[% total | $Price on_editing => 1 %]"/>
243
    </li>
244
    <li>
245
        <label>Change to give: </label>
246
        <span id="change">0.00</span>
247
    </li>
239
    </li>
248
240
249
    [% IF type != 'writeoff' %]
241
    [% IF type != 'WRITEOFF' %]
242
        <li>
243
            <label for="collected">Collected from patron: </label>
244
            <input id="collected" value="[% total | $Price on_editing => 1 %]"/>
245
        </li>
246
        <li>
247
            <label>Change to give: </label>
248
            <span id="change">0.00</span>
249
        </li>
250
    [% SET payment_types = AuthorisedValues.GetAuthValueDropbox('PAYMENT_TYPE') %]
250
    [% SET payment_types = AuthorisedValues.GetAuthValueDropbox('PAYMENT_TYPE') %]
251
    [% IF payment_types %]
251
    [% IF payment_types %]
252
        <li>
252
        <li>
253
- 

Return to bug 24208