@extends("layouts.admin.app") @section("page-title") {{__("Technicians")}} @endSection @section("page-nav-title")
{{__("All Technicians")}}
{{__("ID")}} | {{__("Profile Photo")}} | {{__("Name")}} | {{__("Username")}} | {{__("Phone Number")}} | {{__('First Password')}} | {{__("Activation")}} | {{__("login status")}} | {{__("Category")}} | {{__("Region")}} | {{__("Main Specialty")}} | {{__("Last Login")}} | {{__("Created at")}} | {{__("Control")}} |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{$technician->user->id}} | @if($technician->user->getFirstMediaFile("profile_photo")) url}}" alt="" width="50px">@endif | {{$technician->user->full_name}} | {{$technician->username}} | {{$technician->phone_number_1}} | {{$technician->first_password}} | {{$technician->accept_order ? __("Active") : __("Non-Active")}} | {{$technician->login ? __("login") : __("logout")}} | @switch($technician->technician_category) @case(1) {{__("Gold")}} @break @case(2) {{__("Silver")}} @break @case(3) {{__("Bronze")}} @break @endswitch | {{$technician->region == 1 ? __("كرخ") : __("رصافة") }} | {{$technician->user->getAllNameCategory()}} | {{$technician->user->last_login != Null ? date("Y/d/m h:i A", strtotime($technician->user->last_login)) : $technician->user->last_login}} | {{$technician->user->created_at->diffForHumans()}} | $technician->user->id, "leader_id" => $leader->id])}}" class="control-link edit"> |