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

{{__("Technicians Staff")}}

{{__("All Technicians")}}

@endsection @section("content") @include("includes.dialog") @if(session()->has("technician_register_info")) @include("admin.technician.register_info", ["user" => session()->get("technician_register_info")]) @endif
$leader->id])}}" method="post" id="form-excel"> @csrf {{__("Export As Excel")}}
@foreach($technicians as $technician) @endforeach
{{__("ID")}} {{__("Profile Photo")}} {{__("Name")}} {{__("Username")}} {{__("Email")}} {{__('First Password')}} {{__("Activation")}} {{__("Control")}}
{{$technician->user->id}} @if($technician->user->getFirstMediaFile("profile_photo")) url}}" alt="" width="50px">@endif {{$technician->user->full_name}} {{$technician->username}} {{$technician->user->email}} {{$technician->first_password}} {{$technician->user->status ? __("Active") : __("Non-Active")}} $technician->user->id, "leader_id" => $leader->id])}}" class="control-link edit">
$technician->user->id, "leader_id" => $leader->id])}}" method="post" id="delete{{$technician->user->id}}" style="display: none" data-swal-title="{{__("Delete Technician")}}" data-swal-text="{{__("Are You Sure To Delete This Technician?")}}" data-yes="{{__("Yes")}}" data-no="{{__("No")}}" data-success-msg="{{__("the technician has been deleted successfully")}}">@csrf @method("delete")
@endsection @section("scripts") @if(session()->has("technician_register_info")) @endif @endsection