summaryrefslogtreecommitdiff
path: root/FS/FS
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2018-06-12 09:51:58 -0400
committerChristopher Burger <burgerc@freeside.biz>2018-07-16 09:57:44 -0400
commitb4647550d33068067925f7f3fe8d6fe4f02a67e4 (patch)
tree3f77bd8ae4e090ba2c9c03f5bb73ae33aa5901c6 /FS/FS
parent639e88d37ab33deeea4db7c8d1f15e8967f1826f (diff)
RT# 74435 - fixed errors in posting a echeck refund when no account is listed.
Conflicts: FS/FS/cust_main/Billing_Batch.pm httemplate/elements/tr-select-cust_payby.html httemplate/misc/payment.cgi httemplate/misc/process/payment.cgi
Diffstat (limited to 'FS/FS')
-rw-r--r--FS/FS/cust_main.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm
index d4214d1c8..c5cee8d94 100644
--- a/FS/FS/cust_main.pm
+++ b/FS/FS/cust_main.pm
@@ -2790,7 +2790,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{$_});
}
@@ -2817,7 +2817,7 @@ sub batch_card {
'exp' => $options{paydate} || $self->paydate,
'payname' => $options{payname} || $self->payname,
'amount' => $amount, # consolidating
- 'paycode' => $options{paycode} || $cust_payby->paycode,
+ 'paycode' => $options{paycode} || '',
} );
$cust_pay_batch->paybatchnum($old_cust_pay_batch->paybatchnum)