@extends('layouts.admin.app') @section('content') Agent Product List ADD Agent Product @foreach (['danger', 'warning', 'success', 'info'] as $msg) @if(Session::has('alert-' . $msg)) {{ Session::get('alert-' . $msg) }} @endif @endforeach Agent Products @if(count($result) > 0) No. Title Slug Price Gst Without Gst Created Date Action @php $i=1; @endphp @foreach($result as $key => $data) {{ $i + $key }} {{$data->item}} {{$data->slug}} {{$data->price}} {{$data->gst}} {{$data->price_without_gst}} {{date('d-m-Y', strtotime($data->created_at))}} {{-- is_block == 'N') checked @endif> --}} {{-- --}} @endforeach @else No Data Found... @endif @endsection