From 3ce7691203a7737406bf2d4442f7fd84b81f847e Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 23 Aug 2006 22:25:39 +0000 Subject: Will things ever be the same again? It's the final masonize --- httemplate/misc/batch-cust_pay.html | 65 +++++++++++++++++++------------------ 1 file changed, 33 insertions(+), 32 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 ed093ac08..d85f3b6c3 100644 --- a/httemplate/misc/batch-cust_pay.html +++ b/httemplate/misc/batch-cust_pay.html @@ -1,14 +1,15 @@ -<%= include("/elements/header.html", 'Quick payment entry', +<% include("/elements/header.html", 'Quick payment entry', menubar( 'Main Menu' => $p, #popurl(1), ), ( $cgi->param('error') ? '' : 'onload="addRow()"' ), ) %> +% if ( $cgi->param('error') ) { + + <% $cgi->param('error') %>

+% } -<% if ( $cgi->param('error') ) { %> - <%= $cgi->param('error') %>

-<% } %>
@@ -237,60 +238,60 @@ Check # +% my $row = 0; +% if ( $cgi->param('error') ) { +% my $param = $cgi->Vars; +% +% for ( $row = 0; exists($param->{"custnum$row"}); $row++ ) { -<% my $row = 0; - if ( $cgi->param('error') ) { - my $param = $cgi->Vars; -%> - - <% for ( $row = 0; exists($param->{"custnum$row"}); $row++ ) { %> - " rownum="<%= $row %>"> + " rownum="<% $row %>"> - " rownum="<%= $row %>"> + " rownum="<% $row %>"> - - $" > + $" > - " > + " > - <% if ( $param->{"error$row"} ) { %> - Error: <%= $param->{"error$row"} %> - <% } %> +% if ( $param->{"error$row"} ) { + + Error: <% $param->{"error$row"} %> +% } + +% } +% } - <% } %> - -<% } %> @@ -303,7 +304,7 @@
-<%= include('/elements/xmlhttp.html', +<% include('/elements/xmlhttp.html', 'url' => $p. 'misc/xmlhttp-cust_main-search.cgi', 'subs' => [qw( custnum_search smart_search )], ) @@ -311,7 +312,7 @@