@extends('admin.layouts.app') @section('content') {{-- Filters --}}
@if(request()->hasAny(['search', 'category', 'status'])) Reinitialiser @endif + Nouveau produit
{{-- Table --}}
@forelse ($products as $product) @empty @endforelse
Produit Categorie Prix Stock Actif
@if($product->featuredImage) @else
@endif
{{ $product->name }} @if($product->sku)
{{ $product->sku }}
@endif
{{ $product->category?->name ?? '-' }} @if($product->sale_price) {{ number_format($product->price, 2, ',', ' ') }} {{ number_format($product->sale_price, 2, ',', ' ') }} € @else {{ number_format($product->price, 2, ',', ' ') }} € @endif @if($product->manage_stock) {{ $product->stock_quantity }} @else - @endif
@csrf @method('DELETE')
Aucun produit trouvé.
@if($products->hasPages())
{{ $products->links() }}
@endif
@endsection @push('scripts') @endpush