Roles
ID |
Role Name |
Date Added |
Action |
@foreach($roles as $role)
{{ $role->id }} |
{{ $role->name }} |
{{ $role->created_at }} |
|
@include('users.update_role')
@endforeach
@include('users.add_role')
Users
ID |
User Name |
Email |
Phone |
Role |
Location |
Date Added |
Action |
@foreach($users as $user)
{{ $user->id }} |
{{ $user->name }} |
{{ $user->email }} |
{{ $user->phone }} |
@foreach ($user->roles as $role)
{{ $role->name }}
@if (!$loop->last)
,
@endif
@endforeach
|
@foreach ($user->stores as $store)
{{ $store->name }}
@if (!$loop->last)
,
@endif
@endforeach
|
{{ $user->created_at }} |
|
@include('users.update_user')
@endforeach
Payroll
ID |
Employee Name |
Salary Amount |
Joined at |
Status |
Action |
@include('users.new_user')