@extends('backEnd.admin.layouts.master') @section('title') Products @endsection @section('css') @endsection @section('body')
@php($i=1) @if($data->count() > 0) @foreach($data as $item) @endforeach @else @endif
SL. Product Name Stock Status Actions
{{$i++}} {{$item->name}} {{$item->stock}} @if($item->status == 1) Published @else Unpublished @endif
No Data Found!
{{$data->links()}}
@endsection @section('js') @endsection