From 9ed67fdc938dbd9034c49cf11f7cb0b727d53bae Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 6 Jun 2005 20:07:19 +0000 Subject: [PATCH] eek, fix silly problem in invoice sending refactoring --- FS/FS/cust_bill.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/FS/FS/cust_bill.pm b/FS/FS/cust_bill.pm index 888687e68..f090978ca 100644 --- a/FS/FS/cust_bill.pm +++ b/FS/FS/cust_bill.pm @@ -568,13 +568,13 @@ sub send { my @invoicing_list = $self->cust_main->invoicing_list; - $self->send_email($template, $invoice_from) + $self->email($template, $invoice_from) if grep { $_ !~ /^(POST|FAX)$/ } @invoicing_list or !@invoicing_list; - $self->send_print($template) + $self->print($template) if grep { $_ eq 'POST' } @invoicing_list; #postal - $self->send_fax($template) + $self->fax($template) if grep { $_ eq 'FAX' } @invoicing_list; #fax ''; -- 2.11.0