@@ -, +, @@ receipts --- pos/printreceipt.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/pos/printreceipt.pl +++ a/pos/printreceipt.pl @@ -51,8 +51,9 @@ output_and_exit_if_error( } ) if $patron; # Payment could have been anonymous +my $lang = $patron ? $patron->lang : $template->lang; my $letter = C4::Letters::getletter( 'pos', 'RECEIPT', - C4::Context::mybranch, 'print', $patron->lang ); + C4::Context::mybranch, 'print', $lang ); $template->param( letter => $letter, --