@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")}} | @if($page == "staff"){{__("Staff")}} | {{__("Number Technician")}} | @endif{{__("Rating")}} | {{__("Region")}} | {{__("Main Specialty")}} | {{__("Last Login")}} | {{__("Created at")}} | {{__("Control")}} |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{$user->id}} | @if($user->getFirstMediaFile("profile_photo")) url}}" alt="" width="50px">@endif | {{$user->full_name}} | {{$user->technician->username}} | {{$user->technician->phone_number_1}} | {{$user->technician->first_password}} | {{$user->technician->accept_order ? __("Active") : __("Non-Active")}} | {{$user->technician->login ? __("Login") : __("Logout")}} | @switch($user->technician->technician_category) @case(1) {{__("Gold")}} @break @case(2) {{__("Silver")}} @break @case(3) {{__("Bronze")}} @break @endswitch | @if($page == "staff")$user->id])}}" class="btn btn-primary">{{__('Control')}} | {{count($user->technician->staff)}} | @endif
|
{{$user->technician->region == 1 ? __("كرخ") : __("رصافة") }} | {{$user->getAllNameCategory()}} | {{$user->last_login != Null ? date("Y/d/m h:i A", strtotime($user->last_login)) : $user->last_login}} | {{$user->created_at->diffForHumans()}} | {{-- --}} {{-- --}} {{-- --}} {{-- $user->id, "page" => $page])}}" class="control-link edit"> | --}}