@extends('website.user.layout.layout') @section('title', 'Orders') @section('user-content')

{{ __('Order') }}

@if (!$orders->isEmpty())
@foreach ($orders as $order) @endforeach
{{ __('Order Id') }} {{ __('Date') }} {{ __('Payment Status') }} {{ __('Status') }} {{ __('Amount') }} {{ __('Action') }}
#{{ $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) }}
@else @include('components.no-data-found', ['message' => __('No Orders Found')]) @endif
@if ($orders->lastPage() > 1)
{{ $orders->links('vendor.pagination.frontend') }}
@endif
@endsection