X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fmisc%2Fbatch-cust_pay.html;h=505f2d0ff915856b7d0337150c1f312a1d0ba63f;hb=ad7f49821d40ffd099a45acc32ba91e0e211aede;hp=f2f446001ce6aec0bcd9177cc1bc7ef51fab5c68;hpb=1293d137b061f097190eda53e4e78214e18832e6;p=freeside.git diff --git a/httemplate/misc/batch-cust_pay.html b/httemplate/misc/batch-cust_pay.html index f2f446001..505f2d0ff 100644 --- a/httemplate/misc/batch-cust_pay.html +++ b/httemplate/misc/batch-cust_pay.html @@ -1,25 +1,37 @@ -<% include("/elements/header.html", 'Quick payment entry', - menubar( 'Main Menu' => $p ), - ) -%> -% if ( $cgi->param('error') ) { - - <% $cgi->param('error') %>

-% } +<% include('/elements/header.html', 'Quick payment entry') %> +<% include('/elements/error.html') %> + -
+ -<% include( "elements/customer-table.html", - header => [ '', 'Amount', 'Check #', '' ], - fields => [ sub {'$'}, 'paid', 'payinfo', 'error', ], - types => [ 'immutable', '', '', 'immutable', ], - sizes => [ 0, 8, 10, 0, ], - param => { () }, - ) %> +<% include( "/elements/customer-table.html", + name_singular => 'payment', + header => [ '', 'Amount', 'Check #', '' ], + fields => [ sub {'$'}, 'paid', 'payinfo', 'error', ], + types => [ 'immutable', '', '', 'immutable', ], + align => [ 'c', 'r', 'r', 'l' ], + sizes => [ 0, 8, 10, 0, ], + colors => [ '', '', '', '#ff0000' ], + param => { () }, + footer => [ '$', '_TOTAL', '', '' ], + footer_align => [ 'c', 'r', 'r', '' ], + ) +%> @@ -28,5 +40,12 @@
- - + +<% include('/elements/footer.html') %> + +<%init> + +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right('Post payment batch'); + +