@extends('backend.app') @section('title', 'Product Management') @section('content')

Product Management

@if(session('success'))
{{ session('success') }}
@endif
@if(request('search')) Clear @endif
@forelse($products as $product) @empty @endforelse
Image Title Price Tag Short Description Note Actions
@if($product->image) {{ $product->title }} @else
No Img
@endif
{{ $product->title }} ${{ number_format($product->price, 2) }} @if($product->tag) {{ $product->tag }} @else N/A @endif {{ Str::limit($product->short_description, 60) }} {{ Str::limit($product->note ?? 'N/A', 40) }}
@csrf @method('DELETE')
No products found.
{{ $products->links() }}
@endsection