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 949-958
Link Here
|
949 |
var biblionumber = "[% biblionumber | $raw %]"; |
950 |
var biblionumber = "[% biblionumber | $raw %]"; |
950 |
var borrowernumber = "[% patron.borrowernumber | $raw %]"; |
951 |
var borrowernumber = "[% patron.borrowernumber | $raw %]"; |
951 |
var MSG_CONFIRM_DELETE_HOLD = _("Are you sure you want to cancel this hold?"); |
952 |
var MSG_CONFIRM_DELETE_HOLD = _("Are you sure you want to cancel this hold?"); |
952 |
var patron_homebranch = "[% Branches.GetName( patron.branchcode ) |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') | html %]"; |
953 |
var patron_homebranch = "[% To.json( Branches.GetName( patron.branchcode ) ) | $raw %]"; |
953 |
var override_items = {[% FOREACH bibitemloo IN bibitemloop %][% FOREACH itemloo IN bibitemloo.itemloop %][% IF ( itemloo.override ) %] |
954 |
var override_items = {[% FOREACH bibitemloo IN bibitemloop %][% FOREACH itemloo IN bibitemloo.itemloop %][% IF ( itemloo.override ) %] |
954 |
[% itemloo.itemnumber | html %]: { |
955 |
[% itemloo.itemnumber | html %]: { |
955 |
homebranch: "[% Branches.GetName( itemloo.homebranch ) |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') | html %]", |
956 |
homebranch: "[% To.json( Branches.GetName( itemloo.homebranch ) ) | $raw %]"; |
956 |
holdallowed: [% itemloo.holdallowed | html %] |
957 |
holdallowed: [% itemloo.holdallowed | html %] |
957 |
}, |
958 |
}, |
958 |
[% END %][% END %][% END %] |
959 |
[% END %][% END %][% END %] |
959 |
- |
|
|