fixes
This commit is contained in:
@@ -5,8 +5,9 @@
|
||||
])
|
||||
|
||||
@section('content')
|
||||
|
||||
@component('components.card')
|
||||
@include('components.datatable', ['route' => route('Shop.Admin.Packages.index'), 'model' => 'packages'])
|
||||
@include('components.datatable', ['route' => route('Shop.Admin.Packages.index'), 'model' => 'packages', 'with_filters' => true])
|
||||
@endcomponent
|
||||
|
||||
@component('components.layout.modal', ['title' => 'Filtres', 'id' => 'modal-packages-filters'])
|
||||
|
||||
@@ -1,8 +1,11 @@
|
||||
<div class="row">
|
||||
<div class="col-md-8">
|
||||
<div class="col-md-6">
|
||||
{{ Form::label('name', 'Famille d\'articles') }}
|
||||
@include('components.select', ['name' => 'article_family_id', 'value' => $article_family_id ?? null, 'list' => $article_families ?? [], 'required' => true, 'with_empty' => ''])
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
{{ Form::label('name', 'Nom') }}
|
||||
@include('components.input', ['name' => 'name', 'value' => isset($name) ? $name : null, 'required' => true])
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user