@extends('layouts.app') @section('title', 'MyTax Submission Details') @section('content')
| Order Number: | {{ $order->order_number }} |
| Website: |
{{ $order->website->domain }}
{{ $order->website->name }} |
| Customer: |
{{ $order->customer_name }}
{{ $order->customer_email }} |
| Total Amount: | RM {{ number_format($order->total_amount, 2) }} |
| Order Date: | {{ $order->created_at->format('d/m/Y H:i') }} |
| Payment Status: | @if($order->payment_status === 'paid') Paid @elseif($order->payment_status === 'pending') Pending @else {{ ucfirst($order->payment_status) }} @endif |
| Payment Method: | {{ ucfirst(str_replace('_', ' ', $order->payment_method)) }} |
| Items Count: | {{ $order->items->count() }} items |
| Item | Quantity | Unit Price | Total |
|---|---|---|---|
|
{{ $item->product_name }}
@if($item->variation_details)
{{ $item->variation_details }} @endif |
{{ $item->quantity }} | RM {{ number_format($item->unit_price, 2) }} | RM {{ number_format($item->total_price, 2) }} |
| Subtotal | RM {{ number_format($order->subtotal, 2) }} | ||
| Tax | RM {{ number_format($order->tax_amount, 2) }} | ||
| Shipping | RM {{ number_format($order->shipping_amount, 2) }} | ||
| Total | RM {{ number_format($order->total_amount, 2) }} | ||
| Submission UUID: | {{ $order->mytax_submission_uuid }} |
| Document UUID: | {{ $order->mytax_document_uuid }} |
| Long ID: | {{ $order->mytax_long_id }} |
| Submitted: | {{ $order->mytax_submitted_at->format('d/m/Y H:i') }} |
| Validated: | {{ $order->mytax_validated_at->format('d/m/Y H:i') }} |
{{ json_encode($error, JSON_PRETTY_PRINT) }}
@else
{{ $error }}
@endif{{ json_encode($submissionDetails, JSON_PRETTY_PRINT) }}