new handling of events

This commit is contained in:
asus
2024-04-10 14:45:09 +02:00
parent 088c8f8c39
commit 114c6bfe38
4 changed files with 178 additions and 13 deletions

View File

@@ -305,11 +305,9 @@ contactez la fipf directement",
const DURATION_CARD_VALIDITY = '+1 year'; // string : time of validity of the card (ex: '1 month' or '1 year' or '60 days')
const DURATION_OLD_ORDER_ID = '+3 days';
const DURATION_ACCOUNT_DELETE_AFTER_EXPIRE = '+6 months';
const DURATION_REMINDER_BEFORE_ACCOUNT_EXPIRE_FIRST = '-30 days';
const DURATION_REMINDER_BEFORE_ACCOUNT_EXPIRE_LAST = '-7 days';
const DURATION_REMINDER_BEFORE_ACCOUNT_DELETE_FIRST = '-30 days';
const DURATION_REMINDER_BEFORE_ACCOUNT_DELETE_LAST = '-7 days';
const DURATION_REMINDER_BEFORE_OFFER_EXPIRE = '-7 days';
const DURATION_REMINDERS_BEFORE_ACCOUNT_EXPIRE = ['-30 days', '-7 days'];
const DURATION_REMINDERS_BEFORE_ACCOUNT_DELETE = ['-30 days', '-7 days'];
const DURATION_REMINDERS_BEFORE_OFFER_EXPIRE = ['-7 days'];
// OTHER
const CARD_RENEW_PERIOD = 31; // int : number of days before expiration when renew card start to be possible