|
|
|
|
|
|
|
|
* @property boolean online_payment |
|
|
* @property boolean online_payment |
|
|
* @property string mentions |
|
|
* @property string mentions |
|
|
* @property string gcs |
|
|
* @property string gcs |
|
|
|
|
|
* @property boolean option_allow_user_gift |
|
|
*/ |
|
|
*/ |
|
|
class Producer extends ActiveRecordCommon |
|
|
class Producer extends ActiveRecordCommon |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
}], |
|
|
}], |
|
|
[['description','mentions','gcs','order_infos','slug','secret_key_payplug'], 'string'], |
|
|
[['description','mentions','gcs','order_infos','slug','secret_key_payplug'], 'string'], |
|
|
[['negative_balance', 'credit', 'active','online_payment','user_manage_subscription'], 'boolean'], |
|
|
|
|
|
|
|
|
[['negative_balance', 'credit', 'active','online_payment','user_manage_subscription', 'option_allow_user_gift'], 'boolean'], |
|
|
[['name', 'siret', 'logo', 'photo', 'postcode', 'city', 'code','type'], 'string', 'max' => 255], |
|
|
[['name', 'siret', 'logo', 'photo', 'postcode', 'city', 'code','type'], 'string', 'max' => 255], |
|
|
[['free_price', 'credit_limit_reminder'], 'double'], |
|
|
[['free_price', 'credit_limit_reminder'], 'double'], |
|
|
['free_price', 'compare', 'compareValue' => 0, 'operator' => '>=', 'type' => 'number', 'message' => 'Prix libre doit être supérieur ou égal à 0'], |
|
|
['free_price', 'compare', 'compareValue' => 0, 'operator' => '>=', 'type' => 'number', 'message' => 'Prix libre doit être supérieur ou égal à 0'], |
|
|
|
|
|
|
|
|
'user_manage_subscription' => 'Autoriser les utilisateurs à gérer leurs abonnements', |
|
|
'user_manage_subscription' => 'Autoriser les utilisateurs à gérer leurs abonnements', |
|
|
'mentions' => 'Mentions légales', |
|
|
'mentions' => 'Mentions légales', |
|
|
'gcs' => 'Conditions générales de vente', |
|
|
'gcs' => 'Conditions générales de vente', |
|
|
|
|
|
'option_allow_user_gift' => 'Autoriser les utilisateurs à effectuer un don à la plateforme lors de leur commande', |
|
|
]; |
|
|
]; |
|
|
} |
|
|
} |
|
|
|
|
|
|