this WILL break. i'm back to site not found which is something missing. otherwise the columns are either blank or another value like expected checkin i was using to test a bit

This commit is contained in:
akemidx
2023-07-11 14:08:55 -04:00
parent 0f76eda4af
commit 499a3debcd
2 changed files with 21 additions and 1 deletions
@@ -649,6 +649,10 @@ class ReportsController extends Controller
$assets->whereBetween('assets.expected_checkin', [$request->input('expected_checkin_start'), $request->input('expected_checkin_end')]);
}
if (($request->filled('eol')) && ($request->filled('eol'))) {
$assets->whereBetween('assets.eol', [$request->input('eol_start'), $request->input('eol_end')]);
}
if (($request->filled('last_audit_start')) && ($request->filled('last_audit_end'))) {
$assets->whereBetween('assets.last_audit_date', [$request->input('last_audit_start'), $request->input('last_audit_end')]);
}