| Description | Quantity | Unit Price | Amount |
|---|---|---|---|
|
Course Enrollment: {{ $metadata['course']['title'] ?? $metadata['course_title'] ?? 'Course' }}
@if(isset($metadata['course']))
@if(isset($metadata['course']['description']))
{{ Str::limit($metadata['course']['description'], 150) }}
@endif
@if(isset($metadata['course']['duration']) || isset($metadata['course']['level']))
@if(isset($metadata['course']['duration']))
Duration: {{ $metadata['course']['duration'] }}
@endif
@if(isset($metadata['course']['level']))
| Level: {{ ucfirst($metadata['course']['level']) }}
@endif
@if(isset($metadata['course']['language']))
| Language: {{ $metadata['course']['language'] }}
@endif
@endif
@endif
|
1 | {{ number_format($metadata['amount'] ?? $invoice->amount, 2) }} | {{ number_format($metadata['amount'] ?? $invoice->amount, 2) }} {{ strtoupper($invoice->currency) }} |
|
ImmigoPro Package: {{ $metadata['package_name'] ?? 'Package' }}
@if(isset($metadata['payment_plan']))
Payment Plan: {{ $metadata['payment_plan'] === 'full' ? 'Full Payment' :
($metadata['payment_plan'] === '3month' ? '3-Month Plan' :
($metadata['payment_plan'] === '6month' ? '6-Month Plan' :
($metadata['payment_plan'] === '12month' ? '12-Month Plan' : ucfirst($metadata['payment_plan'])))) }}
@endif
@if(isset($metadata['description']))
{{ $metadata['description'] }}
@endif
|
1 | {{ number_format($metadata['amount'] ?? $invoice->amount, 2) }} | {{ number_format($metadata['amount'] ?? $invoice->amount, 2) }} {{ strtoupper($invoice->currency) }} |
|
{{ $metadata['product_name'] ?? $metadata['plan_name'] ?? 'Service' }}
@if(isset($metadata['description']))
{{ $metadata['description'] }}
@endif
|
1 | {{ number_format($invoice->amount, 2) }} | {{ number_format($invoice->amount, 2) }} {{ strtoupper($invoice->currency) }} |