2017-11-21 15:58:31 -08:00
|
|
|
<div class="form-group" id="assignto_selector"{!! (isset($style)) ? ' style="'.e($style).'"' : '' !!}>
|
2020-04-01 00:15:33 -07:00
|
|
|
{{ Form::label('checkout_to_type', trans('admin/hardware/form.checkout_to'), array('class' => 'col-md-3 control-label')) }}
|
2017-11-21 15:58:31 -08:00
|
|
|
<div class="col-md-8">
|
|
|
|
<div class="btn-group" data-toggle="buttons">
|
2017-11-22 07:07:18 -08:00
|
|
|
@if ((isset($user_select)) && ($user_select!='false'))
|
2017-11-21 15:58:31 -08:00
|
|
|
<label class="btn btn-default active">
|
2021-09-26 01:11:08 -07:00
|
|
|
<input name="checkout_to_type" value="user" aria-label="checkout_to_type" type="radio" checked="checked"><i class="fas fa-user" aria-hidden="true"></i> {{ trans('general.user') }}
|
2017-11-21 15:58:31 -08:00
|
|
|
</label>
|
2017-11-22 07:07:18 -08:00
|
|
|
@endif
|
|
|
|
@if ((isset($asset_select)) && ($asset_select!='false'))
|
2017-11-21 15:58:31 -08:00
|
|
|
<label class="btn btn-default">
|
2021-09-26 01:11:08 -07:00
|
|
|
<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') }}
|
2017-11-21 15:58:31 -08:00
|
|
|
</label>
|
2017-11-22 07:07:18 -08:00
|
|
|
@endif
|
|
|
|
@if ((isset($location_select)) && ($location_select!='false'))
|
2017-11-21 15:58:31 -08:00
|
|
|
<label class="btn btn-default">
|
2021-09-24 14:30:36 -07:00
|
|
|
<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') }}
|
2017-11-21 15:58:31 -08:00
|
|
|
</label>
|
2017-11-22 07:07:18 -08:00
|
|
|
@endif
|
2017-11-27 21:16:25 -08:00
|
|
|
|
2021-09-26 01:11:08 -07:00
|
|
|
{!! $errors->first('checkout_to_type', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}
|
2017-11-21 15:58:31 -08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|