add newsletter

This commit is contained in:
2016-05-20 08:16:30 +02:00
parent 0b866917d5
commit e51f4a5934
27 changed files with 1120 additions and 16 deletions

View File

@@ -33,6 +33,7 @@ use common\components\Helper;
* @property string $updated_at
* @property string $cardNumber
* @property integer $warn_mail_ticket_expire_enabled
* @property integer $newsletter
*/
class CustomerCreate extends \common\models\Customer
{
@@ -109,7 +110,7 @@ class CustomerCreate extends \common\models\Customer
[['photo_data'] ,'safe'],
[['birth_place'] ,'safe'],
[['mother_name'] ,'safe'],
[['warn_mail_ticket_expire_enabled'],'integer']
[['warn_mail_ticket_expire_enabled','newsletter'],'integer']
// [['email','phone'], 'validateEmailOrPhoneRequired' ],
];
}