Bug 32986: (follow-up) Fix CircAutoPrintQuickSlip and remove unecessary module usage
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
9d2567a6f8
commit
48494c357c
2 changed files with 2 additions and 3 deletions
|
@ -22,8 +22,6 @@ use Modern::Perl;
|
|||
use Template::Plugin;
|
||||
use base qw( Template::Plugin );
|
||||
|
||||
use C4::Koha;
|
||||
use C4::Context;
|
||||
use Koha::Notice::Templates;
|
||||
|
||||
=head1 NAME
|
||||
|
|
|
@ -1021,7 +1021,8 @@
|
|||
window.location='/cgi-bin/koha/circ/circulation.pl';
|
||||
return false;
|
||||
[% ELSE %]
|
||||
return printx_window( '[% CircAutoPrintQuickSlip | html %]' );
|
||||
window.open("/cgi-bin/koha/members/printslip.pl?borrowernumber=" + borrowernumber + "&print=issue[% CircAutoPrintQuickSlip | html %]", "printwindow");
|
||||
return false;
|
||||
[% END %]
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue