Lines 1-4
Link Here
|
1 |
[% USE raw %] |
1 |
[% USE raw %] |
|
|
2 |
[% USE To %] |
2 |
[% USE Asset %] |
3 |
[% USE Asset %] |
3 |
[% USE Koha %] |
4 |
[% USE Koha %] |
4 |
[% USE KohaDates %] |
5 |
[% USE KohaDates %] |
Lines 953-962
Link Here
|
953 |
var biblionumber = "[% biblionumber | $raw %]"; |
954 |
var biblionumber = "[% biblionumber | $raw %]"; |
954 |
var borrowernumber = "[% patron.borrowernumber | $raw %]"; |
955 |
var borrowernumber = "[% patron.borrowernumber | $raw %]"; |
955 |
var MSG_CONFIRM_DELETE_HOLD = _("Are you sure you want to cancel this hold?"); |
956 |
var MSG_CONFIRM_DELETE_HOLD = _("Are you sure you want to cancel this hold?"); |
956 |
var patron_homebranch = "[% Branches.GetName( patron.branchcode ) |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') | html %]"; |
957 |
var patron_homebranch = "[% To.json( Branches.GetName( patron.branchcode ) ) | $raw %]"; |
957 |
var override_items = {[% FOREACH bibitemloo IN bibitemloop %][% FOREACH itemloo IN bibitemloo.itemloop %][% IF ( itemloo.override ) %] |
958 |
var override_items = {[% FOREACH bibitemloo IN bibitemloop %][% FOREACH itemloo IN bibitemloo.itemloop %][% IF ( itemloo.override ) %] |
958 |
[% itemloo.itemnumber | html %]: { |
959 |
[% itemloo.itemnumber | html %]: { |
959 |
homebranch: "[% Branches.GetName( itemloo.homebranch ) |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') | html %]", |
960 |
homebranch: "[% To.json( Branches.GetName( itemloo.homebranch ) ) | $raw %]"; |
960 |
holdallowed: [% itemloo.holdallowed | html %] |
961 |
holdallowed: [% itemloo.holdallowed | html %] |
961 |
}, |
962 |
}, |
962 |
[% END %][% END %][% END %] |
963 |
[% END %][% END %][% END %] |
963 |
- |
|
|