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

{{__("Clients")}}

{{__("All Clients")}}

@endsection @section("content") @include("includes.dialog")
@include("admin.clients.parts.filter_institution")
"institution"])}}" method="post" id="form-excel"> @csrf {{__("Export As Excel")}}
{{-- --}} {{-- --}} {{-- --}} {{-- --}} @foreach($clients as $client) {{-- --}} {{-- --}} {{-- --}} {{-- --}} @endforeach
{{__("ID")}}{{__("Serial Number")}} {{__("Profile Photo")}} {{__("Name")}} {{__("Phone Number")}} {{__("Email")}} {{__("Username")}} {{__("First Password")}}{{__("Gender")}}{{__("Birth Date")}}{{__("Last Login")}} {{__("Location")}} {{__("Activation")}} {{__("Created at")}}{{__("Control")}}
{{$client->id}}{{$serial_number++}} @if($client->getFirstMediaFile("profile_photo")) url}}" alt="" width="50px">@endif {{$client->full_name}} {{$client->client ? $client->client->phone_number : $client->institution->phone_number}} {{$client->email}} {{$client->institution->username}} {{$client->institution->first_password}}@if($client->gender == 1) {{__("Male")}} @else {{__("Female")}} @endif{{$client->birth_date}}{{$client->last_login != Null ? date("Y/d/m h:i A", strtotime($client->last_login)) : $client->last_login}} {{$client->getFirstLocation()}}
{{$client->created_at->diffForHumans()}}--}} {{-- $client->id])}}" class="control-link edit">--}} {{--
@endsection @section("scripts") @if(session()->has("technician_register_info")) @endif @endsection