projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
don't include the _next_ day, just the full ending day
[freeside.git]
/
httemplate
/
search
/
cust_bill_event.cgi
diff --git
a/httemplate/search/cust_bill_event.cgi
b/httemplate/search/cust_bill_event.cgi
index
9cb36d2
..
ec952ea
100644
(file)
--- a/
httemplate/search/cust_bill_event.cgi
+++ b/
httemplate/search/cust_bill_event.cgi
@@
-4,10
+4,10
@@
#false laziness with view/cust_bill.cgi
$cgi->param('beginning') =~ /^([ 0-9\-\/]{0,10})$/;
#false laziness with view/cust_bill.cgi
$cgi->param('beginning') =~ /^([ 0-9\-\/]{0,10})$/;
-my $beginning = str2time($1);
+my $beginning = str2time($1)
|| 0
;
$cgi->param('ending') =~ /^([ 0-9\-\/]{0,10})$/;
$cgi->param('ending') =~ /^([ 0-9\-\/]{0,10})$/;
-my $ending = str2time($1) + 86
400
;
+my $ending = str2time($1) + 86
399
;
my @cust_bill_event =
sort { $a->_date <=> $b->_date }
my @cust_bill_event =
sort { $a->_date <=> $b->_date }