From: ivan Date: Tue, 20 Oct 2009 23:24:03 +0000 (+0000) Subject: should fix problems sending a receipt against a specific package when taxes are in use X-Git-Tag: root_of_svc_elec_features~761 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=1d9f6cca76b3581cbbaf2fab8d906bc578aaea90 should fix problems sending a receipt against a specific package when taxes are in use --- diff --git a/FS/FS/cust_bill_pay_pkg.pm b/FS/FS/cust_bill_pay_pkg.pm index 48c436483..639960f7d 100644 --- a/FS/FS/cust_bill_pay_pkg.pm +++ b/FS/FS/cust_bill_pay_pkg.pm @@ -194,7 +194,7 @@ sub send_receipt { my $self = shift; my $opt = ref($_[0]) ? shift : { @_ }; $self->cust_bill_pay->send_receipt( - 'cust_pkg' => $self->cust_bill_pkg->cust_pkg, + 'cust_pkg' => scalar($self->cust_bill_pkg->cust_pkg), %$opt, ); }