@extends('admin.layouts.master') @section('title', 'Category') @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 @foreach($v->parent as $vv) parentId==0) style="background: #f1f1f1" @endif> @php $xx++; @endphp @endforeach @endforeach @endforeach @endif
Sl.No Category Image Banner Visible Action
{{$xx}} {{ $val->categoryName}} No Image No Image @if(Auth::user()->role<=4)
status==1) checked @endif>
@endif
@if(Auth::user()->role<=4) @if(!isset($inproduct[$val->category]))
{{ method_field('delete') }} {{ csrf_field() }}
@endif @endif
{{$xx}} ----{{ $v->categoryName}} No Image No Image @if(Auth::user()->role<=4)
status==1) checked @endif>
@endif
@if(Auth::user()->role<=4) @if(!isset($inproduct[$val->subcategory]))
{{ method_field('delete') }} {{ csrf_field() }}
@endif @endif
{{$xx}} --------{{ $vv->categoryName}} No Image No Image @if(Auth::user()->role<=4)
status==1) checked @endif>
@endif
@if(Auth::user()->role<=4) @if(!isset($inproduct[$val->supersub_category]))
{{ method_field('delete') }} {{ csrf_field() }}
@endif @endif
@endsection