@extends('layouts.admin.app') @section('content') @if( Session::get('permissions.user_type') == 'A' ) Product List No. Image Title SKU Category Price Status @php $i = 0; @endphp @foreach($product as $products) @php $i++; @endphp {{$i}} @php $imagename = App\Http\Helper1::get_image($products->id); @endphp @if(isset($imagename) && $imagename->name != null ) @else @endif {{$products->product_name}} {{$products->fnid}} {{$products->price}} Status @endforeach @endif @endsection