@include("errors.messageFlash")
@php $colors = [ 'text-primary', 'text-success', 'text-warning', 'text-danger', 'text-info', 'text-secondary', 'text-dark', ]; @endphp @foreach($itens as $index => $item) @if (in_array($item["permission"], auth()->user()->listaPermissoes())) @endif @endforeach