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

{{__("Admins And Employee")}}

{{__("All Employees")}}

@endsection @section("content") @include("includes.dialog")
@csrf {{__("Export As Excel")}}
@foreach($employees as $employee) @endforeach
#{{__("ID")}} {{__("Serial Number")}} {{__("Full Name")}} {{__("Username")}} {{__("Email")}} {{__("Email Verified")}} {{__("Role")}} {{__("Activation")}} {{__("Created at")}} {{__("Control")}}
{{$employee->id}} {{$serial_number++}} {{$employee->full_name}} {{$employee->username}} {{$employee->email}} @if(!empty($employee->email_verified_at)) {{__('Activated')}} @else $employee->id])}}" class="btn btn-danger"> {{__("Activation")}} @endif {{$employee->role->name}}
{{$employee->created_at->diffForHumans()}} id)}}" class="control-link edit">
id)}}" method="post" id="delete{{$employee->id}}" style="display: none" data-swal-title="{{__("Delete Employee")}}" data-swal-text="{{__("Are You Sure To Delete This Employee?")}}" data-yes="{{__("Yes")}}" data-no="{{__("No")}}" data-success-msg="{{__("the Employee has been deleted successfully")}}">@csrf @method("delete")
@endsection @section("scripts") @endsection