@extends('layouts.vendor.app') @section('title', 'Product List') @push('css') @endpush @section('content')

Product List

Product List

@foreach ($products as $key => $data) @endforeach
SL Image Title RP DP Stock Brand Status Action
{{$key + 1}} Product Image {{$data->title}} {{$data->regular_price}} {{$data->discount_price}} @if ($data->quantity > 0) Available @else Unavailable @endif {{$data->brand->name ?? ''}} @if ($data->status) Active @if($data->is_aproved==1) Approved @else Unapproved @endif @else Pending @if($data->is_aproved==1) Approved @else Unapproved @endif @endif
@if($data->is_aproved==1) @if ($data->status) @else @endif @endif
@csrf @method('DELETE')
SL Image Title RP DP Stock Brand Status Action
{{ $products->firstItem() }} - {{ $products->lastItem() }} of {{ $products->total() }} results {{-- {{ $products->total() }} --}} {{--
@endsection @push('js') @endpush