瀏覽代碼

Activer/désactiver les points de vente : adaptations (suite)

master
keun 7 年之前
父節點
當前提交
2d527e8faf
共有 1 個檔案被更改,包括 5 行新增5 行删除
  1. +5
    -5
      backend/controllers/CommandeController.php

+ 5
- 5
backend/controllers/CommandeController.php 查看文件

@@ -283,11 +283,11 @@ class CommandeController extends BackendController {
// production_point_vente à définir s'ils ne sont pas initialisés
if($production && $production->actif) {
$count_productions_point_vente = self::find()->
where([
'id_production' => $production->id
])
->count() ;
$count_productions_point_vente = ProductionPointVente::find()->
where([
'id_production' => $production->id
])
->count() ;
ProductionPointVente::setAll($production->id, true) ;
}

Loading…
取消
儲存