2023-10-22 09:32:20 -07:00
|
|
|
<!-- EOL Date -->
|
2023-01-22 00:45:33 -08:00
|
|
|
<div class="form-group {{ $errors->has('asset_eol_date') ? ' has-error' : '' }}">
|
|
|
|
<label for="asset_eol_date" class="col-md-3 control-label">{{ trans('admin/hardware/form.eol_date') }}</label>
|
|
|
|
<div class="input-group col-md-4">
|
|
|
|
<div class="input-group date" data-provide="datepicker" data-date-clear-btn="true" data-date-format="yyyy-mm-dd" data-autoclose="true">
|
2023-10-22 09:32:20 -07:00
|
|
|
<input type="text" class="form-control" placeholder="{{ trans('general.select_date') }}" name="asset_eol_date" id="asset_eol_date" readonly value="{{ old('asset_eol_date', optional($item->asset_eol_date)->format('Y-m-d') ?? $item->asset_eol_date ?? '') }}" style="background-color:inherit" />
|
2024-08-18 10:24:26 -07:00
|
|
|
<span class="input-group-addon"><x-icon type="calendar" /></span>
|
2023-01-22 00:45:33 -08:00
|
|
|
</div>
|
|
|
|
{!! $errors->first('asset_eol_date', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}
|
|
|
|
</div>
|
|
|
|
</div>
|