This commit was generated by cvs2svn to compensate for changes in r8593,
[freeside.git] / httemplate / misc / batch-cust_pay.html
1 <% include('/elements/header.html', 'Quick payment entry') %>
2
3 <% include('/elements/error.html') %>
4
5 <FORM ACTION="process/batch-cust_pay.cgi" NAME="OneTrueForm" METHOD="POST" onsubmit="document.OneTrueForm.submit.disabled=true;">
6
7 <!-- <B>Batch</B> <INPUT TYPE="text" NAME="paybatch"><BR><BR> -->
8
9 <% include( "/elements/customer-table.html",
10               name_singular => 'payment',
11               header  => [ '', 'Amount', 'Check #', '' ],
12               fields  => [ sub {'$'}, 'paid', 'payinfo', 'error', ],
13               types   => [ 'immutable', '', '', 'immutable', ],
14               align   => [ 'c', 'r', 'r', 'l' ],
15               sizes   => [ 0, 8, 10, 0, ],
16               colors  => [ '', '', '', '#ff0000' ],
17               param   => { () },
18               footer  => [ '$', '_TOTAL', '', '' ],
19               footer_align => [ 'c', 'r', 'r', '' ],
20           )
21 %>
22
23 <!-- <BR>
24 <INPUT TYPE="button" VALUE="TEST addrow" onclick="addRow()"> -->
25
26 <BR>
27 <INPUT TYPE="submit" NAME="submit" VALUE="Post payment batch">
28
29 </FORM>
30
31 <% include('/elements/footer.html') %>
32
33 <%init>
34
35 die "access denied"
36   unless $FS::CurrentUser::CurrentUser->access_right('Post payment batch');
37
38 </%init>