@if(\Modules\Platform\Core\Helper\CompanySettings::get(\Modules\Platform\Core\Helper\SettingsHelper::S_DISPLAY_SHOW_LOGO_IN_PDF))
{!! \Modules\Platform\Core\Helper\SettingsHelper::pdfLogoPath() !!}
@else
{{ \Modules\Platform\Core\Helper\CompanySettings::get(\Modules\Platform\Core\Helper\SettingsHelper::S_COMPANY_NAME, config('app.name'))}}
@endif
|
@lang('invoices::invoices.pdf.invoice_number') #: {{ $entity->invoice_number }}
@lang('invoices::invoices.pdf.invoice_date'): {{ \Modules\Platform\Core\Helper\UserHelper::formatUserDate($entity->invoice_date) }}
@lang('invoices::invoices.pdf.due_date'): {{ \Modules\Platform\Core\Helper\UserHelper::formatUserDate($entity->due_date) }}
|
|
@lang('invoices::invoices.pdf.company')
{{ $entity->from_company }}
@if(!empty($entity->from_tax_number))
@lang('invoices::invoices.pdf.tax_number'): {{ $entity->from_tax_number }}
@endif
{{ $entity->from_street }}, {{ $entity->from_city }}, {{ $entity->from_zip_code }},
{{ $entity->from_state }} {{$entity->from_country }}
|
@lang('invoices::invoices.pdf.bill_to')
{{ $entity->bill_to }}
@if(!empty($entity->bill_tax_number))
@lang('invoices::invoices.pdf.tax_number'): {{ $entity->bill_tax_number }}
@endif
{{ $entity->bill_street }}, {{ $entity->bill_city }}, {{ $entity->bill_zip_code }},
{{ $entity->bill_state }} {{$entity->bill_country }}
|
@lang('invoices::invoices.pdf.ship_to')
{{ $entity->ship_to }}
@if(!empty($entity->ship_tax_number))
@lang('invoices::invoices.pdf.tax_number'): {{ $entity->ship_tax_number }}
@endif
{{ $entity->ship_street }}, {{ $entity->ship_city }}, {{ $entity->ship_zip_code }},
{{ $entity->bill_state }} {{$entity->ship_country }}
|
|
@lang('invoices::invoices.pdf.product_service')
|
@lang('invoices::invoices.pdf.unit_cost')
|
@lang('invoices::invoices.pdf.quantity')
|
@lang('invoices::invoices.pdf.line_total')
|
@foreach($entity->rows as $row)
{{ $row->product_name }}
|
{{ number_format($row->price,2) }}
@if(!empty($entity->currency))
{{ $entity->currency->code }}
@endif
|
{{ $row->quantity }}
|
{{ number_format($row->lineTotal,2) }}
@if(!empty($entity->currency))
{{ $entity->currency->code }}
@endif
|
@endforeach
|
@lang('invoices::invoices.pdf.subtotal')
|
{{ number_format($entity->subtotal,2) }}
@if(!empty($entity->currency))
{{ $entity->currency->code }}
@endif
|
|
{{ number_format($entity->discount,2) }}
@if(!empty($entity->currency))
{{ $entity->currency->code }}
@endif
|
|
{{ number_format($entity->delivery_cost,2) }}
@if(!empty($entity->currency))
{{ $entity->currency->code }}
@endif
|
|
{{ number_format($entity->taxValue,2) }}
@if(!empty($entity->currency))
{{ $entity->currency->code }}
@endif
|
|
{{ number_format($entity->grossValue,2) }}
@if(!empty($entity->currency))
{{ $entity->currency->code }}
@endif
|