@extends("layouts.admin.app") @section("page-title") {{__("Dashboard")}} @endSection @section("page-nav-title")
{{__("All Orders")}}
#{{__("ID")}} | {{__("User")}} | {{__("Date")}} | {{__("Time")}} | {{__("Branch Name")}} | {{__("Payment Method")}} | {{__("Coupon")}} | {{__("Type")}} | {{__("Created at")}} | {{__("Control")}} |
---|---|---|---|---|---|---|---|---|---|
{{$order->id}} | {{$order->user->first_name . " " . $order->user->last_name}} | {{date("Y/m/d", strtotime($order->created_at))}} | {{date("H:i:s", strtotime($order->created_at))}} | {{$order->branch->name}} | {{$order->payment->name}} | {{ $order->coupon_id ? __("Yes") : __("No") }} | {{$order->getTypeText()}} | {{$order->created_at->diffForHumans()}} | @if(isPermissionsAllowed("control-orders"))$order->id])}}" class="btn btn-primary mb-3">{{__("Details")}} | @endif