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:
Nick Clemens 2023-10-10 16:14:02 +00:00 committed by Tomas Cohen Arazi
parent 9d2567a6f8
commit 48494c357c
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F
2 changed files with 2 additions and 3 deletions

View file

@ -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

View file

@ -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 + "&amp;print=issue[% CircAutoPrintQuickSlip | html %]", "printwindow");
return false;
[% END %]
}
});