Browse Source

[producer] Correctif chargement des points de vente

dev
Guillaume 3 years ago
parent
commit
bd6a1c966d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      producer/controllers/OrderController.php

+ 1
- 1
producer/controllers/OrderController.php View File



if($distribution) { if($distribution) {
$pointsSaleArray = $pointsSaleArray->joinWith(['pointSaleDistribution' => function ($query) use ($distribution) { $pointsSaleArray = $pointsSaleArray->joinWith(['pointSaleDistribution' => function ($query) use ($distribution) {
$query->where(['id_distribution' => $distribution->id]);
$query->where(['id_distribution' => $distribution->id, 'delivery' => 1]);
} }
]) ; ]) ;
} }

Loading…
Cancel
Save