diff --git a/public/css/custom.css b/public/css/custom.css index e87e800f6..d2778487d 100644 --- a/public/css/custom.css +++ b/public/css/custom.css @@ -1417,3 +1417,9 @@ table .align-items-center td span.badge { padding: 0.6rem 1rem; } /* Custom File stype Finish */ + +/* el-select__tags */ +.el-select-tags-pl-38 .el-select .el-select__tags { + padding-left: 38px !important; +} +/* el-select__tags */ diff --git a/resources/views/common/items/create.blade.php b/resources/views/common/items/create.blade.php index 059cc0276..78487a3c3 100644 --- a/resources/views/common/items/create.blade.php +++ b/resources/views/common/items/create.blade.php @@ -19,7 +19,7 @@
{{ Form::textGroup('name', trans('general.name'), 'tag') }} - {{ Form::multiSelectAddNewGroup('tax_ids', trans_choice('general.taxes', 1), 'percentage', $taxes, [setting('default.tax')], ['path' => route('modals.taxes.create'), 'field' => ['key' => 'id', 'value' => 'title']]) }} + {{ Form::multiSelectAddNewGroup('tax_ids', trans_choice('general.taxes', 1), 'percentage', $taxes, (setting('default.tax')) ? [setting('default.tax')] : null, ['path' => route('modals.taxes.create'), 'field' => ['key' => 'id', 'value' => 'title']], 'col-md-6 el-select-tags-pl-38') }} {{ Form::textareaGroup('description', trans('general.description')) }} diff --git a/resources/views/common/items/edit.blade.php b/resources/views/common/items/edit.blade.php index 81039e4a1..bd35a2140 100644 --- a/resources/views/common/items/edit.blade.php +++ b/resources/views/common/items/edit.blade.php @@ -20,7 +20,7 @@
{{ Form::textGroup('name', trans('general.name'), 'tag') }} - {{ Form::multiSelectAddNewGroup('tax_ids', trans_choice('general.taxes', 1), 'percentage', $taxes, $item->tax_ids, ['path' => route('modals.taxes.create'), 'field' => ['key' => 'id', 'value' => 'title']]) }} + {{ Form::multiSelectAddNewGroup('tax_ids', trans_choice('general.taxes', 1), 'percentage', $taxes, $item->tax_ids, ['path' => route('modals.taxes.create'), 'field' => ['key' => 'id', 'value' => 'title']], 'col-md-6 el-select-tags-pl-38') }} {{ Form::textareaGroup('description', trans('general.description')) }}