@props(['invoice' => $invoice])
  • {{app(App\Settings\CompanySettings::class)->company_name}}
  • {{app(App\Settings\CompanySettings::class)->address}}
  • {{app(App\Settings\CompanySettings::class)->email}}
  • {{app(App\Settings\CompanySettings::class)->phone}}
@if(isset($invoice->inv_id))

Invoice {{ $invoice->inv_id }}

@endif
    @if(isset($invoice->invoice_date)) Date: {{ date_format(date_create($invoice->invoice_date), 'M d, Y') }} @endif @if(isset($invoice->due_date)) Due date: {{ date_format(date_create($invoice->due_date), 'M d, Y') }} @endif
@if(isset($invoice->client))
Invoice to:
  • {{ $invoice->client->firstname }} {{ $invoice->client->lastname }}
  • {{ $invoice->client->company }}
  • {{ $invoice->client->address }}
  • {{ $invoice->client->phone }}
  • {{ $invoice->client->email }}
@endif
@if(isset($invoice->items) && is_array($invoice->items)) @foreach($invoice->items as $item) @endforeach @endif
# ITEM DESCRIPTION UNIT COST QUANTITY TOTAL
{{ $item['name'] }} {{ $item['description'] ?? '' }} {{ app(App\Settings\ThemeSettings::class)->currency_symbol . ' ' . $item['unit_cost'] }} {{ $item['quantity'] }} {{ app(App\Settings\ThemeSettings::class)->currency_symbol . ' ' . $item['total'] }}
@if(isset($invoice->tax)) @endif @if(isset($invoice->total)) @endif
Tax: {{ $invoice->tax->percentage }}%
Total: {{ app(App\Settings\ThemeSettings::class)->currency_symbol . ' ' . $invoice->total }}
@if(isset($invoice->note))

{{ $invoice->note }}

@else

No additional notes.

@endif