cody 2 years ago
parent 5537fe9051
commit 1afe42beb5

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

Loading…
Cancel
Save