summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2005-12-25 01:57:15 +0000
committerivan <ivan>2005-12-25 01:57:15 +0000
commit9cbacc11da67edfe35756d569f7797dc0d3fed36 (patch)
tree7f20e81e9fd66aff191106a449e29486a3684032
parent3213e7c1e281dbdba8baa980028482df3b9c1873 (diff)
correct end date display for "now"
-rwxr-xr-xhttemplate/search/report_tax.cgi3
1 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/search/report_tax.cgi b/httemplate/search/report_tax.cgi
index b73910a..cf5306c 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 )
),