3094e007ee
Signed-off-by: snipe <snipe@snipe.net>
32 lines
1.8 KiB
PHP
32 lines
1.8 KiB
PHP
<div class="form-group" id="assignto_selector"{!! (isset($style)) ? ' style="'.e($style).'"' : '' !!}>
|
|
<label for="checkout_to_type" class="col-md-3 control-label">{{ trans('admin/hardware/form.checkout_to') }}</label>
|
|
<div class="col-md-8">
|
|
|
|
<div class="btn-group" data-toggle="buttons">
|
|
@if ((isset($user_select)) && ($user_select!='false'))
|
|
<label class="btn btn-default{{ session('checkout_to_type') == 'user' ? ' active' : '' }}">
|
|
<input name="checkout_to_type" value="user" aria-label="checkout_to_type" type="radio" checked="checked">
|
|
<x-icon type="user" />
|
|
{{ trans('general.user') }}
|
|
</label>
|
|
@endif
|
|
@if ((isset($asset_select)) && ($asset_select!='false'))
|
|
<label class="btn btn-default{{ session('checkout_to_type') == 'asset' ? ' active' : '' }}">
|
|
<input name="checkout_to_type" value="asset" aria-label="checkout_to_type" type="radio">
|
|
<i class="fas fa-barcode" aria-hidden="true"></i>
|
|
{{ trans('general.asset') }}
|
|
</label>
|
|
@endif
|
|
@if ((isset($location_select)) && ($location_select!='false'))
|
|
<label class="btn btn-default{{ session('checkout_to_type') == 'location' ? ' active' : '' }}">
|
|
<input name="checkout_to_type" value="location" aria-label="checkout_to_type" class="active" type="radio">
|
|
<i class="fas fa-map-marker-alt" aria-hidden="true"></i>
|
|
{{ trans('general.location') }}
|
|
</label>
|
|
@endif
|
|
|
|
{!! $errors->first('checkout_to_type', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}
|
|
</div>
|
|
</div>
|
|
</div>
|