From c9544281f45155587a54aa435500887d74e5c9f5 Mon Sep 17 00:00:00 2001 From: ivan Date: Fri, 23 Jan 2004 09:04:00 +0000 Subject: [PATCH] tidy up look --- httemplate/search/report_prepaid_income.cgi | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/httemplate/search/report_prepaid_income.cgi b/httemplate/search/report_prepaid_income.cgi index bcad93325..9f045738a 100644 --- a/httemplate/search/report_prepaid_income.cgi +++ b/httemplate/search/report_prepaid_income.cgi @@ -35,6 +35,8 @@ } + my @mon = qw(Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec); + %> <%= header('Prepaid Income Report', menubar( 'Main Menu'=>$p, ) ) %> @@ -52,8 +54,10 @@ for my $mon ( ( $subseq++ ? 1 : $now_mon ) .. 12 ) { if ( $prepaid{"$year-$mon"} ) { $total += $prepaid{"$year-$mon"}; - %> <%= "$year-$mon" %> - <%= sprintf("%.2f", $prepaid{"$year-$mon"} ) %> + %> <%= $mon[$mon-1]. ' '. $year %> + + <%= sprintf("%.2f", $prepaid{"$year-$mon"} ) %> + <% } @@ -62,7 +66,7 @@ } %> -Total<%= sprintf("%.2f", $total) %> +Total<%= sprintf("%.2f", $total) %> -- 2.11.0