Преглед изворни кода

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…
Откажи
Сачувај