@php $i = 1; @endphp @foreach($masterMenu as $data) @if(count(getParentMasterMenu($data->id)) > 0) @foreach(getParentMasterMenu($data->id) as $per => $parentMenu) @endforeach @endif @php $i++; @endphp @endforeach
No. Short Name Name Help Status Actions
{{ $parentMenu->short_name }} ----{{ $parentMenu->name }} {{ $parentMenu->help }} {{ ($parentMenu->status == 0 )? 'Inactive':'Active'}}
@if(count($masterMenu) > 0)
Showing {{ $masterMenu->firstItem() }} to {{ $masterMenu->lastItem() }} of {{ $masterMenu->total() }} entries
{!! $masterMenu->appends(array('paginate'=>$paginate,'txtsearchable' => $txtsearchable,'merchant_id' => $merchant_id,'enterprise_id' => $enterprise_id,'filterbyonlyparentmenu' => $filterbyonlyparentmenu,'role_id' => $role_id))->links() !!} @endif