From cf6c601bcf52e16cbc7fce18b008f627fb46ff2d Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Fri, 19 Mar 2021 21:36:13 +0900 Subject: [PATCH] namespace --- .../AfterActionReports/AfterActionReportsController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/AfterActionReports/AfterActionReportsController.php b/app/Http/Controllers/AfterActionReports/AfterActionReportsController.php index 110880a9b..83c8694fc 100644 --- a/app/Http/Controllers/AfterActionReports/AfterActionReportsController.php +++ b/app/Http/Controllers/AfterActionReports/AfterActionReportsController.php @@ -76,7 +76,7 @@ class AfterActionReportsController extends Controller public function DisplayAllReports() { //Grab all the reports - $reports = AfterActionReports::where('created_at', '>=', Carbon::now()->subDays(30)); + $reports = AfterActionReport::where('created_at', '>=', Carbon::now()->subDays(30)); $comments = AfterActionReportComment::where('created_at', '>=', Carbon::now()->subDays(30)); return view('reports.user.displayreports')->with('reports', $reports)