Pārlūkot izejas kodu

Merge branch 'dev'

prodstable
Guillaume pirms 4 gadiem
vecāks
revīzija
eb6001d3ee
1 mainītis faili ar 6 papildinājumiem un 2 dzēšanām
  1. +6
    -2
      producer/controllers/OrderController.php

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

@@ -87,8 +87,12 @@ class OrderController extends ProducerBaseController
'date' => $date,
'id_producer' => GlobalParam::getCurrentProducerId()
]);
if ($distribution) {
$params['date'] = $date;

if($distribution) {
$distributionsArray = Distribution::filterDistributionsByDateDelay([$distribution]) ;
if (count($distributionsArray) == 1) {
$params['date'] = $date;
}
}
}


Notiek ielāde…
Atcelt
Saglabāt