X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Fmisc%2Fcust_main_note-import.html;h=003fc07a8e6197c9ecf7f03fb541626671556a57;hp=67f49f326f4094bc5ec690608f69c576936754a2;hb=ded6a5654efd56d2f271970c992133600e0223b1;hpb=587f0384fb03179f6b504daeada93e193d2ea27f diff --git a/httemplate/misc/cust_main_note-import.html b/httemplate/misc/cust_main_note-import.html index 67f49f326..003fc07a8 100644 --- a/httemplate/misc/cust_main_note-import.html +++ b/httemplate/misc/cust_main_note-import.html @@ -5,14 +5,23 @@ Import a CSV file containing customer notes records.

-File format is CSV, with the following field order: [custnum], last, first, notefield1, notefield2, notefield3... +File format is CSV, with the following field order: [custnum,] last, first, notefield1, notefield2, notefield3...
The optional custnum field is identified by being numeric. -Anything after the character sequence #! is ignored. +Anything after the character sequence #! is ignored. If a notefield starts +like classnum|, with a number followed by the pipe symbol (|), then it +the note will be imported into that note class.

<% &ntable("#cccccc") %> +<% include('/elements/tr-select-agent.html', + #'curr_value' => '', #$agentnum, + 'label' => "Agent", + 'empty_label' => 'Select agent', + ) +%> + CSV filename @@ -22,6 +31,11 @@ Anything after the character sequence #! is ignored. + + custnum is reseller's customer number + + +

@@ -30,3 +44,10 @@ Anything after the character sequence #! is ignored. <% include('/elements/footer.html') %> +<%init> + +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right('Import'); + + +