first front end

This commit is contained in:
akemidx
2025-09-09 19:18:29 -04:00
parent 6731e44a0d
commit b1de98f05d

View File

@@ -426,7 +426,25 @@
</div>
<!-- Created Date -->
<!-- Purchase Price -->
<div class="form-group purchase-range{{ ($errors->has('purchase_price_start') || $errors->has('purchase_price_end')) ? ' has-error' : '' }}">
<label for="purchase_price_start" class="col-md-3 control-label">{{ trans('admin/hardware/form.cost') }}</label>
<div class="input-group col-md-7">
<input type="number" min="0" class="form-control" name="purchase_price_start" aria-label="purchase_price_start" value="{{ $template->textValue('purchase_price_start', old('purchase_price_start')) }}">
<span class="input-group-addon">{{ strtolower(trans('general.to')) }}</span>
<input type="text" class="form-control" name="purchase_price_end" aria-label="purchase_price_end" value="{{ $template->textValue('purchase_price_end', old('purchase_price_end')) }}">
</div>
@if ($errors->has('purchase_price_start') || $errors->has('purchase_price_end'))
<div class="col-md-9 col-lg-offset-3">
{!! $errors->first('purchase_price_start', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}
{!! $errors->first('purchase_price_end', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}
</div>
@endif
</div>
<!-- Created Date -->
<div class="form-group created-range{{ ($errors->has('created_start') || $errors->has('created_end')) ? ' has-error' : '' }}">
<label for="created_start" class="col-md-3 control-label">{{ trans('general.created_at') }} </label>
<div class="input-daterange input-group col-md-7" id="created-range-datepicker">