@@ -, +, @@ hold is found --- .../intranet-tmpl/prog/en/modules/circ/returns.tt | 280 +++++++++++++------- 1 file changed, 185 insertions(+), 95 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -19,6 +19,11 @@ function Dopop(link) { $("#barcode").focus(); } $(document).ready(function () { + $(".modal").modal({ backdrop: 'static' }).on('shown', function() { + $("#barcode").prop("disabled", true); + }).on('hidden', function() { + $("#barcode").prop("disabled", false).focus(); + }); [% IF print_slip %] Dopop('hold-transfer-slip.pl?borrowernumber=[% borrowernumber %]&biblionumber=[% biblionumber %]'); @@ -195,55 +200,90 @@ $(document).ready(function () { [% END %] [% IF ( found ) %] - - [% IF ( waiting ) %] - - -
-

Hold found (item is already waiting): [% title |html %]

- [% IF ( reservenotes ) %]

Notes: [% reservenotes %]

[% END %] -

Hold for:

- - [% IF ( transfertodo ) %] -

Transfer to: [% destbranchname %]

- [% ELSE %] -

Hold at [% destbranchname %]

- [% END %] -
- - +
+ + + +
[% END %] [% IF ( diffbranch ) %] @@ -352,55 +392,105 @@ $(document).ready(function () { [% IF ( reserved ) %] - - -
-

Hold found: [% title |html %]

- [% IF ( reservenotes ) %]

Notes: [% reservenotes %]

[% END %] -
Hold for:
- - [% IF ( transfertodo ) %] -

Transfer to: [% destbranchname %]

- [% ELSE %] -

Hold at [% destbranchname %]

- [% END %] -
- - [% IF ( transfertodo ) %] - - - [% ELSE %] - - - [% END %] - - [% FOREACH inputloo IN inputloop %] - - - [% END %] - - - - - - - - - - -
-
+ [% END %] [% END %] --