From 21580f2f855927834fb9911c432ff1749ac3c99b Mon Sep 17 00:00:00 2001 From: ivan Date: Thu, 13 Sep 2007 20:16:14 +0000 Subject: [PATCH] add better inline docs explaining fields on customer CSV import --- httemplate/misc/cust_main-import.cgi | 61 +++++++++++++++++++++++------------- 1 file changed, 40 insertions(+), 21 deletions(-) diff --git a/httemplate/misc/cust_main-import.cgi b/httemplate/misc/cust_main-import.cgi index b273a80aa..cf0bac78e 100644 --- a/httemplate/misc/cust_main-import.cgi +++ b/httemplate/misc/cust_main-import.cgi @@ -1,28 +1,11 @@ <% include("/elements/header.html",'Batch Customer Import') %> -
- Import a CSV file containing customer records.

- - -Extended file format is CSV, with the following field order: agent_custid, refnum[1]<%$req%>, last<%$req%>, first<%$req%>, address1<%$req%>, address2, city<%$req%>, state<%$req%>, zip<%$req%>, country, daytime, night, ship_last, ship_first, ship_address1, ship_address2, ship_city, ship_state, ship_zip, ship_country, payinfo<%$req%>, paycvv, paydate<%$req%>, invoicing_list, pkgpart, username[2], _password[2] -

- -<%$req%> Required fields -

- -[1] This field has special treatment upon import: If a string is passed instead -of an integer, the string is searched for and if necessary auto-created in the -target table. -

- -[2] username and _password are required if pkgpart is specified. -

+ -<% &ntable("#cccccc") %> +<% &ntable("#cccccc", 2) %> <% include('/elements/tr-select-agent.html', #'curr_value' => '', #$agentnum, @@ -64,12 +47,48 @@ target table. --> + + -

-
+
+ + + +Extended file format is CSV, with the following field order: agent_custid, refnum<%$req%>, last<%$req%>, first<%$req%>, address1<%$req%>, address2, city<%$req%>, state<%$req%>, zip<%$req%>, country, daytime, night, ship_last, ship_first, ship_address1, ship_address2, ship_city, ship_state, ship_zip, ship_country, payinfo<%$req%>, paycvv, paydate<%$req%>, invoicing_list, pkgpart, username, _password +

+ +<%$req%> Required fields +

+ +Field information: + + + +
+ <% include('/elements/footer.html') %> <%once> -- 2.11.0