@extends('layouts.app')
@section('title')
All Accounts
@stop
@section('breadcrumb')
- Home
- All Account
@stop
@section('content')
All Accounts
# |
Name |
Email |
Phone Number |
OTP |
Role |
Action |
@foreach($allUsers as $user)
{{$count++}} |
{{$user->name}} |
{{$user->email}} |
{{$user->phone_number}} |
@if($user->otp){{$user->otp->otp}}@endif |
@if($user->roles)
@foreach($user->roles as $role)
@foreach($role->projects as $project)
{{$project->name}}
@endforeach
---
{{$role->name}}
@endforeach
|
@else
|
@endif
@role('admin')
@endrole
|
@endforeach
@stop
@section('js')
@stop