diff options
author | ivan <ivan> | 2005-12-25 01:57:15 +0000 |
---|---|---|
committer | ivan <ivan> | 2005-12-25 01:57:15 +0000 |
commit | 9cbacc11da67edfe35756d569f7797dc0d3fed36 (patch) | |
tree | 7f20e81e9fd66aff191106a449e29486a3684032 /httemplate/search/report_tax.cgi | |
parent | 3213e7c1e281dbdba8baa980028482df3b9c1873 (diff) |
correct end date display for "now"
Diffstat (limited to 'httemplate/search/report_tax.cgi')
-rwxr-xr-x | httemplate/search/report_tax.cgi | 3 |
1 files changed, 2 insertions, 1 deletions
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 ) ), |