@extends("layouts.admin.app") @section("page-title") {{__("Dashboard")}} @endSection @section("page-nav-title")
{{__("Order Details Page")}}
#{{__("ID")}} | {{__("Date")}} | {{__("Time")}} | {{__("Location")}} | {{__("Technician Name")}} | {{__("Technician Rating")}} | {{__("Status")}} | {{__("Payment Method")}} | {{__("Activation")}} | {{__("Created at")}} | {{__("Service")}} | {{__("Total Amount")}} | {{__("Discount")}} |
---|---|---|---|---|---|---|---|---|---|---|---|---|
{{$order->id}} | {{$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}} | {{$order->acceptOrder() != Null ? $order->acceptOrder()->technician->full_name : Null}} |
{{-- @if($order->acceptOrder() != Null)--}}
{{-- --}}
{{-- --}}
{{-- --}}
{{-- --}}
{{-- --}}
{{-- --}}
{{-- --}}
{{-- @else--}}
{{-- ---}}
{{-- @endif--}}
@if($order->rating && $order->rating->number_rating != 0)
{{$order->rating->reason}} @endif @else{{__("There's No Rating")}} |
status == "-1") yellow @else green @endif">{{$order->getStatusText()}} | {{$order->paymentMethod->name}} | {{$order->getActivationText()}} | {{$order->created_at->diffForHumans()}} |