Fixes
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
'breadcrumb' => [__('shop.articles.title')]
|
||||
])
|
||||
|
||||
@include('load.form.select2')
|
||||
|
||||
@section('content')
|
||||
@include('components.datatable', ['route' => route('Admin.Shop.Articles.index'), 'model' => 'articles', 'with_filters' => true])
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<form id="articles-filters">
|
||||
<div class="row">
|
||||
<label class="col-4">Familles d'articles</label>
|
||||
<label class="col-4">{{ __('article_natures.title') }}</label>
|
||||
<div class="col-8">
|
||||
@include('components.select', ['name' => 'family_id', 'list' => (isset($families)) ? $families : [], 'value' => (isset($filters['family_id'])) ? $filters['family_id'] : null, 'class' => 'form-control-sm select2', 'with_empty' => ' '])
|
||||
@include('components.select', ['name' => 'article_nature_id', 'list' => $article_natures ?? [], 'value' => $filters['article_nature_id'] ?? null, 'class' => 'form-control-sm select2', 'with_empty' => ' '])
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user