diff options
author | Ivan Kohler <ivan@freeside.biz> | 2014-01-24 18:13:02 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2014-01-24 18:13:02 -0800 |
commit | a794f08248abbb8d2f0efb617d3e83babdfe0e09 (patch) | |
tree | 73f796fa153182de3cef9a55484ee05a4e29df58 /httemplate/misc/process | |
parent | 5bd7552215c77573b07e9775d7d63f70b0a55fd1 (diff) |
select a date when importing payments, RT#27087
Diffstat (limited to 'httemplate/misc/process')
-rw-r--r-- | httemplate/misc/process/cust_pay-import.cgi | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/httemplate/misc/process/cust_pay-import.cgi b/httemplate/misc/process/cust_pay-import.cgi index 92b6e5a36..7711773d8 100644 --- a/httemplate/misc/process/cust_pay-import.cgi +++ b/httemplate/misc/process/cust_pay-import.cgi @@ -9,8 +9,10 @@ my $paybatch = time2str('webbatch-%Y/%m/%d-%T'. "-$$-". rand() * 2**32, time); my $error = defined($fh) ? FS::cust_pay::batch_import( { 'filehandle' => $fh, - 'agentnum' => scalar($cgi->param('agentnum')), 'format' => scalar($cgi->param('format')), + + 'agentnum' => scalar($cgi->param('agentnum')), + '_date' => scalar($cgi->param('_date')), 'paybatch' => $paybatch, } ) : 'No file'; |