@extends('admin.layouts.master') @section('title', 'Group') @section('content')
@include('admin.includes.msg')
@php $xx=1; @endphp @if(!empty($alldata) && $alldata->count()>0) @foreach($alldata as $key=>$val) parentId==0) style="background: #f1f1f1" @endif> @php $xx++; @endphp @foreach($val->parent as $v) parentId==0) style="background: #f1f1f1" @endif> @php $xx++; @endphp @endforeach @endforeach @endif
Sl.No Group Action
{{$xx}} {{ $val->name}} @if(Auth::user()->role<=4) @if(!isset($inproduct[$val->category]))
{{ method_field('delete') }} {{ csrf_field() }}
@endif @endif
{{$xx}} ----{{ $v->name}} @if(Auth::user()->role<=4) @if(!isset($inproduct[$val->subcategory]))
{{ method_field('delete') }} {{ csrf_field() }}
@endif @endif
@endsection