Преглед на файлове

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…
Отказ
Запис