fix on customer auth, fix filters on shelves, refactor for article_nature, add slug

This commit is contained in:
ludo
2023-10-17 17:20:30 +02:00
parent 50d5d6944d
commit f3b9db1a6f
30 changed files with 1205 additions and 177 deletions

View File

@@ -32,7 +32,7 @@
</div>
</div>
<div class="col-4">
<div class="col-2">
<x-card title="{{ __('icone') }}">
@include('components.widgets.imgUpload', [
'name' => 'icon',
@@ -41,6 +41,15 @@
])
</x-card>
</div>
<div class="col-2">
<x-card title="{{ __('icone selection') }}">
@include('components.widgets.imgUpload', [
'name' => 'icon_selection',
'id_name' => 'icon_selection',
'file' => $article_nature['icon_selection'] ?? false,
])
</x-card>
</div>
</div>
<x-save />

View File

@@ -6,7 +6,7 @@
@section('content')
<div class="btn-group mb-3" role="group" aria-label="Basic example">
<div class="btn-group mb-3" role="group" aria-label="" class="d-none">
<button type="button" class="btn btn-sm btn-secondary text-nowrap" data-id="day">jour</button>
<button type="button" class="btn btn-sm btn-secondary text-nowrap" data-id="month">mois</button>
<button type="button" class="btn btn-sm btn-secondary text-nowrap" data-id="year">année</button>

View File

@@ -10,6 +10,7 @@
'with_empty' => '',
'class' => 'select2 select_article',
'label' => 'Article',
'required' => true,
])
</div>
</div>
@@ -44,6 +45,7 @@
'name' => 'weight',
'value' => $offer['weight'] ?? null,
'label' => 'Poids en g',
'required' => true,
])
</div>
</div>