improved check before sending reminder emails
This commit is contained in:
@@ -80,10 +80,16 @@ class Cipf {
|
||||
const ACF_CARD_PAYMENT_STATE = ['_name'=>'etat_paiement', 'started'=>'en_cours', 'success'=>'reussi', 'failure'=>'echec', 'nothing'=>'aucun']; // radio button
|
||||
const ACF_ACCOUNT_STATE = ['_name'=>'etat_compte', 'new'=>'nouveau prof', 'to_pay'=>'doit payer', 'valid'=>'carte valide', 'waiting_invalid'=>'en attente invalide', 'waiting_valid'=>'en attente valide', 'expired'=>'carte expiree'];
|
||||
const ACF_TRANSFERT_STATE = ['_name'=>'etat_virement', 'success'=>'virement validé'];
|
||||
const ACF_PAGE_STATE = ['_name'=>'etat_page_partenaire', 'publish'=>'Publiee', 'draft'=>'Brouillon'];
|
||||
const ACF_CARD_ORDER_ID = ['_name'=>'order_id'];
|
||||
const ACF_HISTORY = ['_name'=>'history'];
|
||||
const ACF_HISTORY = ['_name'=>'historique'];
|
||||
const ACF_PROF_CHANGE_CARD = ['_name'=>'changement_de_carte'];
|
||||
const ACF_PAGE_STATE = ['_name'=>'etat_page_partenaire', 'publish'=>'Publiee', 'draft'=>'Brouillon'];
|
||||
const ACF_PARTNER_DATE_OFFER_1 = ['_name'=>'fin_offre_1'];
|
||||
const ACF_PARTNER_DATE_OFFER_2 = ['_name'=>'fin_offre_2'];
|
||||
const ACF_PARTNER_DATE_OFFER_3 = ['_name'=>'fin_offre_3'];
|
||||
const ACF_PARTNER_OFFER_1_DURATION = ['_name'=>'duree_offre_1', 'no-end'=>'Permanente', 'end'=>'Temporaire'];
|
||||
const ACF_PARTNER_OFFER_2_DURATION = ['_name'=>'duree_offre_2', 'no-end'=>'Permanente', 'end'=>'Temporaire'];
|
||||
const ACF_PARTNER_OFFER_3_DURATION = ['_name'=>'duree_offre_3', 'no-end'=>'Permanente', 'end'=>'Temporaire'];
|
||||
|
||||
// META
|
||||
const META_PAYEMENT_STATUS = 'cipf_payement_status';
|
||||
@@ -293,14 +299,15 @@ contactez la fipf directement",
|
||||
// FORMS
|
||||
const FORM_PROF_COMMANDE_ID = 'prof_commande';
|
||||
const FORM_PROF_TRANSFERT_ID = 'prof_valide_virement';
|
||||
const FORM_PARTNER_PAGE_ID = 'crea_partenaire';
|
||||
|
||||
// DURATIONS
|
||||
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 = '-1 month';
|
||||
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 = '-1 month';
|
||||
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';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user