backend works, no save yet

This commit is contained in:
akemidx
2025-08-19 14:30:26 -04:00
parent a80f52cbf4
commit 84fc89250a
2 changed files with 3 additions and 4 deletions
+1 -2
View File
@@ -742,8 +742,7 @@ class ReportsController extends Controller
if(($request->filled('last_updated_before'))){
$lastupdatedwindow = Carbon::parse(today()->subDays($request->input('last_updated_before')));
$assets->whereBetween('assets.updated_at', [(date( "Y-m-d", 1990-01-01)), $lastupdatedwindow]);
dd($lastupdatedwindow);
$assets->whereBetween('assets.updated_at', [(date( "Y-m-d", 1900-01-01)), $lastupdatedwindow]);
}
if ($request->filled('exclude_archived')) {
+2 -2
View File
@@ -567,10 +567,10 @@
<!-- Last Updated before -->
<div class="form-group">
<label for="last_updated_before" class="col-md-3 control-label">{{ trans('general.updated_before' ) }}</label>
<label for="last_updated_before" class="col-md-3 control-label">{{ trans('general.updated_before') }}</label>
<div class="input-group col-md-3">
{{-- <input class="form-control" type="number" name="last_updated_before" value="{{ $template->textValue('last_updated_before'), old('last_updated_before') }}" aria-label="last_updated_before">--}}
<select>
<select class="form-control" type="number" name="last_updated_before" value="{{ $template->textValue('last_updated_before'), old('last_updated_before') }}" aria-label="last_updated_before">
<option value="30">30 {{ trans('general.days_ago' ) }}</option>
<option value="60">60 {{ trans('general.days_ago' ) }}</option>
<option value="90">90 {{ trans('general.days_ago' ) }}</option>