diff options
author | ivan <ivan> | 2004-06-30 17:57:03 +0000 |
---|---|---|
committer | ivan <ivan> | 2004-06-30 17:57:03 +0000 |
commit | 657537cc1cc0f78f5302e66d37c161d8e233de71 (patch) | |
tree | ffac68d579b6396ea6db50d721a5688fcf8f8064 /FS/FS/cust_credit_bill.pm | |
parent | 0b227319d33d012890891570891f9d9401ff89ff (diff) |
payment receipts!
Diffstat (limited to 'FS/FS/cust_credit_bill.pm')
-rw-r--r-- | FS/FS/cust_credit_bill.pm | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/FS/FS/cust_credit_bill.pm b/FS/FS/cust_credit_bill.pm index 0e5885f..695df6e 100644 --- a/FS/FS/cust_credit_bill.pm +++ b/FS/FS/cust_credit_bill.pm @@ -74,21 +74,6 @@ sub table { 'cust_credit_bill'; } Adds this cust_credit_bill to the database ("Posts" all or part of a credit). If there is an error, returns the error, otherwise returns false. -=cut - -sub insert { - my $self = shift; - my $error = $self->SUPER::insert(@_); - return $error if $error; - - if ( $conf->exists('invoice_send_receipts') ) { - my $send_error = $self->cust_bill->send; - warn "Error sending receipt: $send_error\n" if $send_error; - } - - ''; -} - =item delete Currently unimplemented. |