From: ivan Date: Sun, 25 Dec 2005 01:57:15 +0000 (+0000) Subject: correct end date display for "now" X-Git-Tag: BEFORE_FINAL_MASONIZE~241 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=9cbacc11da67edfe35756d569f7797dc0d3fed36 correct end date display for "now" --- 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 ) ),