@extends('AdminPanel.layouts.main')
@section('main-section')
{{ session()->get('msg') ?? null }}
Id |
Image |
Nom |
Email |
Type |
@if (session()->get('AdminUser')['type'] == 'R')
Action |
@endif
@foreach ($usersData as $item)
{{ $item->id }} |
|
{{ $item->name }} |
{{ $item->email }} |
@if ($item->type == 'A') Admin @endif
@if ($item->type == 'U') User @endif
@if ($item->type == 'R') Présidente @endif
|
@if (session()->get('AdminUser')['type'] == 'R')
@if ($item->type != 'R')
@endif
|
@endif
@endforeach
@endsection
@section('scripts')
@endsection