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_bill_pay.pm | |
parent | 0b227319d33d012890891570891f9d9401ff89ff (diff) |
payment receipts!
Diffstat (limited to 'FS/FS/cust_bill_pay.pm')
-rw-r--r-- | FS/FS/cust_bill_pay.pm | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/FS/FS/cust_bill_pay.pm b/FS/FS/cust_bill_pay.pm index f0cb132..7abbe9a 100644 --- a/FS/FS/cust_bill_pay.pm +++ b/FS/FS/cust_bill_pay.pm @@ -70,21 +70,6 @@ sub table { 'cust_bill_pay'; } Adds this record to the database. 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 Deletes this payment application, unless the closed flag for the parent payment |