@if ($watermarkLogoDataUri) Watermark logo @endif @php $statusClass = match ($order->status) { 'paid' => 'status-paid', 'pending' => 'status-pending', 'cancelled' => 'status-cancelled', default => 'status-default', }; @endphp
@if (!empty($logoDataUri)) {{ config('app.name') }} @else
{{ config('app.name', 'iTechBD') }}
@endif
System-generated course invoice
Invoice #INV-{{ $order->id }}
Created {{ optional($order->created_at)->format('d M Y, h:i A') }}
{{ ucfirst($order->status) }}
Billed To
{{ $user->name }}
{{ $user->email }}
Course
{{ $order->course?->title ?? '—' }}
Batch: {{ $order->batch?->name ?? '—' }}
Invoice Date
{{ optional($order->created_at)->format('d M Y') }}
Total
{{ $order->currency }} {{ number_format((float) $order->amount, 2) }}
Description Amount
Course enrollment{{ $order->course ? ': ' . $order->course->title : '' }} @if ($order->batch) (Batch: {{ $order->batch->name }}) @endif {{ $order->currency }} {{ number_format((float) $order->amount, 2) }}
Total {{ $order->currency }} {{ number_format((float) $order->amount, 2) }}