{{-- ============================================================ ALERTES ============================================================= --}} @if (session()->has('success')) @endif @if (session()->has('error')) @endif {{-- ============================================================ EN-TÊTE ============================================================= --}}

Produits

Gérez les produits de votre entreprise.

@can('products.create') @endcan
{{-- ============================================================ FILTRES ============================================================= --}}
{{-- Recherche --}}
{{-- Catégorie --}}
{{-- Statut --}}
{{-- Réinitialiser --}}
{{-- ============================================================ TABLEAU ============================================================= --}}
@if($products->count() > 0) @foreach ($products as $product) {{-- Référence --}} {{-- Image --}} {{-- Nom --}} {{-- Catégorie --}} {{-- Unité --}} {{-- Statut --}} {{-- Actions --}} @endforeach @else @endif
Référence Image Nom du produit Catégorie Unité Statut Actions
{{ $product->sku }} @if ($product->image) {{ $product->name }} @else
@endif
{{ $product->name }}
@if ($product->category) {{ $product->category->name }} @else — @endif @if ($product->unit) {{ $product->unit->name }} @if ($product->unit->symbol) ({{ $product->unit->symbol }}) @endif @else — @endif @if ($product->is_active) Actif @else Inactif @endif
@can('products.edit') {{-- --}} @endcan @can('products.view') @endcan @can('products.delete') @endcan
Aucun produit trouvé

Aucun produit ne correspond aux critères sélectionnés.

{{-- Pagination --}} @if ($products->hasPages()) @endif
{{-- ============================================================ MODAL CRÉATION / MODIFICATION ============================================================= --}} @if ($showModal) @endif {{-- ============================================================ MODAL SUPPRESSION ============================================================= --}} @if ($showDeleteModal) @endif @if($showDetailsModal && $selectedProduct) @endif