@php
$company = app(\App\Settings\CompanySettings::class);
@endphp
- {{ $company->name }}
- {{ $company->address }}
- {{ !empty($company->city) ? $company->city.' , ':'' }}{{ !empty($company->province) ? $company->province.' ,' :''.$company->postal_code}}
{{ __('Invoice') }} {{ $invoice->inv_id }}
- {{ __('Create Date') }}: {{ format_date($invoice->created_at) }}
- {{ __('Start Date') }}: {{ format_date($invoice->startDate) }}
- {{ __('Expiry date') }}: {{ format_date($invoice->expiryDate) }}
{{ __('Invoice to') }}:
@php
$client = $invoice->client;
@endphp
{{ $client->fullname }}
- {{ $client->address }}
-
{!! $invoice->client_address !!}
-
{!! $invoice->billing_address !!}
- {{ $client->phoneNumber }}
- {{ $client->email }}
| # |
{{ __('ITEM') }} |
{{ __('DESCRIPTION') }} |
{{ __('UNIT COST') }} |
{{ __('QUANTITY') }} |
{{ __('TOTAL') }} |
@if (!empty($invoice->items) && $invoice->items->count() > 0)
@foreach ($invoice->items as $i => $item)
| {{ ++$i}} |
{{ $item->name }} |
{{ $item->description }}
|
{{ LocaleSettings('currency_symbol') }} {{ $item->unit_cost }} |
{{ $item->quantity }} |
{{ LocaleSettings('currency_symbol') }} {{ $item->total }} |
@endforeach
@endif
| {{ __('Subtotal') }}: |
{{ LocaleSettings('currency_symbol') }} {{ $invoice->subtotal }} |
| {{ __('Tax') }}: ({{ $invoice->tax->percentage }}%) |
{{ LocaleSettings('currency_symbol') }}{{ $invoice->tax_amount }} |
| {{ __('Discount') }}: ({{ $invoice->discount }}%) |
{{ LocaleSettings('currency_symbol') }}{{ $invoice->discount }} |
| Total: |
{{ LocaleSettings('currency_symbol') }} {{ $invoice->grand_total }} |
{{ __('Other information') }}
{{ $invoice->note }}