Skip to content

A free open source IT asset/license management system

Finished quickscan checkin conversion to blade components

snipe05c9cf003cf5
diff --git a/resources/views/hardware/quickscan-checkin.blade.php b/resources/views/hardware/quickscan-checkin.blade.php
index 9ebd6daca3..cfced69d93 100644
--- a/resources/views/hardware/quickscan-checkin.blade.php
+++ b/resources/views/hardware/quickscan-checkin.blade.php
@@ -81,19 +81,18 @@
</x-slot:input>
</x-form.row>
- {{-- Location --}}
- @include('partials.forms.edit.location-select', ['translated_name' => trans('general.location'), 'fieldname' => 'location_id'])
+ <x-input.location-select
+ :label="trans('general.location')"
+ name="location_id"
+ :selected="old('location_id')"
+ />
- {{-- Note --}}
<x-form.row
:label="trans('admin/hardware/form.notes')"
name="note"
+ type="textarea"
input_div_class="col-md-8"
- >
- <x-slot:input>
- <textarea class="col-md-6 form-control" id="note" name="note">{{ old('note') }}</textarea>
- </x-slot:input>
- </x-form.row>
+ />
{{-- Clear name on successful checkin --}}
<x-form.checkbox-row