@extends('layouts.app') @section('content')
Roles
@foreach($roles as $role) @endforeach
ID Role Name Date Added Action
{{ $role->id }} {{ $role->name }} {{ $role->created_at }}
Users
@foreach($users as $user) @endforeach
ID User Name Email Phone Role Location Date Added Action
{{ $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 }}
Payroll
ID Employee Name Salary Amount Joined at Status Action
@if(session('success')) @endif @if ($errors->any()) @endif @endsection