[% USE Price %]
[% SET ENABLE_OPAC_PAYMENTS = Koha.Preference('EnablePayPalOpacPayments') %]
[% SET DISPLAY_PAYMENT_BLOCK = 0 %]
-
[% INCLUDE 'doc-head-open.inc' %]
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › Your fines and charges</title>
[% INCLUDE 'doc-head-close.inc' %]
-[% BLOCK cssinclude %][% END %]
+[% BLOCK cssinclude %]
+ <link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
+[% END %]
</head>
[% INCLUDE 'bodytag.inc' bodyid='opac-account' bodyclass='scrollto' %]
[% IF ( ACCOUNT_LINES ) %]
<form method="post" action="opac-account-pay.pl" class="form-horizontal">
- <table class="table table-bordered table-striped">
+ <table class="table table-bordered table-striped" id="finestable">
<thead>
<tr>
[% IF ENABLE_OPAC_PAYMENTS %]<th> </th>[% END %]
[% INCLUDE 'opac-bottom.inc' %]
[% BLOCK jsinclude %]
+[% INCLUDE 'datatables.inc' %]
<script type="text/javascript">
$( document ).ready(function() {
+ $("#finestable").dataTable($.extend(true, {}, dataTablesDefaults, {
+ "sPaginationType": "four_button"
+ }));
+
$(".paypal").on("click", function() {
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');
return false;