From 9cbacc11da67edfe35756d569f7797dc0d3fed36 Mon Sep 17 00:00:00 2001 From: ivan Date: Sun, 25 Dec 2005 01:57:15 +0000 Subject: [PATCH] correct end date display for "now" --- httemplate/search/report_tax.cgi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/httemplate/search/report_tax.cgi b/httemplate/search/report_tax.cgi index b73910a48..cf5306c21 100755 --- a/httemplate/search/report_tax.cgi +++ b/httemplate/search/report_tax.cgi @@ -3,6 +3,7 @@ my $user = getotaker; my($beginning, $ending) = FS::UI::Web::parse_beginning_ending($cgi); +warn("***** $beginning $ending\n"); my $from_join_cust = " FROM cust_bill_pkg @@ -251,7 +252,7 @@ my $baselink = $p. "search/cust_bill_pkg.cgi?begin=$beginning;end=$ending"; <%= header( "$agentname Sales Tax Report - ". time2str('%h %o %Y through ', $beginning ). - ( $cgi->param('ending') == 4294967295 + ( $ending == 4294967295 ? 'now' : time2str('%h %o %Y', $ending ) ), -- 2.11.0