@extends('layouts.authUser ') @section('content')

Senarai pengguna

Eksport ke Excel @if($users->isEmpty()) @else @foreach($users as $index => $user) @endforeach @endif
No. Nama penuh Pengguna Nama pengguna E-mel Nombor telefon Tindakan
Tiada data dalam rekod
{{ ($users->currentPage() - 1) * $users->perPage() + $index + 1 }} {{$user->name}} {{$user->role}} {{$user->username}} {{$user->email}} {{$user->phone_num}}
@if(Auth::user()->email === $user->email) @else @endif
@if (session('failure'))
{{ session('failure') }}
@endif @if (session('success'))
{{ session('success') }}
@endif
@endsection