summaryrefslogtreecommitdiff
path: root/FS/FS/cust_pay_batch.pm
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2018-08-08 19:35:34 -0400
committerChristopher Burger <burgerc@freeside.biz>2018-08-10 06:38:44 -0400
commitbcbc2580692528ee67b85f3d33f267a59ee530c8 (patch)
tree9cdfa8ac2aada8ac740eb3327e61792d8d0db65b /FS/FS/cust_pay_batch.pm
parent9dfb97b6fb41274ac7990f092365657cb98fa007 (diff)
RT# 34134 - updated select invoice to actually pay the invoice being selected not the oldest one.
Diffstat (limited to 'FS/FS/cust_pay_batch.pm')
-rw-r--r--FS/FS/cust_pay_batch.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/FS/FS/cust_pay_batch.pm b/FS/FS/cust_pay_batch.pm
index d29c6d0..614c117 100644
--- a/FS/FS/cust_pay_batch.pm
+++ b/FS/FS/cust_pay_batch.pm
@@ -302,6 +302,7 @@ sub approve {
'_date' => $new->_date,
'usernum' => $new->usernum,
'batchnum' => $new->batchnum,
+ 'invnum' => $old->invnum,
'gatewaynum' => $opt{'gatewaynum'},
'processor' => $opt{'processor'},
'auth' => $opt{'auth'},