@extends('website.user.layout.layout')
@section('title', 'Orders')
@section('user-content')
{{ __('Order') }}
@if (!$orders->isEmpty())
| {{ __('Order Id') }} |
{{ __('Date') }} |
{{ __('Payment Status') }} |
{{ __('Status') }} |
{{ __('Amount') }} |
{{ __('Action') }} |
@foreach ($orders as $order)
|
#{{ $order->order_id }}
|
{{ now()->parse($order->created_at)->format('M d, Y') }}
|
{{ $order->payment_status }}
|
{{ __(getOrderStatus($order->delivery_status)) }}
|
{{ currency($order->order_amount + $order->delivery_fee + $order->tax - $order->discount) }}
|
|
@endforeach
@else
@include('components.no-data-found', ['message' => __('No Orders Found')])
@endif
@if ($orders->lastPage() > 1)
@endif
@endsection