@@ -, +, @@ dialog when checking out a reserved item when trying to checkout a reserved item. --- circ/circulation.pl | 7 +++++++ .../prog/en/modules/circ/circulation.tt | 21 +++++++++++++++++++++ 2 files changed, 28 insertions(+) --- a/circ/circulation.pl +++ a/circ/circulation.pl @@ -377,6 +377,13 @@ if ($barcode) { my ( $od, $issue, $fines ) = GetMemberIssuesAndFines($borrowernumber); $template->param( issuecount => $issue ); + + if ($question->{RESERVE_WAITING} or $question->{RESERVED}){ + $template->param( + reserveborrowernumber => $question->{'resborrowernumber'}, + itembiblionumber => $getmessageiteminfo->{'biblionumber'} + ); + } } # reload the borrower info for the sake of reseting the flags..... --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -60,6 +60,9 @@ function toggle_onsite_checkout(){ } } +function Dopop(link) { + var newin = window.open(link, 'popup', 'width=600,height=400,resizable=1,toolbar=0,scrollbars=1,top'); +} $(document).ready(function() { $('#mainform').on('submit',function() { $('#barcode').on('keypress',function(event) { @@ -325,6 +328,24 @@ $(document).ready(function() { [% END %] +[% IF ( RESERVED ) %] +
+ + + + +
+[% END %] + +[% IF ( RESERVE_WAITING ) %] +
+ + + + +
+[% END %] +
[% IF (forceallow) %][% END %] --