@php $platform = $order['platform'] ?? []; $platformName = $platform['name'] ?? config('app.name'); $platformLogo = $platform['logo_url'] ?? null; @endphp @if(!empty($platformLogo))
{{ $platformName }}
@endif

{{ $platformName }}

PAYMENT INSTRUCTIONS

Order # {{ $order['order_number'] }}

Date: {{ !empty($order['created_at']) ? \Illuminate\Support\Carbon::parse($order['created_at'])->toFormattedDateString() : '-' }}

{{ $order['status'] ?? 'pending' }}

Customer

@php $account = $order['account'] ?? []; $companyName = $account['company_name'] ?? null; $contactName = $account['name'] ?? null; $billingEmail = $account['email'] ?? null; @endphp @if(!empty($companyName))

{{ $companyName }}

@endif

{{ $contactName ?? '-' }}

{{ $billingEmail ?? '-' }}

Order Details

Plan: {{ $order['plan'] ?? '-' }}

Billing Cycle: {{ $order['billing_cycle'] ?? '-' }}

Amount: {{ strtoupper($order['currency'] ?? 'USD') }} {{ number_format(($order['amount_total'] ?? 0) / 100, 2) }}

Payment Method: {{ ucfirst($order['payment_method'] ?? 'cash') }}

Reference Number: {{ $order['reference_number'] ?? '-' }}

Payment Instructions

@php $cash = $order['cash'] ?? []; $instructions = $cash['instructions'] ?? ''; @endphp

{!! nl2br(e($instructions ?: 'Please complete the payment offline and upload your proof in Orders.')) !!}

Use the reference number when submitting your payment proof.