瀏覽代碼

Merge branch 'dev'

master
Guillaume 4 年之前
父節點
當前提交
eb6001d3ee
共有 1 個檔案被更改,包括 6 行新增2 行删除
  1. +6
    -2
      producer/controllers/OrderController.php

+ 6
- 2
producer/controllers/OrderController.php 查看文件

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


Loading…
取消
儲存