@extends('master_admin') @section('content')
@foreach($product as $key => $row) @endforeach
Sl Image Product Code Product Name Category Quantity Status Action
{{ $key+1}} {{ $row->product_code }} {{ $row->product_name }} {{ $row->category_name }} {{ $row->product_quantity }} @if($row->status == 1) Active @else Inactive @endif @if($row->status == 1)   @else   @endif {{-- View  --}} Edit  Delete
@if(Session::has('success')) @endif @if(Session::has('error')) @endif @endsection