@extends('layouts/contentLayoutMaster') @section('title', 'List View') @section('vendor-style') {{-- vendor files --}} @endsection @section('page-style') {{-- Page css files --}} @endsection @section('content') {{-- Data list view starts --}} Actions Delete Archive Print Another Action {{-- DataTable starts --}} NAME CATEGORY POPULARITY ORDER STATUS PRICE ACTION @foreach ($products as $product) @if($product["order_status"] === 'delivered') @elseif($product["order_status"] === 'pending') @elseif($product["order_status"] === 'on hold') @elseif($product["order_status"] === 'canceled') @endif {{ $product["name"] }} {{ $product["category"] }} {{ $product["order_status"]}} {{ $product["price"] }} @endforeach {{-- DataTable ends --}} {{-- add new sidebar starts --}} @csrf List View Data Name Category Audio Computers Fitness Appliance Order Status Pending Cancelled Delivered On Hold Price Popularity Upload Image {{-- add new sidebar ends --}} {{-- Data list view end --}} @endsection @section('vendor-script') {{-- vendor js files --}} @endsection @section('page-script') {{-- Page js files --}} @endsection