Lines 27-40
Link Here
|
27 |
<script type="text/JavaScript"> |
27 |
<script type="text/JavaScript"> |
28 |
//<![CDATA[ |
28 |
//<![CDATA[ |
29 |
/* Set some variable needed in circulation.js */ |
29 |
/* Set some variable needed in circulation.js */ |
|
|
30 |
var MSG_DT_LOADING_RECORDS = _("Loading... you may continue scanning."); |
30 |
var interface = "[% interface %]"; |
31 |
var interface = "[% interface %]"; |
31 |
var theme = "[% theme %]"; |
32 |
var theme = "[% theme %]"; |
32 |
var borrowernumber = "[% borrowernumber %]"; |
33 |
var borrowernumber = "[% borrowernumber %]"; |
33 |
var branchcode = "[% Branches.GetLoggedInBranchcode() %]"; |
34 |
var branchcode = "[% branch %]"; |
34 |
var exports_enabled = "[% Koha.Preference('ExportCircHistory') %]"; |
35 |
var exports_enabled = [% Koha.Preference('ExportCircHistory') %]; |
35 |
var AllowCirculate = [% (CAN_user_circulate_circulate_remaining_permissions)? 1 : 0 %] |
|
|
36 |
var AllowRenewalLimitOverride = [% (CAN_user_circulate_override_renewals && Koha.Preference('AllowRenewalLimitOverride') )? 1: 0 %]; |
36 |
var AllowRenewalLimitOverride = [% (CAN_user_circulate_override_renewals && Koha.Preference('AllowRenewalLimitOverride') )? 1: 0 %]; |
37 |
var script = "moremember"; |
37 |
var AllowCirculate = [% (CAN_user_circulate_circulate_remaining_permissions)? 1 : 0 %]; |
|
|
38 |
var script = "circulation"; |
38 |
var relatives_borrowernumbers = new Array(); |
39 |
var relatives_borrowernumbers = new Array(); |
39 |
[% FOREACH b IN relatives_borrowernumbers %] |
40 |
[% FOREACH b IN relatives_borrowernumbers %] |
40 |
relatives_borrowernumbers.push("[% b %]"); |
41 |
relatives_borrowernumbers.push("[% b %]"); |
Lines 42-48
var relatives_borrowernumbers = new Array();
Link Here
|
42 |
|
43 |
|
43 |
var MSG_EXPORT_SELECT_CHECKOUTS = _("You must select checkout(s) to export"); |
44 |
var MSG_EXPORT_SELECT_CHECKOUTS = _("You must select checkout(s) to export"); |
44 |
|
45 |
|
45 |
columns_settings = [% ColumnsSettings.GetColumns( 'members', 'moremember', 'issues-table', 'json' ) %] |
46 |
columns_settings = [% ColumnsSettings.GetColumns( 'circ', 'circulation', 'issues-table', 'json' ) %] |
46 |
|
47 |
|
47 |
$(document).ready(function() { |
48 |
$(document).ready(function() { |
48 |
$('#finesholdsissues').tabs({ |
49 |
$('#finesholdsissues').tabs({ |
49 |
- |
|
|