[Koha-bugs] [Bug 6369] Formatting problems on some items when printing an order form (PDF).
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Nov 9 15:54:22 CET 2011
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6369
--- Comment #7 from Paul Poulain <paul.poulain at biblibre.com> 2011-11-09 14:54:22 UTC ---
The line 275 shows :
my $pdf = printpdf($basketgroup, $bookseller, $baskets, \%orders,
$bookseller->{gstrate} // C4::Context->preference("gist")) || die "pdf
generation failed";
printpdf is supposed to be loaded at line 190 :
my $pdfformat = C4::Context->preference("OrderPdfFormat");
if ($pdfformat eq 'pdfformat::layout3pages' || $pdfformat eq
'pdfformat::layout2pages'){
eval {
require $pdfformat;
import $pdfformat;
};
So, what does OrderPdfFormat contains ? If it's not pdfformat::layout3pages or
pdfformat::layout2pages, nothing is "require-ed", and printpdf fails
--
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list