summaryrefslogtreecommitdiff
path: root/FS/FS/Cron/notify.pm
diff options
context:
space:
mode:
Diffstat (limited to 'FS/FS/Cron/notify.pm')
-rw-r--r--FS/FS/Cron/notify.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/FS/FS/Cron/notify.pm b/FS/FS/Cron/notify.pm
index 371065094..622f15f6b 100644
--- a/FS/FS/Cron/notify.pm
+++ b/FS/FS/Cron/notify.pm
@@ -42,6 +42,11 @@ sub notify_flat_delay {
or cust_pkg.expire > $time
+ cast(part_pkg_option.optionvalue as integer)
* 86400
+/* and ( cust_pkg.adjourn is null
+ or cust_pkg.adjourn > $time
+-- Should notify suspended ones + cast(part_pkg_option.optionvalue as integer)
+ * 86400
+*/
)
)
)