@extends("layouts.admin.app") @section("page-title") {{__("Dashboard")}} @endSection @section("page-nav-title")
{{__("Order Details Page")}}
#{{__("ID")}} | {{__("User")}} | {{__("Date")}} | {{__("Time")}} | {{__("Location")}} | {{__("Status")}} | {{__("Payment Method")}} | {{__("Activation")}} | {{__("Created at")}} | {{__("Control")}} |
---|---|---|---|---|---|---|---|---|---|
{{$order->id}} | {{$order->user->full_name}} | {{$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()}} | $order->id])}}" class="btn btn-primary">{{__("Details")}} |
{{__("All Orders")}}
--}} {{--#{{__("ID")}} | --}} {{--{{__("Invoice Part Name")}} | --}} {{--{{__("order number")}} | --}} {{--{{__("Part Price")}} | --}} {{--{{__("Technician Name")}} | --}} {{--{{__("Main Specialties")}} | --}} {{--{{__("Invoice Part Services")}} | --}} {{--
---|---|---|---|---|---|---|
{{$InvoicePart->id}} | --}} {{--{{$InvoicePart->name}} | --}} {{--{{$InvoicePart->Invoice ? $InvoicePart->invoice->order->id : Null}} | --}} {{--{{$InvoicePart->price}} | --}} {{--{{$InvoicePart->invoice->order->getAccept() !== null ?$InvoicePart->invoice->order->getAccept()->technician->full_name:null}} | --}} {{--{{$InvoicePart->invoice->order->getAccept() !== null ?$InvoicePart->invoice->order->getAccept()->technician->getAllNameCategory():null}} | --}} {{--@foreach($InvoicePart->invoice->services as $index => $service)--}} {{-- @if($index == 0)--}} {{-- {{$service->service->name}}--}} {{-- @else--}} {{-- {{ " - " . $service->service->name}}--}} {{-- @endif--}} {{-- @endforeach--}} {{-- | --}} {{--