|
|
@@ -108,7 +108,7 @@ class User extends ActiveRecordCommon implements IdentityInterface |
|
|
|
[['no_mail', 'mail_distribution_monday', 'mail_distribution_tuesday', 'mail_distribution_wednesday', |
|
|
|
'mail_distribution_thursday', 'mail_distribution_friday', 'mail_distribution_saturday', |
|
|
|
'mail_distribution_sunday', 'is_main_contact', 'newsletter', 'exclude_export_shopping_cart_labels', |
|
|
|
'send_mail_welcome', 'trust_alert'], 'boolean'], |
|
|
|
'send_mail_welcome', 'trust_alert', 'newsletter_souke'], 'boolean'], |
|
|
|
[['lastname', 'name', 'phone', 'address', 'type', 'name_legal_person', 'evoliz_code', 'trust_alert_comment'], 'string'], |
|
|
|
['lastname', 'verifyOneName', 'skipOnError' => false, 'skipOnEmpty' => false], |
|
|
|
[['email', 'email_sending_invoicing_documents'], 'email', 'message' => 'Cette adresse email n\'est pas valide'], |
|
|
@@ -157,6 +157,7 @@ class User extends ActiveRecordCommon implements IdentityInterface |
|
|
|
'email_sending_invoicing_documents' => 'Email facturation', |
|
|
|
'trust_alert' => 'Alerte confiance', |
|
|
|
'trust_alert_comment' => 'Commentaire', |
|
|
|
'newsletter_souke' => 'Infolettre Souke' |
|
|
|
]; |
|
|
|
} |
|
|
|
|