@foreach (config('shopper.settings.items', []) as $menu) @if ($menu['permission']) @can($menu['permission']) @endcan @else @endif @endforeach