@include('layouts.header') @include('layouts.sidebar')
@if(session()->has('success'))
{{ session()->get('success') }}
@endif @if(session()->has('error'))
{{ session()->get('error') }}
@endif
@if(hasPermission('products', 'update') || hasPermission('products', 'delete') || hasPermission('products', 'view')) @endif @if(hasPermission('products', 'status')) @endif @foreach($products as $row) @if(hasPermission('products', 'update') || hasPermission('products', 'delete') || hasPermission('products', 'view')) @endif @if(hasPermission('products', 'status')) @endif @endforeach
ActionProduct Name Product Code Image Company CategoryStatus
@if(hasPermission('products', 'update')) @endif @if(hasPermission('products', 'delete')) @endif
{{ $row->product_name}} {{ $row->product_code}} Product Image {{ $row->company_name}} {{ $row->category_name}}@if($row->status==1)Active@else Inactive @endif
@include('layouts.footer')