diff options
| -rw-r--r-- | FS/FS/pay_batch/RBC.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/pay_batch/RBC.pm b/FS/FS/pay_batch/RBC.pm index 14b9993fc..142c50b79 100644 --- a/FS/FS/pay_batch/RBC.pm +++ b/FS/FS/pay_batch/RBC.pm @@ -177,7 +177,7 @@ $name = 'RBC'; ## set custname to business name if business checking or savings account is used otherwise leave as first and last name. my $custname = $cust_pay_batch->cust_main->first . ' ' . $cust_pay_batch->cust_main->last; $custname = $cust_pay_batch->cust_main->company - if (($cust_pay_batch->{Hash}->{paytype} eq "Business checking" || $cust_pay_batch->{Hash}->{paytype} eq "Business savings") && $cust_pay_batch->cust_main->company); + if (($cust_pay_batch->cust_main->paytype eq "Business checking" || $cust_pay_batch->cust_main->paytype eq "Business savings") && $cust_pay_batch->cust_main->company); $i++; sprintf("%06u", $i). |
