@@ -18,13 +18,13 @@ |
||
18 | 18 | |
19 | 19 | $total = $this->createModel()->count(); |
20 | 20 | $signedLastWeek = $this->createModel() |
21 | - ->where('created_at', '>=', $weekAgo)->count(); |
|
21 | + ->where('created_at', '>=', $weekAgo)->count(); |
|
22 | 22 | $signedLastMonth = $this->createModel() |
23 | - ->where('created_at', '>=', $monthAgo)->count(); |
|
23 | + ->where('created_at', '>=', $monthAgo)->count(); |
|
24 | 24 | $signedStatistics = $this->createModel() |
25 | - ->where('created_at', '>=', $monthAgo) |
|
26 | - ->select([DB::raw('COUNT(id) AS cnt'), DB::raw('DATE(created_at) as dt')]) |
|
27 | - ->groupBy('dt')->pluck('cnt', 'dt'); |
|
25 | + ->where('created_at', '>=', $monthAgo) |
|
26 | + ->select([DB::raw('COUNT(id) AS cnt'), DB::raw('DATE(created_at) as dt')]) |
|
27 | + ->groupBy('dt')->pluck('cnt', 'dt'); |
|
28 | 28 | |
29 | 29 | return view(Architect::template()->dashboard('members'), [ |
30 | 30 | 'total' => $total, |