1 <% include("/elements/header.html",'Batch Payment Import') %>
3 Import a CSV file containing customer payments.
6 <FORM ACTION="process/cust_pay-import.cgi" METHOD="post" ENCTYPE="multipart/form-data">
8 <% &ntable("#cccccc", 2) %>
10 <% include('/elements/tr-select-agent.html',
11 #'curr_value' => '', #$agentnum,
12 'label' => "<B>Agent</B>",
13 'empty_label' => 'Select agent',
18 <TH ALIGN="right">Format</TH>
20 <SELECT NAME="format">
21 <OPTION VALUE="simple">Simple
22 <!-- <OPTION VALUE="extended" SELECTED>Extended -->
28 <TH ALIGN="right">CSV filename</TH>
29 <TD><INPUT TYPE="file" NAME="csvfile"></TD>
32 <TR><TD COLSPAN=2 ALIGN="center" STYLE="padding-top:6px"><INPUT TYPE="submit" VALUE="Import CSV file"></TD></TR>
40 Simple file format is CSV, with the following field order: <i>custnum, agent_custid, amount, checknum</i>
43 <!-- Extended file format is not yet defined</i>
50 <li><i>custnum</i>: This is the freeside customer number. It may be left blank. If specified, agent_custid must be blank.
52 <li><i>agent_custid</i>: This is the reseller's idea of the customer number or identifier. It may be left blank. If specified, custnum must be blank.
54 <li><i>amount</i>: A positive numeric value with at most two digits after the decimal point.
56 <li><i>checknum</i>: A sequences of digits. May be left blank.
62 <% include('/elements/footer.html') %>