@extends('layouts.admin') @section('title', 'Produits') @section('content')

Gestion des produits

{{ $products->total() }} produit(s) au total

Nouveau produit
{{-- Filters --}}
@if(request('search') || request('category')) Réinitialiser @endif
{{-- Table --}}
@forelse($products as $product) @empty @endforelse
Produit Prix Actions
@if($product->image) {{ $product->name }} @else
@endif

{{ $product->name }}

@if($product->sku)

{{ $product->sku }}

@endif

{{ number_format($product->price, 2) }} FCFA

@if($product->old_price)

{{ number_format($product->old_price, 2) }}

@endif
@csrf @method('DELETE')

Aucun produit trouvé.

@if($products->hasPages())
{{ $products->links() }}
@endif
@endsection