|
@php
$logoPath = \App\Models\Setting::get('company_logo');
@endphp
@if(!empty($logoPath) && file_exists(public_path($logoPath)))
@endif {{ $settings['company_name'] ?? 'JC Web Studio' }}
{!! nl2br(e($settings['company_address'] ?? 'B2-2-2, Solaris Dutamas, No.1, Jalan Dutamas 1, 50480 Kuala Lumpur.')) !!}
@if(!empty($settings['company_phone'])) Phone: {{ $settings['company_phone'] }} @endif @if(!empty($settings['company_email'])) Email: {{ $settings['company_email'] }} @endif @if(!empty($settings['company_registration_number'])) Reg. No: {{ $settings['company_registration_number'] }} @endif |
{{ $invoice->isQuotation() ? 'QUOTATION' : 'INVOICE' }}{{ $invoice->invoice_number }}
{{ $invoice->status_label }}
@if($invoice->isPaid())
PAID @endif |
|
Billed To:
{{ $invoice->customer_name }}
@if($invoice->customer_address)
{!! nl2br(e($invoice->customer_address)) !!}
@endif @if($invoice->customer_email) Email: {{ $invoice->customer_email }} @endif @if($invoice->customer_phone) Phone: {{ $invoice->customer_phone }} @endif @if($invoice->client && $invoice->client->company) Company: {{ $invoice->client->company->name }} @endif |
|
| # | Description | Qty | Unit Price | Amount |
|---|---|---|---|---|
| {{ $index + 1 }} | {!! $item->description !!} | {{ $item->quantity }} | RM {{ number_format($item->unit_price, 2) }} | RM {{ number_format($item->amount, 2) }} |
| No items found | ||||
| Subtotal | RM {{ number_format($invoice->subtotal, 2) }} | |||
| Tax | RM {{ number_format($invoice->tax, 2) }} | |||
| Discount | -RM {{ number_format($invoice->discount, 2) }} | |||
| Total | RM {{ number_format($invoice->total, 2) }} | |||
| ✓ PAID ON {{ now()->format('d/m/Y') }} | ||||