updated taxes helper functions for the new model

This commit is contained in:
2021-03-14 22:18:34 +09:00
parent d66fa052fb
commit 0af6824866
5 changed files with 350 additions and 383 deletions
@@ -75,10 +75,8 @@ class AfterActionReportsController extends Controller
$comments = array();
//Grab all the reports
$reports = AfterActionReports::where('created_at', '>=', Carbon::now()->subDays(30));
$reports = AfterActionReports::where('created_at', '>=', Carbon::now()->subDays(30))->toArray();
return view('reports.user.displayreports');
return view('reports.user.displayreports')->with('reports', $reports);
}
}