@extends('backoffice.layouts.master')
@section('content')
# |
Nom |
Prénoms |
Genre |
Contact |
E-mail |
Statut |
Action |
@php
$i = 1;
foreach($query as $data):
if($data->status == 1){
$icone = 'check';
$status = 'Activé';
$title = 'Désactivation';
$color = 'badge-light-success';
}else{
$icone = 'ban';
$status = 'Désactivé';
$title = 'Activation';
$color = 'badge-light-danger';
}
@endphp
{{ $i++ }} |
{{ $data->lastname }} |
{{ $data->firstname }} |
{{ $data->gender }} |
{{ $data->number }} |
{{ $data->email }} |
{{ $status }} |
@if((in_array(3, Session::get('rights')[2])))
@endif
@if(in_array(4, Session::get('rights')[2]))
@endif
|
@php endforeach; @endphp
@endsection