diff options
| author | Christopher Burger <burgerc@freeside.biz> | 2018-05-17 12:40:43 -0400 |
|---|---|---|
| committer | Christopher Burger <burgerc@freeside.biz> | 2018-05-17 12:40:43 -0400 |
| commit | c2bcd30a9cf76008d21706bab99b6209f76a9f5a (patch) | |
| tree | d1fc5eb7719356876370f5a261d0541781ea2ed7 | |
| parent | a2ae3a1d66eed2d794c7da44f31712b87ec3bfa1 (diff) | |
RT# 77792 - V3 backport fix to access paytype
| -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). |
