|
|
|
|
@ -91,7 +91,7 @@ class HomeController extends CommonController
|
|
|
|
|
}
|
|
|
|
|
// 本月陪护订单
|
|
|
|
|
$monthAccompany = Project::get();
|
|
|
|
|
foreach ($income as $item) {
|
|
|
|
|
foreach ($monthAccompany as $item) {
|
|
|
|
|
$item->total = Orders::where('project_id', $item->id)
|
|
|
|
|
->where('created_at', 'like', '%' . date('Y-m') . '%')
|
|
|
|
|
->count();
|
|
|
|
|
|