Koha/koha-tmpl/opac-tmpl/bootstrap
Jonathan Druart a333a13da5 Bug 8007: (QA followup) Add error handling when generating the pdf
If error occurs when generating the pdf, it would be better to get an
encapsulated error instead of the "software error" message in the pdf
file.
To test this patch I added this change:

b/Koha/Borrower/Discharge.pm
-115,6 +115,7 @@ sub generate_as_pdf {
     say $html_fh $html_content;
     close $html_fh;
     my $pdf = PDF::FromHTML->new( encoding => 'utf-8' );
+    $html_path .= "poeut";
     $pdf->load_file( $html_path );
     $pdf->convert;

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2015-04-30 12:34:21 -03:00
..
css Bug 12399 - opaccredits printing at top on printable version 2015-03-15 09:09:45 -03:00
en Bug 8007: (QA followup) Add error handling when generating the pdf 2015-04-30 12:34:21 -03:00
images Bug 10309 - New OPAC theme based on Bootstrap 2013-10-14 23:13:05 +00:00
itemtypeimg Bug 10309 - New OPAC theme based on Bootstrap 2013-10-14 23:13:05 +00:00
js Bug 9580 Cover images from Coce, a remote image URL cache 2015-04-01 09:31:42 -03:00
less Bug 11430 [Follow-up] Search history: Delete selected lines 2015-03-11 15:02:45 -03:00
lib Bug 13307: Fix jquery.deseriable.min.js 2015-04-13 13:48:55 -03:00