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

Products

Manage your product catalog

Reset
@forelse($products as $product) @empty @endforelse
Product Category Price Stock Status Actions
@if($product->image) @else @endif

{{ $product->name }}

SKU: {{ $product->sku ?? 'N/A' }}

{{ $product->category?->name ?? 'N/A' }}
৳{{ number_format($product->new_price) }} @if($product->old_price) ৳{{ number_format($product->old_price) }} @endif

Profit: ৳{{ number_format($product->profit) }}

@if($product->stock <= 0) Out of Stock @elseif($product->stock <= 10) Low: {{ $product->stock }} @else {{ $product->stock }} @endif @if($product->status) Active @else Inactive @endif
@if($product->status) @endif
@csrf @method('DELETE')

No products found

Add your first product
@if($products->hasPages())
{{ $products->links() }}
@endif
@endsection