@extends('inventory.layout') @section('title', 'Product Group') @section('content') @push('head') @endpush
@include('include.message')
{{($parentcategory->currentpage()-1)*$parentcategory->perpage()+1}} to {{$parentcategory->currentpage()*$parentcategory->perpage()}} of {{$parentcategory->total()}} entries
@foreach($parentcategory as $index=>$cat) @if($cat->children=='[]') @endif @foreach($cat->children as $child) @if($cat->children!='[]' && $child->children=='[]') @else @foreach($child->children as $sub) @if($cat->children!='') @endif @endforeach @endif @endforeach @endforeach
{{ __('Product Group')}} {{ __('Product Category')}} {{ __('Sub Category')}} {{ __('Action')}}
{{ isset($cat->name) ? $cat->name :'' }}             {{----}}
{{ isset($cat->name) ? $cat->name :'' }} {{ isset($child->name) ? $child->name :'' }}             {{----}}
{{ isset($cat->name) ? $cat->name :'' }} {{ isset($child->name) ? $child->name :'' }} {{ isset($sub->name) ? $sub->name :'' }}             {{----}}

@push('script') @endpush @endsection