|
|
|
|
@ -418,7 +418,10 @@ class StatisticsController extends CommonController
|
|
|
|
|
$item->lies = $this->getLies($bedIds, $productItem, $factor, $month);
|
|
|
|
|
}
|
|
|
|
|
// 获取所有列
|
|
|
|
|
$lie = array_column($data[0]->lies, 'name');
|
|
|
|
|
$lie = [];
|
|
|
|
|
if(isset($data[0]->lies)){
|
|
|
|
|
$lie = array_column($data[0]->lies, 'name');
|
|
|
|
|
}
|
|
|
|
|
$months = $this->_getMonths();
|
|
|
|
|
|
|
|
|
|
return view($this->bladePath . ".huli", compact("sumOrderTotal","data", "month", "lie", "projects", "project_id"));
|
|
|
|
|
|