X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fmisc%2Fbatch-cust_pay.html;h=e10a5f658da9d81e098a426d4c7a68b134deca6f;hb=a6bd5190b8b5434c6b59517fc6467491e00e2edb;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..e10a5f658 100644 --- a/httemplate/misc/batch-cust_pay.html +++ b/httemplate/misc/batch-cust_pay.html @@ -1,25 +1,24 @@ -<% 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 +27,12 @@
- - + +<% include('/elements/footer.html') %> + +<%init> + +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right('Post payment batch'); + +