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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-account.tt (-4 / +9 lines)
Lines 3-13 Link Here
3
[% USE Price %]
3
[% USE Price %]
4
[% SET ENABLE_OPAC_PAYMENTS = Koha.Preference('EnablePayPalOpacPayments') %]
4
[% SET ENABLE_OPAC_PAYMENTS = Koha.Preference('EnablePayPalOpacPayments') %]
5
[% SET DISPLAY_PAYMENT_BLOCK = 0 %]
5
[% SET DISPLAY_PAYMENT_BLOCK = 0 %]
6
7
[% INCLUDE 'doc-head-open.inc' %]
6
[% INCLUDE 'doc-head-open.inc' %]
8
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Your fines and charges</title>
7
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Your fines and charges</title>
9
[% INCLUDE 'doc-head-close.inc' %]
8
[% INCLUDE 'doc-head-close.inc' %]
10
[% BLOCK cssinclude %][% END %]
9
[% BLOCK cssinclude %]
10
    <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
11
[% END %]
11
</head>
12
</head>
12
13
13
[% INCLUDE 'bodytag.inc' bodyid='opac-account' bodyclass='scrollto' %]
14
[% INCLUDE 'bodytag.inc' bodyid='opac-account' bodyclass='scrollto' %]
Lines 66-72 Link Here
66
67
67
                    [% IF ( ACCOUNT_LINES ) %]
68
                    [% IF ( ACCOUNT_LINES ) %]
68
                        <form method="post" action="opac-account-pay.pl" class="form-horizontal">
69
                        <form method="post" action="opac-account-pay.pl" class="form-horizontal">
69
                        <table class="table table-bordered table-striped">
70
                        <table class="table table-bordered table-striped" id="finestable">
70
                            <thead>
71
                            <thead>
71
                                <tr>
72
                                <tr>
72
                                    [% IF ENABLE_OPAC_PAYMENTS %]<th>&nbsp;</th>[% END %]
73
                                    [% IF ENABLE_OPAC_PAYMENTS %]<th>&nbsp;</th>[% END %]
Lines 176-184 Link Here
176
177
177
[% INCLUDE 'opac-bottom.inc' %]
178
[% INCLUDE 'opac-bottom.inc' %]
178
[% BLOCK jsinclude %]
179
[% BLOCK jsinclude %]
180
[% INCLUDE 'datatables.inc' %]
179
<script type="text/javascript">
181
<script type="text/javascript">
180
$( document ).ready(function() {
182
$( document ).ready(function() {
181
183
184
    $("#finestable").dataTable($.extend(true, {}, dataTablesDefaults, {
185
        "sPaginationType": "four_button"
186
    }));
187
182
    $(".paypal").on("click", function() {
188
    $(".paypal").on("click", function() {
183
        window.open('https://www.paypal.com/webapps/mpp/paypal-popup','WIPaypal','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=1060, height=700');
189
        window.open('https://www.paypal.com/webapps/mpp/paypal-popup','WIPaypal','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=1060, height=700');
184
        return false;
190
        return false;
185
- 

Return to bug 14405