@extends('layouts.admin.app') @section('page-title') {{ __('Employees') }} @endSection @section('page-nav-title')

{{ __('Employees') }}

{{ __('All Employees') }}

@endsection @section('content') @include('includes.dialog') @if (hasPermissions(['view-dashboard', 'admin-control']))
@foreach ($users as $user) @if (!$user->is_admin) @if (!$user->is_super_admin) @else @endif {{-- --}} @endif @endforeach
# {{ __('ID') }} {{ __('Full name') }} {{ __('Username') }} {{ __('Email') }} {{ __('Status') }} {{ __('Email Verified') }} {{ __('Created at') }} {{ __('Control') }}
{{ $user->id }} {{ $user->full_name }} {{ $user->username }} {{ $user->email }}
@if (!empty($user->email_verified_at)) {{ __('activated') }} @else {{ __('Activation') }} @endif {{!empty($user->email_verified_at) ? "Yes" : "No"}}{{ $user->created_at->diffForHumans() }}
@if ($user->is_super_admin) @else @endif
{{-- --}} {{-- --}}
@endif @endsection @section('scripts') @endsection