@extends('dashboard.body.main') @section('container')
@if (session()->has('success')) @endif @if (session()->has('error')) @endif

Product List

A product dashboard lets you easily gather and visualize product data from optimizing
the product experience, ensuring product retention.

@forelse ($products as $product) @empty @endforelse
No. Photo Status Action
{{ (($products->currentPage() * 10) - 10) + $loop->iteration }} {{ $product->name }} {{ $product->category->name }} {{ $product->selling_price }} {{ $product->stock }} @if ($product->expire_date > Carbon\Carbon::now()->format('Y-m-d')) Valid @else Invalid @endif
@method('delete') @csrf
No products found.
{{ $products->links() }}
@endsection