1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
<% include("/elements/header.html",'Import EDI Info') %>
<FORM ACTION="process/cust_edi_data-onp.cgi" METHOD="post" ENCTYPE="multipart/form-data">
Import a CSV file containing customer records.
<BR><BR>
<!-- Simple file format is CSV, with the following field order: <i>cust_pkg.setup, dayphone, first, last, address1, address2, city, state, zip, comments</i>
<BR><BR> -->
<!--
Extended file format is CSV, with the following field order: <i>custnum<%$req%>, last<%$req%>, first<%$req%>, address1<%$req%>, address2, city state<%$req%>, zip<%$req%>, ss, daytime ph#, nightime ph#, service_lastname<%$req%>, service_firstname<%$req%>, service_address1<%$req%>, service_address2, service_city service_state <%$req%>, service_zip<%$req%>, newcustdate<%$req%></i> -->
<BR><BR>
<%$req%> Required fields
<BR><BR>
<% &ntable("#cccccc") %>
<% include('/elements/tr-select-agent.html', '', #$agentnum,
'label' => "<B>Agent</B>",
'empty_label' => 'Select agent',
)
%>
<TR>
<TH ALIGN="right">Format</TH>
<TD>
<SELECT NAME="format">
<!-- <OPTION VALUE="simple">Simple -->
<OPTION VALUE="extended" SELECTED>Extended
</SELECT>
</TD>
</TR>
<TR>
<TH ALIGN="right">CSV filename</TH>
<TD><INPUT TYPE="file" NAME="csvfile"></TD>
</TR>
% #include('/elements/tr-select-part_referral.html')
%
<!--
-->
</TABLE>
<BR><BR>
<INPUT TYPE="submit" VALUE="Import">
</FORM>
<% include('/elements/footer.html') %>
<%once>
my $req = qq!<font color="#ff0000">*</font>!;
</%once>
|