projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add disable ability to conditions & disable cust_bill_has_service, so the condition...
[freeside.git]
/
FS
/
FS
/
part_event
/
Condition.pm
diff --git
a/FS/FS/part_event/Condition.pm
b/FS/FS/part_event/Condition.pm
index
0b9d579
..
3c0904c
100644
(file)
--- a/
FS/FS/part_event/Condition.pm
+++ b/
FS/FS/part_event/Condition.pm
@@
-152,6
+152,17
@@
sub condition_sql {
'true';
}
'true';
}
+=item disabled
+
+Condition classes may optionally define a disabled method. Returning a true
+value disbles the condition entirely.
+
+=cut
+
+sub disabled {
+ 0;
+}
+
=item implicit_flag
This is used internally by the I<once> and I<balance> conditions. You probably
=item implicit_flag
This is used internally by the I<once> and I<balance> conditions. You probably