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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-account.tt (-3 / +4 lines)
Lines 93-99 Link Here
93
                                        [% IF ENABLE_OPAC_PAYMENTS %]
93
                                        [% IF ENABLE_OPAC_PAYMENTS %]
94
                                            <td>
94
                                            <td>
95
                                                [% IF ACCOUNT_LINE.amountoutstanding > 0 %]
95
                                                [% IF ACCOUNT_LINE.amountoutstanding > 0 %]
96
                                                    <input name="accountline" type="checkbox" class="checkbox-pay" id="checkbox-pay-[% ACCOUNT_LINE.accountlines_id %]" value="[% ACCOUNT_LINE.accountlines_id %]">
96
                                                    <input class="checkbox-pay pay-online hidden" name="accountline" type="checkbox" id="checkbox-pay-[% ACCOUNT_LINE.accountlines_id %]" value="[% ACCOUNT_LINE.accountlines_id %]">
97
                                                    <input type="hidden" id="amount-[% ACCOUNT_LINE.accountlines_id %]" value="[% ACCOUNT_LINE.amountoutstanding %]" />
97
                                                    <input type="hidden" id="amount-[% ACCOUNT_LINE.accountlines_id %]" value="[% ACCOUNT_LINE.amountoutstanding %]" />
98
                                                [% END %]
98
                                                [% END %]
99
                                            </td>
99
                                            </td>
Lines 133-139 Link Here
133
                        </table>
133
                        </table>
134
134
135
                            [% IF ENABLE_OPAC_PAYMENTS %]
135
                            [% IF ENABLE_OPAC_PAYMENTS %]
136
                                <fieldset>
136
                                <fieldset class="pay-online hidden">
137
                                    <legend>Pay selected fines and charges</legend>
137
                                    <legend>Pay selected fines and charges</legend>
138
                                        <span class="help-block"><h3>Payment method</h3></span>
138
                                        <span class="help-block"><h3>Payment method</h3></span>
139
                                        <div class="control-group">
139
                                        <div class="control-group">
Lines 174-179 Link Here
174
[% BLOCK jsinclude %]
174
[% BLOCK jsinclude %]
175
<script type="text/javascript">
175
<script type="text/javascript">
176
$( document ).ready(function() {
176
$( document ).ready(function() {
177
    $(".pay-online").removeClass("hidden");
178
177
    $("#amount-to-pay-label").hide();
179
    $("#amount-to-pay-label").hide();
178
180
179
    $(".checkbox-pay").change( function() {
181
    $(".checkbox-pay").change( function() {
180
- 

Return to bug 11622