X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fbill_batch.pm;h=3afe20915907f3b294e70ea93c6445cff14e3c22;hb=c15077a092c6b194923b72d9baaa50573c1ececb;hp=136db0d9e2eb54fd5ca5fd3f4b646786af3eb96a;hpb=b7dbecfb82aea90a4289089927d0b17436b2ed5a;p=freeside.git diff --git a/FS/FS/bill_batch.pm b/FS/FS/bill_batch.pm index 136db0d9e..3afe20915 100644 --- a/FS/FS/bill_batch.pm +++ b/FS/FS/bill_batch.pm @@ -4,6 +4,7 @@ use strict; use vars qw( @ISA $me $DEBUG ); use FS::Record qw( qsearch qsearchs dbh ); use FS::cust_bill_batch; +use CAM::PDF; @ISA = qw( FS::Record ); $me = '[ FS::bill_batch ]'; @@ -53,9 +54,6 @@ Typeset the entire batch as a PDF file. Returns the PDF as a string. =cut sub print_pdf { - eval 'use CAM::PDF'; - warn "Failed to load CAM::PDF: '$@'\n" if $@; - my $self = shift; my $job = shift; $job->update_statustext(0) if $job;