mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
fixes selection order
This commit is contained in:
parent
04708ae2b2
commit
c9854d43a5
|
@ -204,12 +204,14 @@
|
|||
@php
|
||||
$select2DValues = [
|
||||
'QRCODE' => 'QRCODE',
|
||||
'DATAMATRIX' => 'DATAMATRIX',
|
||||
'none' => trans('admin/settings/general.none'),
|
||||
];
|
||||
if ($setting->label2_enable == 1) {
|
||||
$select2DValues['PDF417'] = 'PDF417';
|
||||
}
|
||||
$select2DValues = array_merge($select2DValues, [
|
||||
'DATAMATRIX' => 'DATAMATRIX',
|
||||
'none' => trans('admin/settings/general.none'),
|
||||
]);
|
||||
@endphp
|
||||
{{ Form::select('label2_2d_type', $select2DValues, old('label2_2d_type', $setting->label2_2d_type), [ 'class'=>'select2 col-md-4', 'aria-label'=>'label2_2d_type' ]) }}
|
||||
{!! $errors->first('label2_2d_type', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}
|
||||
|
|
Loading…
Reference in a new issue