From 8196faffdbc0abc43ce346119a76430c8a242b56 Mon Sep 17 00:00:00 2001 From: Christopher Burger Date: Thu, 18 May 2017 11:58:26 -0400 Subject: RT# 74435 - Adding option to allow refunds using electronic check batch with RBC format. --- FS/FS/cust_main/Billing_Batch.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'FS/FS/cust_main') diff --git a/FS/FS/cust_main/Billing_Batch.pm b/FS/FS/cust_main/Billing_Batch.pm index 48854d3..38d100e 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 )) + payby payinfo paydate payname paycode )) { $options{$_} = '' unless exists($options{$_}); } @@ -142,6 +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, } ); $cust_pay_batch->paybatchnum($old_cust_pay_batch->paybatchnum) -- cgit v1.1