summaryrefslogtreecommitdiff
path: root/httemplate/misc/cust_main_note-import.html
blob: cc1645d2e2eaa8e074a3d65fac99a55014936828 (plain)
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
<% include("/elements/header.html",'Batch Customer Note Import') %>

<FORM ACTION="cust_main_note-import.cgi" METHOD="post" ENCTYPE="multipart/form-data">

Import a CSV file containing customer notes records.
<BR><BR>

File format is CSV, with the following field order: <i>[custnum,] last, first, notefield1, notefield2, notefield3...</i>
<BR>
The optional custnum field is identified by being numeric.
Anything after the character sequence #! is ignored.
<BR><BR>

<% &ntable("#cccccc") %>

<% include('/elements/tr-select-agent.html',
              #'curr_value' => '', #$agentnum,
              'label'       => "<B>Agent</B>",
              'empty_label' => 'Select agent',
           )
%>

<TR>
  <TH ALIGN="right">CSV filename</TH>
  <TD><INPUT TYPE="file" NAME="csvfile"></TD>
</TR>
<TR>
  <TH ALIGN="right">Include additional possibilites when exact match is found</TH>
  <TD><INPUT TYPE="checkbox" NAME="fuzzies"></TD>
</TR>

<TR>
  <TH ALIGN="right">custnum is reseller's customer number</TH>
  <TD><INPUT TYPE="checkbox" NAME="use_agent_custid"></TD>
</TR>

</TABLE>
<BR><BR>

<INPUT TYPE="submit" VALUE="Load and match">
</FORM>

<% include('/elements/footer.html') %>

<%init>

die "access denied"
  unless $FS::CurrentUser::CurrentUser->access_right('Import');

</%init>