mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 22:37:28 -08:00
Nicer styling for purchase cost in edit form
Made it more consistent with the warranty months foeld below it
This commit is contained in:
parent
4f4920615c
commit
65353fa422
|
@ -1,17 +1,20 @@
|
||||||
<!-- Purchase Cost -->
|
<!-- Purchase Cost -->
|
||||||
<div class="form-group {{ $errors->has('purchase_cost') ? ' has-error' : '' }}">
|
<div class="form-group {{ $errors->has('purchase_cost') ? ' has-error' : '' }}">
|
||||||
<label for="purchase_cost" class="col-md-3 control-label">{{ trans('general.purchase_cost') }} </label>
|
<label for="purchase_cost" class="col-md-3 control-label">{{ trans('general.purchase_cost') }}</label>
|
||||||
<div class="col-md-2">
|
<div class="col-md-9">
|
||||||
<div class="input-group">
|
<div class="input-group col-md-3" style="padding-left: 0px;">
|
||||||
<span class="input-group-addon">
|
<input class="form-control" type="text" name="purchase_cost" id="purchase_cost" value="{{ Input::old('purchase_cost', \App\Helpers\Helper::formatCurrencyOutput($item->purchase_cost)) }}" />
|
||||||
|
<span class="input-group-addon">
|
||||||
@if (isset($currency_type))
|
@if (isset($currency_type))
|
||||||
{{ $currency_type }}
|
{{ $currency_type }}
|
||||||
@else
|
@else
|
||||||
{{ $snipeSettings->default_currency }}
|
{{ $snipeSettings->default_currency }}
|
||||||
@endif
|
@endif
|
||||||
</span>
|
</span>
|
||||||
<input class="col-md-2 form-control" type="text" name="purchase_cost" id="purchase_cost" value="{{ Input::old('purchase_cost', \App\Helpers\Helper::formatCurrencyOutput($item->purchase_cost)) }}" />
|
</div>
|
||||||
{!! $errors->first('purchase_cost', '<span class="alert-msg"><i class="fa fa-times"></i> :message</span>') !!}
|
<div class="col-md-9" style="padding-left: 0px;">
|
||||||
</div>
|
{!! $errors->first('purchase_cost', '<span class="alert-msg"><i class="fa fa-times"></i> :message</span>') !!}
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue