View | Details | Raw Unified | Return to bug 20822
Collapse All | Expand All

(-)a/circ/returns.pl (-1 / +1 lines)
Lines 78-84 if ($session->param('branch') eq 'NO_LIBRARY_SET'){ Link Here
78
if ( $query->param('print_slip') ) {
78
if ( $query->param('print_slip') ) {
79
    $template->param(
79
    $template->param(
80
        print_slip     => 1,
80
        print_slip     => 1,
81
        borrowernumber => scalar $query->param('borrowernumber'),
81
        borrowernumber => scalar $query->param('borrowernumber'), # FIXME We should send a Koha::Patron and raise an error if not exist.
82
        biblionumber   => scalar $query->param('biblionumber'),
82
        biblionumber   => scalar $query->param('biblionumber'),
83
    );
83
    );
84
}
84
}
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt (-2 / +1 lines)
Lines 709-715 Link Here
709
            $(".modal").on('hidden.bs.modal', function (e) { $("#barcode").focus(); });
709
            $(".modal").on('hidden.bs.modal', function (e) { $("#barcode").focus(); });
710
710
711
            [% IF print_slip %]
711
            [% IF print_slip %]
712
                Dopop('hold-transfer-slip.pl?borrowernumber=[% patron.borrowernumber %]&biblionumber=[% biblionumber %]');
712
                Dopop('hold-transfer-slip.pl?borrowernumber=[% borrowernumber %]&biblionumber=[% biblionumber %]');
713
            [% END %]
713
            [% END %]
714
714
715
            var columns_settings = [% ColumnsSettings.GetColumns( 'circ', 'returns', 'checkedintable', 'json' ) %]
715
            var columns_settings = [% ColumnsSettings.GetColumns( 'circ', 'returns', 'checkedintable', 'json' ) %]
716
- 

Return to bug 20822