@extends('layouts.admin-master') @section('title', 'Pending Enlisted Product') @section('css-top') @endsection @section('css') @endsection @section('content')

Total Pending Enlists ({{$products->count()}})

@if(count($products)>0) @foreach($products as $index => $product) @endforeach @else @endif
# Store Name Products Available Stock Our Price Range Given Price Approved Status Actions
{{(($products->perPage() * $products->currentPage() - $products->perPage()) + ($index+1) )}} {{Str::limit($product->vendor->shop_name, 40)}} Image {{Str::limit($product->products->title, 40)}} {{$product->stock}} {{$product->products->min_price}} - {{$product->products->max_price}} {{$product->selling_price}}
status != 'pending') ? 'checked' : ''}} data-on-color="success" data-off-color="danger" data-on-text="Approved" data-off-text="Pending">
@if($product->status != 'pending')
status == 1 || $product->status == 'active') ? 'checked' : ''}} type="checkbox" class="custom-control-input" id="status{{$product->id}}">
@else Pending @endif
No Products Found.
{{$products->appends(request()->query())->links()}}
Showing {{ $products->firstItem() }} to {{ $products->lastItem() }} of total {{$products->total()}} entries ({{$products->lastPage()}} Pages)
@include('admin.modal.delete-modal') @endsection @section('js') @endsection