@extends('layouts/layoutMaster') @section('title', __('locale.Order Details')) @section('vendor-style') @vite(['resources/assets/vendor/libs/datatables-bs5/datatables.bootstrap5.scss', 'resources/assets/vendor/libs/datatables-responsive-bs5/responsive.bootstrap5.scss', 'resources/assets/vendor/libs/datatables-buttons-bs5/buttons.bootstrap5.scss', 'resources/assets/vendor/libs/sweetalert2/sweetalert2.scss', 'resources/assets/vendor/libs/@form-validation/form-validation.scss', 'resources/assets/vendor/libs/select2/select2.scss']) @endsection @section('vendor-script') @vite(['resources/assets/vendor/libs/datatables-bs5/datatables-bootstrap5.js', 'resources/assets/vendor/libs/sweetalert2/sweetalert2.js', 'resources/assets/vendor/libs/cleave-zen/cleave-zen.js', 'resources/assets/vendor/libs/@form-validation/popular.js', 'resources/assets/vendor/libs/@form-validation/bootstrap5.js', 'resources/assets/vendor/libs/@form-validation/auto-focus.js', 'resources/assets/vendor/libs/select2/select2.js']) @endsection @section('page-script') @endsection @section('content')
created_at->format('d, M') }} {{ $order->created_at->format('Y') }}, {{ $order->created_at->format('h:i A') }}
{{ __('locale.Products') }} | {{ __('locale.Price') }} | {{ __('locale.Qty') }} | {{ __('locale.Total') }} | ||
---|---|---|---|---|---|
{{ $item->name ?? 'N/A' }} | {{ $currency }}{{ number_format($item->price, 2) }} | {{ $item->quantity }} | {{ $currency }}{{ number_format($item->price * $item->quantity, 2) }} |
{{ Helper::getStatusMessage($log->status) }}
{{ __('locale.Email') }}: {{ $order->user->email ?? 'N/A' }}
{{ __('locale.Phone') }}: {{ $order->user->phone ?? 'N/A' }}
{{ $address['name'] ?? '' }}
{{ $address['address'] ?? '' }}
{{ $address['city'] ?? '' }} - {{ $address['postcode'] ?? '' }}
{{ $address['state'] ?? '' }}
{{ $address['country'] ?? '' }}
{{ __('locale.No address available.') }}
@endif{{ $order->transaction?->txn_id }}
{{ $currency }}{{ $order->transaction?->amount }}