Sfoglia il codice sorgente

[producer] Correctif chargement des points de vente

dev
Guillaume 3 anni fa
parent
commit
bd6a1c966d
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      producer/controllers/OrderController.php

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

@@ -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]);
}
]) ;
}

Loading…
Annulla
Salva