|
|
|
|
@ -105,10 +105,13 @@ class HomeController extends CommonController
|
|
|
|
|
'total' => (new Orders())->ofProject($project_id)->where('created_at', 'like', $month . '%')->count()
|
|
|
|
|
];
|
|
|
|
|
}
|
|
|
|
|
dump($lies);
|
|
|
|
|
dump($saleList);
|
|
|
|
|
dump($orderList);
|
|
|
|
|
if (is_mobile()) {
|
|
|
|
|
return view($this->bladePath . ".mobile_home");
|
|
|
|
|
} else {
|
|
|
|
|
return view($this->bladePath . ".home", compact('projects','counts', 'lies', 'saleList', 'orderList'));
|
|
|
|
|
return view($this->bladePath . ".home", compact('counts', 'lies', 'saleList', 'orderList'));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|