@extends('layouts.admin_layout') @section('content')

Products

Go to main website
View →
@csrf Search Product Name
@csrf
Min Price
Max Price

All Available Products Total ({{ $products->total() }})


@forelse($products as $product) @empty

No Created Products.




@endforelse
Product Name Stock Status Rating Produt Value Market Sell Margin Bid Margin Actions

{{ mb_strimwidth($product->name, 0, 40, '...') }}

{{ $product->status == 1 ? 'In Stock' : 'Out OF Stock' }} {{ number_format($product->rating, 1) }} ${{ number_format($product->value, 2) }} {{ ucfirst($product->market?->name) }} {{ ucfirst($product->market?->sell_margin) }} {{ ucfirst($product->market?->bid_margin) }}
@csrf @method('delete')
@if($products->currentPage() != 1) «  @for($i=1; $i<=$products->lastPage(); $i++) @if($i== $products->currentPage()) {{ $i }}  @else {{ $i }}  @endif @endfor @if($products->currentPage() != $products->lastPage()) » @endif @else 1 » @endif
Showing {{ $products->firstItem() }}–{{ $products->lastItem() }} of {{ $products->total() }} results
@endsection