This website works better with JavaScript.
Home
Explore
Help
Sign In
Laclic
/
Souke
Watch
5
Star
0
Fork
1
Code
Issues
1
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
[backend] Produit : available_on_points_sale = 1 par défaut
refactoring
Guillaume
2 years ago
parent
395a00a0b1
commit
f3dfe497d3
1 changed files
with
1 additions
and
0 deletions
Split View
Show Diff Stats
+1
-0
backend/controllers/ProductController.php
+ 1
- 0
backend/controllers/ProductController.php
View File
@@ -122,6 +122,7 @@ class ProductController extends BackendController
$model->friday = 1 ;
$model->saturday = 1 ;
$model->sunday = 1 ;
$model->available_on_points_sale = 1 ;
if ($model->load(Yii::$app->request->post()) && $model->save()) {
Write
Preview
Loading…
Cancel
Save