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