projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix "Invoice is newer than last payment type change" condition, RT#33766
[freeside.git]
/
FS
/
FS
/
part_event
/
Condition
/
once_every.pm
diff --git
a/FS/FS/part_event/Condition/once_every.pm
b/FS/FS/part_event/Condition/once_every.pm
index
a0d9d68
..
ef28078
100644
(file)
--- a/
FS/FS/part_event/Condition/once_every.pm
+++ b/
FS/FS/part_event/Condition/once_every.pm
@@
-7,7
+7,7
@@
use FS::cust_event;
use base qw( FS::part_event::Condition );
use base qw( FS::part_event::Condition );
-sub description { "Don't run this event more than once in interval"; }
+sub description { "Don't run this event more than once in
the specified
interval"; }
# Runs the event at most "once every X".
# Runs the event at most "once every X".
@@
-31,7
+31,7
@@
sub condition {
'eventpart' => $self->eventpart,
'tablenum' => $tablenum,
'status' => { op=>'!=', value=>'failed' },
'eventpart' => $self->eventpart,
'tablenum' => $tablenum,
'status' => { op=>'!=', value=>'failed' },
- '_date' => { op=>'>
=',
value=>$max_date },
+ '_date' => { op=>'>
',
value=>$max_date },
},
'extra_sql' => ( $opt{'cust_event'}->eventnum =~ /^(\d+)$/
? " AND eventnum != $1 "
},
'extra_sql' => ( $opt{'cust_event'}->eventnum =~ /^(\d+)$/
? " AND eventnum != $1 "