@extends('layouts.user', ['heading' => 'Shop']) @section('content')
Order Snapshot
{{ number_format((int) $summary['total_orders']) }}
Total user orders
Pending / Processing
0
View Orders
Delivered Orders
0
View Delivered
Reset
@forelse($products as $product)
@if($product->image_path) {{ $product->name }} @else
No Image
@endif
{{ $product->name }}
SKU: {{ $product->sku }}
Category: {{ $product->category?->name ?? 'General' }}
BV: {{ number_format((float) $product->bv, 2) }}
Rs. {{ number_format((float) $product->dp_price, 2) }}
Stock: {{ $product->stock }}
@csrf
@empty
No active products found.
@endforelse
{{ $products->links() }}
@endsection