projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git.freeside.biz:/home/git/freeside
[freeside.git]
/
httemplate
/
misc
/
process
/
cust_main-import_charges.cgi
diff --git
a/httemplate/misc/process/cust_main-import_charges.cgi
b/httemplate/misc/process/cust_main-import_charges.cgi
index
3ca6894
..
d877ad1
100644
(file)
--- 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)
#warn $fh;
my $error = defined($fh)
- ? FS::cust_main::batch_charge( {
+ ? FS::cust_main::
Import_Charges::
batch_charge( {
filehandle => $fh,
filehandle => $fh,
- 'fields' => [qw( custnum amount pkg )],
+ 'agentnum' => scalar($cgi->param('agentnum')),
+ 'format' => scalar($cgi->param('format')),
} )
: 'No file';
} )
: 'No file';