@foreach($value as $perm) @continue($new == 'settings' && !auth()->user()->hasRole('Super Admin')) @if($current == "")
{{($new == "settings")? "Master Data" : ucfirst($new)}}
@endif @if($current != $new) @if($current != "")
{{ucfirst($new)}}
@endif @php $current = $new; @endphp @endif
@endforeach