should fix problems sending a receipt against a specific package when taxes are in use
authorivan <ivan>
Tue, 20 Oct 2009 23:24:03 +0000 (23:24 +0000)
committerivan <ivan>
Tue, 20 Oct 2009 23:24:03 +0000 (23:24 +0000)
FS/FS/cust_bill_pay_pkg.pm

index 48c4364..639960f 100644 (file)
@@ -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,
   );
 }