@extends('dashboard') @section('content')
NOUVEAU UTILISATEUR

LISTE DES UTILISATEURS

@if(Auth::user()->type == 'Super Administrateur') @foreach($utilisateurs as $u) @endforeach @else @foreach($utilisateurs as $u) @if($u->type == 'Administrateur') @endif @endforeach @endif
Nom Prenom Email Type Action
{{ $u->nom }} {{ $u->prenom }} {{ $u->email }} {{ $u->type }}     @if(Auth::user()->type == 'Super Administrateur') @endif
{{ $u->nom }} {{ $u->prenom }} {{ $u->email }} {{ $u->type }}     @if(Auth::user()->type == 'Super Administrateur') @endif
@endsection