@extends('layouts.app') @section('content')
{{ __('Orders') }}
{{ __('Orders Summary') }}
@foreach ($orders as $order) @endforeach
{{ __('Order ID') }} {{ __('Order Date') }} {{ __('Customer') }} {{ __('Total Amount') }} {{ __('Payment Method') }} {{ __('Status') }} {{ __('Action') }}
{{ $order->prefix . $order->order_code }} @if ($order->orderGift) {{ __('Gift') }} @endif {{ $order->created_at->format('d M Y, h:i A') }} {{ $order->customer?->user?->name }} {{ showCurrency($order->payable_amount) }}
{{ __($order->payment_status->value) }}
{{ __($order->payment_method->value) }} {{ __($order->order_status->value) }} @hasPermission('shop.order.show') @endhasPermission
{{ $orders->links() }}
@endsection