projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
minor cleanup
[freeside.git]
/
FS
/
FS
/
part_event
/
Condition
/
cust_bill_age.pm
diff --git
a/FS/FS/part_event/Condition/cust_bill_age.pm
b/FS/FS/part_event/Condition/cust_bill_age.pm
index
f343673
..
2295e02
100644
(file)
--- a/
FS/FS/part_event/Condition/cust_bill_age.pm
+++ b/
FS/FS/part_event/Condition/cust_bill_age.pm
@@
-23,7
+23,7
@@
sub condition {
my $age = $self->option_age_from('age', $opt{'time'} );
my $age = $self->option_age_from('age', $opt{'time'} );
-
$cust_bill->_date
<= $age;
+
( $cust_bill->_date - 60 )
<= $age;
}
}
@@
-32,7
+32,7
@@
sub condition_sql {
my $age = $class->condition_sql_option_age_from('age', $opt{'time'} );
my $age = $class->condition_sql_option_age_from('age', $opt{'time'} );
- "
cust_bill._date
<= $age";
+ "
( cust_bill._date - 60 )
<= $age";
}
sub order_sql {
}
sub order_sql {