@@ -, +, @@ hold is found --- .../intranet-tmpl/prog/en/modules/circ/returns.tt | 293 ++++++++++++++------- 1 file changed, 197 insertions(+), 96 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -23,6 +23,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 %]'); @@ -220,56 +225,99 @@ $(document).ready(function () { [% END %] [% IF ( found ) %] - - [% IF ( waiting ) %] - + [% END %] [% IF ( diffbranch ) %] @@ -381,56 +429,109 @@ $(document).ready(function () { [% IF ( reserved ) %] - - -
-

Hold found

-

[% itembarcode |html %]: [% title |html %]

- [% IF ( reservenotes ) %]

Notes: [% reservenotes %]

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

Transfer to: [% destbranchname %]

- [% ELSE %] -

Hold at [% destbranchname %]

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