diff options
| author | Christopher Burger <burgerc@freeside.biz> | 2018-06-12 09:51:58 -0400 |
|---|---|---|
| committer | Christopher Burger <burgerc@freeside.biz> | 2018-06-12 09:51:58 -0400 |
| commit | 360f89789c45e1fd7cb84b1442d2f0c8353066d9 (patch) | |
| tree | 2bfadf26b82c95ac6df124739590a07a7478bad2 /FS | |
| parent | f079061ec1005edbb9d292377bf4eb1a769fa681 (diff) | |
RT# 74435 - fixed errors in posting a echeck refund when no account is listed.
Diffstat (limited to 'FS')
| -rw-r--r-- | FS/FS/cust_main/Billing_Batch.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/FS/FS/cust_main/Billing_Batch.pm b/FS/FS/cust_main/Billing_Batch.pm index 38d100ef6..35e2714b5 100644 --- a/FS/FS/cust_main/Billing_Batch.pm +++ b/FS/FS/cust_main/Billing_Batch.pm @@ -114,7 +114,7 @@ sub batch_card { } ); foreach (qw( address1 address2 city state zip country latitude longitude - payby payinfo paydate payname paycode )) + payby payinfo paydate payname paycode paytype )) { $options{$_} = '' unless exists($options{$_}); } @@ -142,7 +142,7 @@ sub batch_card { 'payname' => $options{payname} || $cust_payby->payname, 'paytype' => $options{paytype} || $cust_payby->paytype, 'amount' => $amount, # consolidating - 'paycode' => $options{paycode} || $cust_payby->paycode, + 'paycode' => $options{paycode} || '', } ); $cust_pay_batch->paybatchnum($old_cust_pay_batch->paybatchnum) |
