Browse Source

Merge branch 'dev'

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

+ 1
- 1
producer/controllers/OrderController.php View 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…
Cancel
Save