diff options
Diffstat (limited to 'httemplate/misc/cust_main-import_charges.cgi')
-rw-r--r-- | httemplate/misc/cust_main-import_charges.cgi | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/httemplate/misc/cust_main-import_charges.cgi b/httemplate/misc/cust_main-import_charges.cgi index cd4441e0b..3801929e8 100644 --- a/httemplate/misc/cust_main-import_charges.cgi +++ b/httemplate/misc/cust_main-import_charges.cgi @@ -1,14 +1,22 @@ -<!-- mason kludge --> -<% include("/elements/header.html",'Batch Customer Charge') %> +<% include('/elements/header.html', 'Batch Customer Charge') %> + <FORM ACTION="process/cust_main-import_charges.cgi" METHOD="post" ENCTYPE="multipart/form-data"> + Import a CSV file containing customer charges.<BR><BR> Default file format is CSV, with the following field order: <i>custnum, amount, description</i><BR><BR> If <i>amount</i> is negative, a credit will be applied instead.<BR><BR> <BR><BR> - CSV Filename: <INPUT TYPE="file" NAME="csvfile"><BR><BR> - <INPUT TYPE="submit" VALUE="Import"> - </FORM> - </BODY> -<HTML> +CSV Filename: <INPUT TYPE="file" NAME="csvfile"><BR><BR> +<INPUT TYPE="submit" VALUE="Import"> + +</FORM> + +<% include('/elements/footer.html') %> + +<%init> + +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right('Import'); +</%init> |