Billed From
{{ config('app.name') }}
{{ $setting->footer_contact_number }}
{{ $setting->footer_support_mail }}
Label :1, House: 1/1 (A&B),
Adabor Bazar Road,
Mohammadpur, Dhaka - 1207
Billed To
{{ $invoice->user->name }}
@if ($invoice->user->email) {{ $invoice->user->email }}
@endif @if ($invoice->user->phone) {{ $invoice->user->phone }}
@endif
INVOICE
Invoice Number: #{{ $invoice->invoice_token }}
Invoice Date: {{ $invoice->created_at->format('d F, Y') }}
Payment Status: {{ $invoice->payment_status ? 'Paid' : 'Unpaid' }}
@php $subTotal = 0; @endphp @foreach ($invoice->courses as $course) @php $subTotal += $course->price ? $course->price : $course->regular_price; @endphp @endforeach @if ($invoice->description) @endif
Description Quantity Unit Amount (BDT)
{{ $course->title }} 1 {{ $course->price ? $course->price : $course->regular_price }}
Note: {{ $invoice?->description }}
Sub Total: {{ $subTotal }} x {{ $invoice->qty }}
Discount Amount({{ $invoice->discount_type == 'percentage' ? '%' : '৳' }}{{ $invoice->discount_amount ?? 0 }}) @if ($invoice->discount_type == 'percentage') {{ ($subTotal * $invoice->discount_amount) / 100 }} @else {{ $invoice->discount_amount ?? 0 }} @endif
Grand Total: {{ $app_setting['currency_symbol'] }}{{ $invoice->total_price }}