|
@if(!empty($company['logo']) && file_exists(public_path('storage/' . $company['logo'])))
@else {{ $company['name'] }}
@endif
{{ $company['name'] }}
|
INVOICE
✓ PAID
|
|
BILLED TO
{{ $invoice->customer_name }}
@if($invoice->customer_address)
{{ $invoice->customer_address }}
@endif @if($invoice->customer_city || $invoice->customer_country) {{ $invoice->customer_city ? $invoice->customer_city . ', ' : '' }}{{ $invoice->customer_country ?? 'India' }} @endif @if($invoice->customer_phone) {{ $invoice->customer_phone }} @endif @if($invoice->customer_email) {{ $invoice->customer_email }} @endif |
PAYMENT INFO
Paid Via: {{ ucfirst($invoice->payment_method ?? 'Razorpay') }}
@if($invoice->razorpay_payment_id) Transaction ID: {{ $invoice->razorpay_payment_id }} @elseif($invoice->transaction?->transaction_no) Transaction ID: {{ $invoice->transaction->transaction_no }} @endif Date: {{ $invoice->paid_at ? $invoice->paid_at->format('d M Y, h:i A') : $invoice->invoice_date->format('d M Y') }} Status: {{ ucfirst($invoice->payment_status) }} |
| # | ITEM & DESCRIPTION | QTY | AMOUNT (INR) |
|---|---|---|---|
| {{ $index + 1 }} |
{{ $item['name'] ?? 'Service' }}
@if(!empty($item['description']))
{{ $item['description'] }}
@endif
|
{{ $item['quantity'] ?? 1 }} | ₹ {{ number_format((float)($item['amount'] ?? 0), 2) }} |
| 1 |
{{ ucwords(str_replace('_', ' ', $invoice->invoice_type)) }} Service
|
1 | ₹ {{ number_format((float)$invoice->subtotal_amount, 2) }} |
| Subtotal: | ₹ {{ number_format((float)$invoice->subtotal_amount, 2) }} | ||
|