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

{{__("technician")}}

{{__("Report technician")}}

@endsection @section("css-links") getLocale() . "/pages/orders.css")}}"> @endsection @section("content")
@csrf
@if (!empty($orders))
{{__('number of orders')}}

{{count($orders)}}

{{__('number of orders')}}
{{__('number of orders')}}
@else @endif
@if (!empty($orders)) @foreach($orders as $key =>$order) @endforeach @else @endif
#{{__("ID")}} {{__("User")}} {{__("Date")}} {{__("Time")}} {{__("Location")}} {{__("Status")}} {{__("Payment Method")}} {{__("Activation")}} {{__("Created at")}} {{__("Control")}}
{{$order[0]->id}} {{$order[0]->user->full_name}} {{$order[0]->order_day}} {{date("H:i A", strtotime($order[0]->order_time_from))}} - {{date("H:i A", strtotime($order[0]->order_time_to))}} {{$order[0]->order_location_name}} status == "-1") yellow @else green @endif">{{$order[0]->getStatusText()}} {{$order[0]->paymentMethod->name}} {{$order[0]->getActivationText()}} {{$order[0]->created_at->diffForHumans()}} $order[0]->id])}}" class="btn btn-primary">{{__("Details")}}
@endsection @section("scripts") @endsection