diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt index 901fe2e4bd..a3aa900bed 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -139,7 +139,7 @@

@@ -166,9 +166,9 @@

@@ -254,11 +254,11 @@ - - @@ -291,9 +291,9 @@
- - - + + + [% FOREACH inputloo IN inputloop %] @@ -349,9 +349,9 @@ @@ -359,7 +359,6 @@ ->>>>>>> f3b362120f... Bug 21346: Convert dialogs to modals. [% END %] [% IF ( diffbranch ) %] @@ -475,19 +474,19 @@ - [% ELSE %] - [% END %] - @@ -617,12 +616,12 @@ [% IF ( return_date_override_remember ) %] - + [% ELSE %] - + [% END %] - + [% END %] [% FOREACH inputloo IN inputloop %] @@ -856,6 +855,28 @@ $('.openWin').on("click",function(e){ Dopop( $(this).data("url") ); }); + + $('.print').on("click",function(e){ + this.form.print_slip.value = 1; + this.form.submit(); + }); + + $('.cancel-hold').on("click",function(e){ + this.form.cancel_reserve.value = 1; + this.form.submit(); + }); + + $('.cancel-transfer').on("click",function(e){ + window.location.href='/cgi-bin/koha/circ/returns.pl?itemnumber=[% itemnumber | html %]&canceltransfer=1' + }); + + $('.action').on("click",function(e){ + this.checked = false; + this.form.return_date_override.value = ''; + this.form.return_date_override_remember.checked = false; + this.form.barcode.focus(); + return false; + }); }); [% END %]