Ver código fonte

[producer] Correctif chargement des points de vente

dev
Guillaume 3 anos atrás
pai
commit
bd6a1c966d
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      producer/controllers/OrderController.php

+ 1
- 1
producer/controllers/OrderController.php Ver arquivo

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

Carregando…
Cancelar
Salvar