+ @include('back.modules.searchBar')
+
+
+ {{ $products->withQueryString()->onEachSide(1)->links() }}
+
+
+
+
+
+
+
+ @php
+ $cols = ['title' => __('Titre'), 'description' => __('Description'), 'status' => __('Publication'), 'updated_at' => __('Mis à jour le')];
+ @endphp
+ @include('back.modules.tableColSorter', [ 'cols' => $cols, 'mobileHide' => ['status']])
+
+
+ @if($products->count())
+ @foreach ($products as $productModel)
+
+ |
+ {{ $productModel->title }}
+ |
+
+ {{ Str::limit(strip_tags($productModel->description)) }}
+ |
+
+
+ |
+
+ {{ $productModel->updated_at->formatLocalized('%d/%m/%Y à %I:%M') }}
+ |
+
+
+ {{-- Public View Page --}}
+ @if($productModel->status)
+
+ @endif
+
+
+ |
+
+ @endforeach
+ @else
+
+ | {{
+ __('Aucun résultat pour les :models', ['models' => __('models.classes.products')])
+ }} |
+
+ @endif
+
+
+
+
+
+
+
+ {{ $products->withQueryString()->onEachSide(1)->links() }}
+
+
+