From 1293d137b061f097190eda53e4e78214e18832e6 Mon Sep 17 00:00:00 2001 From: jeff Date: Thu, 16 Aug 2007 13:40:46 +0000 Subject: support hours 'usage' tracking for our own internal use (#1733) --- httemplate/misc/batch-cust_pay.html | 379 +----------------------------------- 1 file changed, 8 insertions(+), 371 deletions(-) (limited to 'httemplate/misc/batch-cust_pay.html') diff --git a/httemplate/misc/batch-cust_pay.html b/httemplate/misc/batch-cust_pay.html index d85f3b6c3..f2f446001 100644 --- a/httemplate/misc/batch-cust_pay.html +++ b/httemplate/misc/batch-cust_pay.html @@ -1,8 +1,5 @@ <% include("/elements/header.html", 'Quick payment entry', - menubar( - 'Main Menu' => $p, #popurl(1), - ), - ( $cgi->param('error') ? '' : 'onload="addRow()"' ), + menubar( 'Main Menu' => $p ), ) %> % if ( $cgi->param('error') ) { @@ -16,284 +13,13 @@ - - - - - - - - - - - -% my $row = 0; -% if ( $cgi->param('error') ) { -% my $param = $cgi->Vars; -% -% for ( $row = 0; exists($param->{"custnum$row"}); $row++ ) { - - - - - - - - - - - - - - - -% } -% } - - -
Cust #CustomerAmountCheck #
- " rownum="<% $row %>"> - - - " rownum="<% $row %>"> - - - - - $" > - - " > - -% if ( $param->{"error$row"} ) { - - Error: <% $param->{"error$row"} %> -% } - -
+<% include( "elements/customer-table.html", + header => [ '', 'Amount', 'Check #', '' ], + fields => [ sub {'$'}, 'paid', 'payinfo', 'error', ], + types => [ 'immutable', '', '', 'immutable', ], + sizes => [ 0, 8, 10, 0, ], + param => { () }, + ) %> @@ -302,94 +28,5 @@ - - -<% include('/elements/xmlhttp.html', - 'url' => $p. 'misc/xmlhttp-cust_main-search.cgi', - 'subs' => [qw( custnum_search smart_search )], - ) -%> - - - -- cgit v1.2.1