Merge pull request #14632 from marcusmoore/bug/sc-25384

Added "select" option to top of data sources in new label engine
This commit is contained in:
snipe 2024-04-22 20:40:31 +01:00 committed by GitHub
commit 7ad6caf30a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View file

@ -245,6 +245,7 @@ return [
'select_all' => 'Select All', 'select_all' => 'Select All',
'search' => 'Search', 'search' => 'Search',
'select_category' => 'Select a Category', 'select_category' => 'Select a Category',
'select_datasource' => 'Select a Datasource',
'select_department' => 'Select a Department', 'select_department' => 'Select a Department',
'select_depreciation' => 'Select a Depreciation Type', 'select_depreciation' => 'Select a Depreciation Type',
'select_location' => 'Select a Location', 'select_location' => 'Select a Location',

View file

@ -306,6 +306,7 @@
<label style="grid-area: source-title">DataSource</label> <label style="grid-area: source-title">DataSource</label>
<select style="grid-area: source-field" x-model="option.datasource"> <select style="grid-area: source-field" x-model="option.datasource">
<optgroup label="Asset"> <optgroup label="Asset">
<option value="" disabled>{{ trans('general.select_datasource') }}</option>
<option value="asset_tag">{{trans('admin/hardware/table.asset_tag')}}</option> <option value="asset_tag">{{trans('admin/hardware/table.asset_tag')}}</option>
<option value="name">{{trans('admin/hardware/form.name')}}</option> <option value="name">{{trans('admin/hardware/form.name')}}</option>
<option value="serial">{{trans('admin/hardware/table.serial')}}</option> <option value="serial">{{trans('admin/hardware/table.serial')}}</option>