@extends("layouts.admin.app") @section("page-title") {{__("Dashboard")}} @endSection @section("page-nav-title")
{{__("all-employees")}}
# | {{__("Full Name")}} | {{__("Username")}} | {{__("first-password")}} | {{__("Email")}} | {{__("Role")}} | {{__("email-verified")}} | {{__("Created at")}} | @if(isPermissionsAllowed("edit-employee","delete-employee")){{__("Control")}} | @endif|
---|---|---|---|---|---|---|---|---|---|
{{$serial_number++}} | {{$employee->full_name}} | {{$employee->username}} | {{$employee->first_password}} | {{$employee->email}} | @if(app()->getLocale() == 'ar') {{$employee->role->name_ar}} @else {{$employee->role->name_en}}@endif | @if(!empty($employee->email_verified_at)) {{__('activated')}} @else {{__('not-activated')}} @endif | {{--@if(!is_null($employee->email_verified_at)) {{__("activated")}}@else {{__("not-activated")}}@endif | --}}{{$employee->created_at->diffForHumans()}} | @if(isPermissionsAllowed("edit-employee","delete-employee"))@if(isPermissionsAllowed("edit-employee")) id)}}" class="control-link edit"> @endif @if(isPermissionsAllowed("delete-employee")) @endif | @endif