โ† Back to orders
@if (!empty($brand['logo'])) {{-- The logo already carries the brand name โ€” don't repeat it as text. --}} {{ $brand['name'] }} @else

{{ $brand['name'] }}

@endif
@if ($brand['address'])
{{ $brand['address'] }}
@endif @if (!empty($brand['email']))
{{ $brand['email'] }}
@endif @if (!empty($brand['phone']))
{{ $brand['phone'] }}
@endif @if ($brand['tax_id'])
{{ $brand['tax_label'] ?: 'Tax ID' }}: {{ $brand['tax_id'] }}
@endif @if (!empty($brand['reg_no']))
{{ __('Reg. No:') }} {{ $brand['reg_no'] }}
@endif
{{ __('Invoice') }}
{{ $order->order_number }}
{{ optional($order->created_at)->format('M j, Y') }}
{{ $order->status }}
{{ __('Billed to') }}
{{ $order->customer_name ?: optional($order->user)->name }}
{{ $order->customer_email ?: optional($order->user)->email }}
@if ($order->billing_company)
{{ $order->billing_company }}
@endif @if ($order->billing_address)
{{ $order->billing_address }}
@endif @if ($order->billing_city || $order->billing_postal)
{{ trim($order->billing_city . ' ' . $order->billing_postal) }}
@endif @if ($order->billing_country)
{{ $order->billing_country }}
@endif @if ($order->billing_tax_id)
{{ __('Tax ID:') }} {{ $order->billing_tax_id }}
@endif
{{ __('Payment') }}
Method: {{ \Illuminate\Support\Str::title(str_replace('_', ' ', $order->gateway_slug ?: 'manual')) }}
@if ($order->gateway_payment_id)
{{ __('Reference:') }} {{ $order->gateway_payment_id }}
@endif @if ($order->paid_at)
Paid on: {{ $order->paid_at->format('M j, Y H:i') }}
@endif
{{ __('Item') }} {{ __('Qty') }} {{ __('Amount') }}
{{ optional($order->package)->pname ?: 'Plan #' . $order->package_id }}
@if (optional($order->package)->subtitle)
{{ $order->package->subtitle }}
@endif @if ($order->package)
{{ $order->package->plan_duration }} {{ $order->package->plan_unit }}
@endif
1 {!! \App\Support\FormatSettings::formatIn( $order->amount + $order->discount_amount - $order->tax_amount, $order->currency, ) !!}
{{ __('Subtotal') }} {!! \App\Support\FormatSettings::formatIn( $order->amount + $order->discount_amount - $order->tax_amount, $order->currency, ) !!}
@if ($order->discount_amount > 0)
Discount {{ $order->coupon_code ? 'ยท ' . $order->coupon_code : '' }} โˆ’{!! \App\Support\FormatSettings::formatIn($order->discount_amount, $order->currency) !!}
@endif @if ($order->tax_amount > 0)
{{ \App\Models\SystemSetting::get('checkout.tax_label', 'Tax') }} ({{ rtrim(rtrim(number_format($order->tax_rate, 2), '0'), '.') }}%) {!! \App\Support\FormatSettings::formatIn($order->tax_amount, $order->currency) !!}
@endif
{{ __('Total') }} {!! \App\Support\FormatSettings::formatIn($order->amount, $order->currency) !!}
Thank you for your purchase. For support or refunds within {{ (int) \App\Models\SystemSetting::get('pricing.refund_days', 7) }} days, reply to {{ $order->customer_email ?: 'support@' . parse_url(config('app.url'), PHP_URL_HOST) }}.
Order ID: {{ $order->id }}