From f47bc5ea7d3876b6223096a742ee69a6b8af4c03 Mon Sep 17 00:00:00 2001 From: snipe Date: Sun, 23 Jun 2024 19:40:52 +0100 Subject: [PATCH] Updated hardware checkin Signed-off-by: snipe --- resources/views/hardware/checkin.blade.php | 34 +++++++++++++--------- 1 file changed, 21 insertions(+), 13 deletions(-) diff --git a/resources/views/hardware/checkin.blade.php b/resources/views/hardware/checkin.blade.php index 9bd88f3f4f..7b52cf8614 100755 --- a/resources/views/hardware/checkin.blade.php +++ b/resources/views/hardware/checkin.blade.php @@ -33,15 +33,16 @@ @if ($backto == 'user')
@else - + @endif {{csrf_field()}}
- {{ Form::label('model', trans('admin/hardware/form.model'), array('class' => 'col-md-3 control-label')) }} -
+ +

@if (($asset->model) && ($asset->model->name)) @@ -63,16 +64,20 @@

- {{ Form::label('name', trans('admin/hardware/form.name'), array('class' => 'col-md-3 control-label')) }} -
- - {!! $errors->first('name', '') !!} -
+ +
+ + {!! $errors->first('name', '') !!} +
- {{ Form::label('status_id', trans('admin/hardware/form.status'), array('class' => 'col-md-3 control-label')) }} +
{{ Form::select('status_id', $statusLabel_list, '', array('class'=>'select2', 'style'=>'width:100%','id' =>'modal-statuslabel_types', 'aria-label'=>'status_id')) }} {!! $errors->first('status_id', '') !!} @@ -83,8 +88,9 @@
- - {{ Form::label('checkin_at', trans('admin/hardware/form.checkin_date'), array('class' => 'col-md-3 control-label')) }} +
@@ -99,7 +105,9 @@
- {{ Form::label('note', trans('admin/hardware/form.notes'), array('class' => 'col-md-3 control-label')) }} +
{!! $errors->first('note', '') !!}