@include('sales::invoices.partials.shared-head-assets') @include('sales::invoices.partials.embedded-xml')
@foreach($languages as $language) @php // Here, we are setting the locale to the current language in the iteration to ensure Laravel localization will // render the correct language. app()->setLocale($language) @endphp @if($invoiceConditions['isStudent']) @include('draft') @endif @if (isset($isInBulk) || ((isset($languages) && count($languages) > 1) && empty($useRepeatingPdfHeader)))| @lang('products::product.Image') @endif | product_description) style="width: 15%;color:{{$formDesign->themeColor}} !important" @else style="width: 15%;color:{{$formDesign->themeColor}} !important" @endif>@lang($productTypeTitle) | @if($formDesign->product_description && !isset($invoice))@lang('sales::invoices.Description') |
@elseif($formDesign->product_description)
@lang('sales::invoices.Description') |
@endif
@lang('sales::invoices.qty') | @lang('sales::invoices.unit_price') | @if($formDesign->unit)@lang('settings::forms_design.unit') | @endif @if($formDesign->discount)@lang('sales::invoices.discount') | @endif @if($invoiceConditions['shouldDisplayProductVatAmount'])@lang('sales::invoices.vat') | @lang('sales::invoices.vat_value') | @endif@lang('sales::invoices.Amount') | @if($invoiceConditions['shouldDisplayProductTotalWithVat'])@lang('sales::invoice_template.total') | @endif
|---|---|---|---|---|---|---|---|---|---|---|---|
|
@endif
{{ $record->product->name }} | @if($formDesign->product_description)@endif | {{ number_format($record->quantity,2,".",",") }} | {{ number_format($record->price,2,".",",") }} | @if($formDesign->unit){{$record->product->unit->name}} | @endif @if($formDesign->discount){{ number_format($record->discount,2,".",",") }} | @endif @if($invoiceConditions['shouldDisplayProductVatAmount']){{ ($record->tax)?$record->tax->percentage:0 }} | {{ number_format($record->vat_value,2,".",",") }} | @endif@if($formDesign->tax_status == \Modules\Settings\Enums\TaxStatusesEnum::INCLUDE_VAT) {{ number_format($record->total,2,".",",") }} @else {{ number_format($record->gross,2,".",",") }} @endif | @if($invoiceConditions['shouldDisplayProductTotalWithVat']){{ number_format($record->total,2,".",",") }} | @endif|
| ................................................ ................................................ ................................................ ........ {{__('sales::invoices.service')}} | {{$feeServiceActivity->feeServiceModel->feeService['name_en']}} | {{ number_format($feeServiceActivity->total_amount,2,".",",") }} | {{ __('sales::invoice_returns.vat') }} | {{ number_format($feeServiceActivity->tax_value,2,".",",") }} |
{!! $invoiceMetadata['invoiceNotes'] !!}
@endif{!! $invoiceMetadata['invoiceTerms'] !!}
@endif