projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add condition on "Invoice is newer than last payment type change", RT#31185
[freeside.git]
/
FS
/
FS
/
part_event
/
Condition
/
cust_bill_age_before_payby.pm
diff --git
a/FS/FS/part_event/Condition/cust_bill_age_before_payby.pm
b/FS/FS/part_event/Condition/cust_bill_age_before_payby.pm
index
273f508
..
96d9da8
100644
(file)
--- a/
FS/FS/part_event/Condition/cust_bill_age_before_payby.pm
+++ b/
FS/FS/part_event/Condition/cust_bill_age_before_payby.pm
@@
-20,7
+20,7
@@
sub condition {
#my $cust_main = $cust_bill->cust_main;
my $change_date = 0;
#my $cust_main = $cust_bill->cust_main;
my $change_date = 0;
- my $newest =
4294967295; #2^32-1
+ my $newest =
2147483647; #2038 problem, because the field does
#this is pretty expensive, it would be way more efficient to check for
# changed payby in SQL
#this is pretty expensive, it would be way more efficient to check for
# changed payby in SQL