| Invoice #: {{ $studentInvoice->invoice_number }} | Date: {{ $studentInvoice->created_at->format('Y-m-d') }} |
| Student: {{ $studentInvoice->student->first_name ?? '' }} {{ $studentInvoice->student->last_name ?? '' }} | Email: {{ $studentInvoice->student->email ?? 'N/A' }} |
| Code: {{ $studentInvoice->promocode->code }} | Type: {{ ucfirst($studentInvoice->discount_type) }} | Value: @if ($studentInvoice->discount_type == 'fixed') {{ number_format($studentInvoice->discount, 2) }} @else {{ number_format($studentInvoice->discount, 0) }}% @endif |
| Final Price: | {{ number_format($studentInvoice->net_price, 2) }} |