projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
strip non-digits from phone numbers instead of throwing a nasty error, on dsl qualifi...
[freeside.git]
/
FS
/
FS
/
bill_batch.pm
diff --git
a/FS/FS/bill_batch.pm
b/FS/FS/bill_batch.pm
index
136db0d
..
3afe209
100644
(file)
--- 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 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 ]';
@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 {
=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;
my $self = shift;
my $job = shift;
$job->update_statustext(0) if $job;