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

All Products

Request Product {{ $products->total() }} products
@if($products->isEmpty())

No products available.

@else
@foreach($products as $product)
@if($product->images->first()) {{ $product->name }} @else
@endif
{{ $product->shipping_type }}
@if($product->status === 'active' && $product->pairing_deadline > now()) @else Closed @endif

{{ $product->name }}

₦{{ number_format($product->markup_price, 2) }} {{ $product->total_paired }}
{{ $product->estimated_days }} days {{ ucfirst($product->status) }}
@endforeach
{{ $products->links() }}
@endif
@endsection @push('scripts') @endpush