浏览代码

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


正在加载...
取消
保存