mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-14 09:34:10 -08:00
61f16f47a2
Signed-off-by: snipe <snipe@snipe.net>
21 lines
1 KiB
PHP
21 lines
1 KiB
PHP
<!-- Purchase Cost -->
|
|
<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>
|
|
<div class="col-md-9">
|
|
<div class="input-group col-md-4" style="padding-left: 0px;">
|
|
<input class="form-control" type="text" name="purchase_cost" aria-label="purchase_cost" id="purchase_cost" value="{{ old('purchase_cost', Helper::formatCurrencyOutput($item->purchase_cost)) }}" />
|
|
<span class="input-group-addon">
|
|
@if (isset($currency_type))
|
|
{{ $currency_type }}
|
|
@else
|
|
{{ $snipeSettings->default_currency }}
|
|
@endif
|
|
</span>
|
|
</div>
|
|
<div class="col-md-9" style="padding-left: 0px;">
|
|
{!! $errors->first('purchase_cost', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|