|
|
@@ -51,6 +51,7 @@ use common\components\ActiveRecordCommon ; |
|
|
|
* @property string $name |
|
|
|
* @property string $address |
|
|
|
* @property integer $id_producer |
|
|
|
* @property integer $default |
|
|
|
*/ |
|
|
|
class PointSale extends ActiveRecordCommon |
|
|
|
{ |
|
|
@@ -83,7 +84,7 @@ class PointSale extends ActiveRecordCommon |
|
|
|
'infos_saturday', 'infos_sunday','credit_functioning'], 'string'], |
|
|
|
[['point_production', 'credit', 'delivery_monday', 'delivery_tuesday', |
|
|
|
'delivery_wednesday', 'delivery_thursday', 'delivery_friday', |
|
|
|
'delivery_saturday', 'delivery_sunday'], 'boolean'], |
|
|
|
'delivery_saturday', 'delivery_sunday','default'], 'boolean'], |
|
|
|
['point_production', 'default', 'value' => 0], |
|
|
|
['id_producer', 'integer'], |
|
|
|
['id_producer', 'required'], |
|
|
@@ -119,7 +120,8 @@ class PointSale extends ActiveRecordCommon |
|
|
|
'delivery_saturday' => 'Samedi', |
|
|
|
'delivery_sunday' => 'Dimanche', |
|
|
|
'code' => 'Code', |
|
|
|
'credit_functioning' => 'Utilisation du Crédit par l\'utilisateur' |
|
|
|
'credit_functioning' => 'Utilisation du Crédit par l\'utilisateur', |
|
|
|
'default' => 'Point de vente par défaut', |
|
|
|
]; |
|
|
|
} |
|
|
|
|