Pārlūkot izejas kodu

[producer] Correctif chargement des points de vente

refactoring
Guillaume pirms 3 gadiem
vecāks
revīzija
bd6a1c966d
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      producer/controllers/OrderController.php

+ 1
- 1
producer/controllers/OrderController.php Parādīt failu

@@ -814,7 +814,7 @@ class OrderController extends ProducerBaseController

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

Notiek ielāde…
Atcelt
Saglabāt