@extends('layouts.admin.e-commerce.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 }} {{ $data->quantity }} @if ($data->quantity > 0) Available @else Unavailable @endif {{ $data->brand->name ?? '' }} @if ($data->status) Active @else Disable @endif
@if ($data->status) @else @endif @if (auth()->user()->desig != 3) @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