optimize CDR rating after timed rate perf regression, RT#15739
[freeside.git] / httemplate / misc / cust_main_note-import.html
1 <% include("/elements/header.html",'Batch Customer Note Import') %>
2
3 <FORM ACTION="cust_main_note-import.cgi" METHOD="post" ENCTYPE="multipart/form-data">
4
5 Import a CSV file containing customer notes records.
6 <BR><BR>
7
8 File format is CSV, with the following field order: <i>[custnum,] last, first, notefield1, notefield2, notefield3...</i>
9 <BR>
10 The optional custnum field is identified by being numeric.
11 Anything after the character sequence #! is ignored.
12 <BR><BR>
13
14 <% &ntable("#cccccc") %>
15
16 <% include('/elements/tr-select-agent.html',
17               #'curr_value' => '', #$agentnum,
18               'label'       => "<B>Agent</B>",
19               'empty_label' => 'Select agent',
20            )
21 %>
22
23 <TR>
24   <TH ALIGN="right">CSV filename</TH>
25   <TD><INPUT TYPE="file" NAME="csvfile"></TD>
26 </TR>
27 <TR>
28   <TH ALIGN="right">Include additional possibilites when exact match is found</TH>
29   <TD><INPUT TYPE="checkbox" NAME="fuzzies"></TD>
30 </TR>
31
32 <TR>
33   <TH ALIGN="right">custnum is reseller's customer number</TH>
34   <TD><INPUT TYPE="checkbox" NAME="use_agent_custid"></TD>
35 </TR>
36
37 </TABLE>
38 <BR><BR>
39
40 <INPUT TYPE="submit" VALUE="Load and match">
41 </FORM>
42
43 <% include('/elements/footer.html') %>
44
45 <%init>
46
47 die "access denied"
48   unless $FS::CurrentUser::CurrentUser->access_right('Import');
49
50 </%init>
51