summaryrefslogtreecommitdiff
path: root/httemplate/misc/process/cust_main-import_charges.cgi
diff options
context:
space:
mode:
authorjeff <jeff>2010-08-23 20:02:41 +0000
committerjeff <jeff>2010-08-23 20:02:41 +0000
commit4289a88d7ac580599e4af7242f6af90aa2653cb8 (patch)
tree95f1cece35ebb3b2bb0ed7794ca14a4bf3dbb8e3 /httemplate/misc/process/cust_main-import_charges.cgi
parent0a9b7ad6786deed6f8b8c770d128182c7b9b7097 (diff)
support importing charges by agent_custid
Diffstat (limited to 'httemplate/misc/process/cust_main-import_charges.cgi')
-rw-r--r--httemplate/misc/process/cust_main-import_charges.cgi3
1 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/misc/process/cust_main-import_charges.cgi b/httemplate/misc/process/cust_main-import_charges.cgi
index 3ca68944a..bda3e3b70 100644
--- a/httemplate/misc/process/cust_main-import_charges.cgi
+++ b/httemplate/misc/process/cust_main-import_charges.cgi
@@ -16,7 +16,8 @@ my $fh = $cgi->upload('csvfile');
my $error = defined($fh)
? FS::cust_main::batch_charge( {
filehandle => $fh,
- 'fields' => [qw( custnum amount pkg )],
+ 'agentnum' => scalar($cgi->param('agentnum')),
+ 'format' => scalar($cgi->param('format')),
} )
: 'No file';