diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2018-02-09 19:10:00 -0800 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2018-02-09 19:10:00 -0800 |
| commit | d45dd4a826f314fb5459747590d3e11cd80c211f (patch) | |
| tree | c1dd2edd4bc42b12cc9a995e95dd7fb630da925e /httemplate/misc/cust_main-import_charges.cgi | |
| parent | 4b67c9f8cfc9f944b7758e7e69ac1f9f188ffa47 (diff) | |
| parent | 15d596e3090f3bde642917b56563736cd1ee2e90 (diff) | |
Merge branch 'master' of git.freeside.biz:/home/git/freeside
Diffstat (limited to 'httemplate/misc/cust_main-import_charges.cgi')
| -rw-r--r-- | httemplate/misc/cust_main-import_charges.cgi | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/httemplate/misc/cust_main-import_charges.cgi b/httemplate/misc/cust_main-import_charges.cgi index 4eacce13a..215cc4c9d 100644 --- a/httemplate/misc/cust_main-import_charges.cgi +++ b/httemplate/misc/cust_main-import_charges.cgi @@ -28,9 +28,9 @@ Import a CSV file containing customer charges. <TH ALIGN="right">Format</TH> <TD> <SELECT NAME="format"> - <OPTION VALUE="simple">Simple - <OPTION VALUE="ooma">Ooma -<!-- <OPTION VALUE="extended" SELECTED>Extended --> +% foreach my $format ( keys %formats ) { + <OPTION VALUE="<% $format %>"><% $formats{$format} %></OPTION> +% } </SELECT> </TD> </TR> @@ -94,6 +94,8 @@ Field information: die "access denied" unless $FS::CurrentUser::CurrentUser->access_right('Import'); + tie my %formats, 'Tie::IxHash', FS::cust_main::Import_Charges->import_formats; + my $custbatch = time2str('webimport-%Y/%m/%d-%T'. "-$$-". rand() * 2**32, time); </%init> |
