Skip to content

A free open source IT asset/license management system

first front end

akemidxb1de98f05d72
diff --git a/resources/views/reports/custom.blade.php b/resources/views/reports/custom.blade.php
index 01eb13ad8f..c51caf90f9 100644
--- a/resources/views/reports/custom.blade.php
+++ b/resources/views/reports/custom.blade.php
@@ -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">