Browse Source

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

prodstable
keun 7 years ago
parent
commit
0f0c642587
1 changed files with 4 additions and 6 deletions
  1. +4
    -6
      backend/controllers/CommandeController.php

+ 4
- 6
backend/controllers/CommandeController.php View File

@@ -289,12 +289,10 @@ class CommandeController extends BackendController {
])
->count() ;
ProductionPointVente::setAll($production->id, true) ;
}
if(!$count_productions_point_vente)
{
ProductionPointVente::setAll() ;
if(!$count_productions_point_vente)
{
ProductionPointVente::setAll($production->id, true) ;
}
}

// produits

Loading…
Cancel
Save