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

(-)a/pos/printreceipt.pl (-2 / +2 lines)
Lines 51-58 output_and_exit_if_error( Link Here
51
    }
51
    }
52
) if $patron;    # Payment could have been anonymous
52
) if $patron;    # Payment could have been anonymous
53
53
54
my $lang = $patron ? $patron->lang : $template->lang;
54
my $letter = C4::Letters::getletter( 'pos', 'RECEIPT',
55
my $letter = C4::Letters::getletter( 'pos', 'RECEIPT',
55
    C4::Context::mybranch, 'print', $patron->lang );
56
    C4::Context::mybranch, 'print', $lang );
56
57
57
$template->param(
58
$template->param(
58
    letter  => $letter,
59
    letter  => $letter,
59
- 

Return to bug 28368