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

{{__('Clients Orders')}}

{{__('All Clients Orders')}}

@endsection @section("css-links") getLocale() . "/pages/orders.css")}}"> @endsection @section("content")
@csrf
@csrf {{__("Export As Excel")}}
{{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} @if (!empty($Clients)) @foreach($Clients as $Client) {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} @endforeach @else @endif
#{{__("ID")}} {{__("User")}} {{__("Image")}} {{__("Phone Number")}} {{__("Services")}} {{__("Rating for each technician")}} {{__("total discount")}} {{__("service Details")}}{{__("Date")}}{{__("Time")}}{{__("Location")}}{{__("Status")}}{{__("Payment Method")}}{{__("Activation")}}{{__("Created at")}}{{__("Control")}}
{{$Client->id}} {{$Client->user->full_name}} user->getFirstMediaFile("profile_photo")->url : Null}}" style="width: 50px; height: 50px;" alt=""> {{$Client->phone_number}} $Client->id])}}" class="btn btn-primary">{{__("Details")}}--}} {{-- --}} {{-- --}} {{-- --}} {{-- {{in_array($order->status,[0,1,2,3]) ? $order->acceptOrder()->technician->full_name : ""}}--}} {{--
{{$Client->user->promocode? $Client->user->promocode->PromoCodeByType():null}}{{$order->order_day}}{{date("H:i A", strtotime($order->order_time_from))}} - {{date("H:i A", strtotime($order->order_time_to))}}{{$order->order_location_name}}status == "-1") yellow @else green @endif">{{$order->getStatusText()}}{{$order->paymentMethod->name}}{{$order->getActivationText()}}{{$order->created_at->diffForHumans()}} $Client->id])}}" class="btn btn-primary">{{__("Details")}}
@endsection @section("scripts") @endsection