summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorivan <ivan>2008-11-09 08:51:01 +0000
committerivan <ivan>2008-11-09 08:51:01 +0000
commit54d73dfad0b27edd10ec7c917a96c88d45ad6789 (patch)
tree6d73e3f3caf2cfe975b29806a8524dc300faf9dc /httemplate
parentfb548ac8da2cc0b87b7b3dcd7172097d930c6f4a (diff)
move batch customer import to its own file; add svc_external_svc_phone export format, RT#4103
Diffstat (limited to 'httemplate')
-rw-r--r--httemplate/misc/cust_main-import.cgi4
-rw-r--r--httemplate/misc/process/cust_main-import.cgi3
2 files changed, 6 insertions, 1 deletions
diff --git a/httemplate/misc/cust_main-import.cgi b/httemplate/misc/cust_main-import.cgi
index 066f891..b822c5d 100644
--- a/httemplate/misc/cust_main-import.cgi
+++ b/httemplate/misc/cust_main-import.cgi
@@ -32,6 +32,7 @@ Import a file containing customer records.
<OPTION VALUE="extended" SELECTED>Extended
<OPTION VALUE="extended-plus_company">Extended plus company
<OPTION VALUE="svc_external">External service
+ <OPTION VALUE="svc_external_svc_phone">External service and phone service
</SELECT>
</TD>
</TR>
@@ -94,6 +95,9 @@ Uploaded files can be CSV (comma-separated value) files or Excel spreadsheets.
<b>External service</b> format has the following field order: <i>agent_custid, refnum<%$req%>, last<%$req%>, first<%$req%>, company, address1<%$req%>, address2, city<%$req%>, state<%$req%>, zip<%$req%>, country, daytime, night, ship_last, ship_first, ship_company, ship_address1, ship_address2, ship_city, ship_state, ship_zip, ship_country, payinfo, paycvv, paydate, invoicing_list, pkgpart, next_bill_date, id, title</i>
<BR><BR>
+<b>External service and phone service</b> format has the following field order: <i>agent_custid, refnum<%$req%>, last<%$req%>, first<%$req%>, company, address1<%$req%>, address2, city<%$req%>, state<%$req%>, zip<%$req%>, country, daytime, night, ship_last, ship_first, ship_company, ship_address1, ship_address2, ship_city, ship_state, ship_zip, ship_country, payinfo, paycvv, paydate, invoicing_list, pkgpart, next_bill_date, id, title, countrycode, phonenum, sip_password, pin</i>
+<BR><BR>
+
<%$req%> Required fields
<BR><BR>
diff --git a/httemplate/misc/process/cust_main-import.cgi b/httemplate/misc/process/cust_main-import.cgi
index df61eb6..2b705a6 100644
--- a/httemplate/misc/process/cust_main-import.cgi
+++ b/httemplate/misc/process/cust_main-import.cgi
@@ -4,6 +4,7 @@
die "access denied"
unless $FS::CurrentUser::CurrentUser->access_right('Import');
-my $server = new FS::UI::Web::JSRPC 'FS::cust_main::process_batch_import', $cgi;
+my $server =
+ new FS::UI::Web::JSRPC 'FS::cust_main::Import::process_batch_import', $cgi;
</%init>