1 <% include('/elements/header.html', 'Quick payment entry') %>
3 <% include('/elements/error.html') %>
5 <FORM ACTION="process/batch-cust_pay.cgi" NAME="OneTrueForm" METHOD="POST" onsubmit="document.OneTrueForm.submit.disabled=true;">
7 <!-- <B>Batch</B> <INPUT TYPE="text" NAME="paybatch"><BR><BR> -->
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' ],
18 footer => [ '$', '_TOTAL', '', '' ],
19 footer_align => [ 'c', 'r', 'r', '' ],
24 <INPUT TYPE="button" VALUE="TEST addrow" onclick="addRow()"> -->
27 <INPUT TYPE="submit" NAME="submit" VALUE="Post payment batch">
31 <% include('/elements/footer.html') %>
36 unless $FS::CurrentUser::CurrentUser->access_right('Post payment batch');