X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fmisc%2Fprocess%2Fcust_main-import_charges.cgi;h=d877ad17dbbda37b3c745ce007a77198d9bb9258;hb=2756019bdb10fe144debfc8d6436468a89954eb3;hp=3ca68944a2f48ade0f21b494c3a00c2d39fd02bc;hpb=63a268637b2d51a8766412617724b9436439deb6;p=freeside.git diff --git a/httemplate/misc/process/cust_main-import_charges.cgi b/httemplate/misc/process/cust_main-import_charges.cgi index 3ca68944a..d877ad17d 100644 --- a/httemplate/misc/process/cust_main-import_charges.cgi +++ b/httemplate/misc/process/cust_main-import_charges.cgi @@ -14,9 +14,10 @@ my $fh = $cgi->upload('csvfile'); #warn $fh; my $error = defined($fh) - ? FS::cust_main::batch_charge( { + ? FS::cust_main::Import_Charges::batch_charge( { filehandle => $fh, - 'fields' => [qw( custnum amount pkg )], + 'agentnum' => scalar($cgi->param('agentnum')), + 'format' => scalar($cgi->param('format')), } ) : 'No file';