@if($invoice->isCancelled())
CANCELLED
@endif
@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->status_label }}
Billed To:
{{ $invoice->customer_name }}
@if($invoice->customer_address) {!! nl2br(e($invoice->customer_address)) !!}
@endif @if($invoice->customer_email) {{ $invoice->customer_email }}
@endif @if($invoice->customer_phone) {{ $invoice->customer_phone }} @endif @if($invoice->client && $invoice->client->company)
{{ $invoice->client->company->name }} @endif
@if($invoice->due_date) @endif @if($invoice->original_quotation_id) @endif @if($invoice->converted_at) @endif
{{ $invoice->isQuotation() ? 'Quotation #' : 'Invoice #' }} {{ $invoice->invoice_number }}
Date {{ $invoice->invoice_date->format('d/m/Y') }}
Due Date {{ $invoice->due_date->format('d/m/Y') }}
Original Quotation {{ $invoice->originalQuotation->invoice_number ?? 'N/A' }}
Converted At {{ $invoice->converted_at->format('d/m/Y H:i:s') }}
Status {{ $invoice->status_label }}
@forelse($invoice->items as $index => $item) @empty @endforelse @if($invoice->tax > 0) @endif @if($invoice->discount > 0) @endif @if($invoice->isPaid()) @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
@php $tncTitle = \App\Models\Setting::get('tnc_title', 'Terms & Conditions'); $tncContent = \App\Models\Setting::getHtmlContent('tnc_content'); @endphp @if($tncContent)
{{ $tncTitle }}
{!! $tncContent !!}
@else
Terms & Conditions
  1. A non-refundable deposit of 50% of the total amount is required at the time of booking.
  2. Balance payment should be made on event day or 7 days before the event.
  3. All payment must be made payable to {{ $settings['company_name'] ?? 'JC Web Studio' }} ({{ $settings['bank_account'] ?? 'Public Bank - 3813555112' }})
  4. No refund will be entertained for cancellation within 5 days of event day.
  5. Postponement notice must be given in writing and email to us at least 5 working days prior to event day to qualify for an alternative date.
  6. All the setups, equipments and props are for rental purpose only, not for selling.
  7. However, once broken considered sold.
  8. Free delivery within Klang Valley. For outstation, additional transportation & accommodation fees will be charged accordingly for outstation event.
  9. {{ $settings['company_name'] ?? 'JC Web Studio' }} reserve the right to recover due payment from client by legal remedy available in the court of law.
@endif
@if($invoice->notes)
Notes:

{{ $invoice->notes }}

@endif

{{ $settings['company_name'] ?? 'JC Web Studio' }} @if(!empty($settings['company_address'])) | {{ $settings['company_address'] }} @endif

Generated on {{ now()->format('d/m/Y H:i:s') }}

This is a computer-generated document. No signature is required.