diff options
author | Christopher Burger <burgerc@freeside.biz> | 2018-06-12 09:51:58 -0400 |
---|---|---|
committer | Christopher Burger <burgerc@freeside.biz> | 2018-06-12 11:08:59 -0400 |
commit | 42b35cdaeb0643630eda0513556a8e668fbcb8e2 (patch) | |
tree | b7be235db2198c56ec2bb8bd535ea25ddebf96d5 /FS | |
parent | 8196faffdbc0abc43ce346119a76430c8a242b56 (diff) |
RT# 74435 - fixed errors in posting a echeck refund when no account is listed.
Conflicts:
httemplate/misc/payment.cgi
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 38d100e..35e2714 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) |