@extends('admin.layouts.master') @section('title', 'Product') @section('content')
@include('admin.includes.msg')
@if(Auth::user()->role==7) @endif @if(Auth::user()->role<=4) @endif @if(!empty($alldata) && $alldata->count()>0) @foreach($alldata as $key=>$val) @if(Auth::user()->role==7) @endif @if(Auth::user()->role<=4) @endif @endforeach @endif
Sl.No Product Name BPC Category SkuStockPriceVisible Action
{{$key+1}} {{ $val->productName}} {{ $val->base_pack_code}} @if(isset($category[$val->category] )) {{ $category[$val->category] }} @endif {{ $val->sku}}{{ $val->stock}}Rs {{ number_format($val->price,2)}} Rs {{ number_format($val->compareAtPrice,2) }}
status==1) checked @endif>
@if(!isset($instock[$val->id]))
{{ method_field('delete') }} {{ csrf_field() }}
@endif
Showing {{ $alldata->firstItem() }} to {{ $alldata->lastItem() }} of {{ $alldata->total() }} entries
{{ $alldata->appends(Request::except('page'))->links('pagination::bootstrap-4') }}
@endsection