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

{{__("Promocode")}}

{{__("All Promocodes")}}

@endsection @section("css-links") getLocale() . "/pages/orders.css")}}"> @endsection @section("content")
@csrf {{__("Export As Excel")}}
@foreach($orders as $order) @endforeach
#{{__("ID")}} {{__("User Name")}} {{__("Date")}} {{__("Time")}} {{__("Location")}} {{__("Status")}} {{__("Created at")}}
{{$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->location->street . "," . $order->location->building_name . "," . $order->location->apartment_number}} status == "-1") yellow @else green @endif">{{$order->getStatusText()}} {{$order->created_at->diffForHumans()}}
@endsection @section("scripts") @endsection