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

{{__("Technicians Leaders")}}

{{__("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
$page])}}" method="post" id="form-excel"> @csrf {{__("Export As Excel")}}
@if($page == "staff") @endif @foreach($users as $user) @if($page == "staff") @endif @endforeach
{{__("ID")}} {{__("Profile Photo")}} {{__("Name")}} {{__("Username")}} {{__("Email")}} {{__('First Password')}} {{__("Activation")}}{{__("Staff")}}{{__("Control")}}
{{$user->id}} @if($user->getFirstMediaFile("profile_photo")) url}}" alt="" width="50px">@endif {{$user->full_name}} {{$user->technician->username}} {{$user->email}} {{$user->technician->first_password}} {{$user->status ? __("Active") : __("Non-Active")}} $user->id])}}" class="btn btn-primary">{{__('Control')}} $user->id, "page" => $page])}}" class="control-link edit">
$user->id, "page" => $page])}}" method="post" id="delete{{$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