X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fmisc%2Fcust_main-import.cgi;h=66465106956e08d49aa7bddd5fd08435be06ead5;hb=d7a9f5c6dbf89aa85c281578bb553e04a573cbd0;hp=642bd798c48c6975e238fbda3be7121a8f5ce3a3;hpb=629dd6744c5cf45e2a83100fdc897dffa0328624;p=freeside.git diff --git a/httemplate/misc/cust_main-import.cgi b/httemplate/misc/cust_main-import.cgi index 642bd798c..664651069 100644 --- a/httemplate/misc/cust_main-import.cgi +++ b/httemplate/misc/cust_main-import.cgi @@ -3,15 +3,15 @@ Import a file containing customer records.

-<% include( '/elements/form-file_upload.html', - 'name' => 'CustomerImportForm', - 'action' => 'process/cust_main-import.cgi', - 'num_files' => 1, - 'fields' => [ 'agentnum', 'custbatch', 'format' ], - 'message' => 'Customer import successful', - 'url' => $p."search/cust_main.html?custbatch=$custbatch", - ) -%> +<& /elements/form-file_upload.html, + 'name' => 'CustomerImportForm', + 'action' => 'process/cust_main-import.cgi', + 'num_files' => 1, + 'fields' => [ 'agentnum', 'custbatch', 'format' ], + 'message' => 'Customer import successful', + 'url' => $p."search/cust_main.html?custbatch=$custbatch", + 'onsubmit' => "document.CustomerImportForm.submitButton.disabled=true;", +&> <% &ntable("#cccccc", 2) %> @@ -69,9 +69,9 @@ Import a file containing customer records. @@ -95,6 +95,7 @@ Uploaded files can be CSV (comma-separated value) files or Excel spreadsheets.

Extended plus company format has the following field order: 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, username, _password +

Extended plus company and options format has the following field order: 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, username, _password, options