freeside/FS/FS cust_bill.pm,1.92,1.93
ivan
ivan at pouncequick.420.am
Thu Jun 3 00:00:13 PDT 2004
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory pouncequick:/tmp/cvs-serv22948
Modified Files:
cust_bill.pm
Log Message:
better error message for non-applicable invoice events
Index: cust_bill.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/cust_bill.pm,v
retrieving revision 1.92
retrieving revision 1.93
diff -u -d -r1.92 -r1.93
--- cust_bill.pm 1 Jun 2004 10:53:10 -0000 1.92
+++ cust_bill.pm 3 Jun 2004 07:00:01 -0000 1.93
@@ -334,7 +334,7 @@
sub send {
my $self = shift;
my $template = scalar(@_) ? shift : '';
- return '' if scalar(@_) && $_[0] && $self->cust_main->agentnum ne shift;
+ return 'N/A' if scalar(@_) && $_[0] && $self->cust_main->agentnum != shift;
my $invoice_from = scalar(@_) ? shift : $conf->config('invoice_from');
my @print_text = $self->print_text('', $template);
More information about the freeside-commits
mailing list