瀏覽代碼

Merge branch 'dev'

master
Guillaume 4 年之前
父節點
當前提交
eb6001d3ee
共有 1 個文件被更改,包括 6 次插入2 次删除
  1. +6
    -2
      producer/controllers/OrderController.php

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

'date' => $date, 'date' => $date,
'id_producer' => GlobalParam::getCurrentProducerId() 'id_producer' => GlobalParam::getCurrentProducerId()
]); ]);
if ($distribution) {
$params['date'] = $date;

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



Loading…
取消
儲存