Browse Source

[backend] Produit : available_on_points_sale = 1 par défaut

refactoring
Guillaume 2 years ago
parent
commit
f3dfe497d3
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      backend/controllers/ProductController.php

+ 1
- 0
backend/controllers/ProductController.php View File

$model->friday = 1 ; $model->friday = 1 ;
$model->saturday = 1 ; $model->saturday = 1 ;
$model->sunday = 1 ; $model->sunday = 1 ;
$model->available_on_points_sale = 1 ;


if ($model->load(Yii::$app->request->post()) && $model->save()) { if ($model->load(Yii::$app->request->post()) && $model->save()) {

Loading…
Cancel
Save