{{-- --}}

{{ $invoice->business->name ?? 'Business Name' }}

{{ $invoice->business->website ?? 'www.website.com' }}

{{ $invoice->user->email }}

{{ $invoice->user->phone ?? '+91 00000 00000' }}

{{ $invoice->business->address ?? 'Business address' }}

{{ $invoice->business->city ?? 'City' }}, {{ $invoice->business->state ?? 'State' }}, {{ $invoice->business->country ?? 'Country' }} - {{ $invoice->business->postal_code ?? '000 000' }}

TAX ID {{ $invoice->business->tax_id ?? '00XXXXX1234X0XX' }}

Billed to

{{ $invoice->customer->name }}

{{ $invoice->customer->address }}

{{ $invoice->customer->phone }}

Subject

{{ $invoice->subject }}

Invoice number

#{{ $invoice->invoice_number }}

Invoice of ({{ $invoice->business->currency }})

{{ $invoice->business->currency_symbol }}{{ number_format($invoice->total, 2) }}

Reference

{{ $invoice->reference }}

Invoice date

{{ $invoice->created_at->format('d M, Y') }}

Due date

{{ $invoice->due_date->format('d M, Y') }}

@foreach ($invoice->items as $item) @endforeach
Item Detail QTY Rate Amount

{{ $item->name }}

{{ $item->description }}

{{ $item->quantity }} {{ $invoice->business->currency_symbol }}{{ number_format($item->price, 2) }} {{ $invoice->business->currency_symbol }}{{ number_format($item->total, 2) }}
Subtotal {{ $invoice->business->currency_symbol }}{{ number_format($invoice->subtotal, 2) }}
@if ($invoice->tax_rate > 0)
Tax ({{ $invoice->tax_rate }}%) {{ $invoice->business->currency_symbol }}{{ number_format($invoice->tax_amount, 2) }}
@endif @if ($invoice->discount > 0)
Discount {{ $invoice->business->currency_symbol }}{{ number_format($invoice->discount, 2) }}
@endif
Total {{ $invoice->business->currency_symbol }}{{ number_format($invoice->total, 2) }}
@if ($invoice->notes)

{{ $invoice->notes }}

@endif

Terms & Conditions

{{ $invoice->terms ?? 'Please pay within 15 days of receiving this invoice.' }}