@extends("layouts.admin.app") @section("page-title") {{__("Dashboard")}} @endSection @section("page-nav-title")
{{__("All Orders")}}
#{{__("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()}} | @if(!in_array($order->status, [3,0])) $order->id])}}" class="btn mb-2 btn-primary">{{__("Edit")}} @endif $order->id])}}" class="btn btn-primary">{{__("Details")}} |