{{ $textDocumentSubheading }}
@stack('subheading_input_end') @endif @if (! $hideCompanyDetails) @if (! $hideCompanyName){{ setting('company.name') }}
@endif @if (! $hideCompanyAddress){!! nl2br(setting('company.address')) !!} {!! $document->company->location !!}
@endif @if (! $hideCompanyTaxNumber) @if (setting('company.tax_number')){{ trans('general.tax_number') }}: {{ setting('company.tax_number') }}
@endif @endif @if (! $hideCompanyPhone) @if (setting('company.phone')){{ setting('company.phone') }}
@endif @endif @if (! $hideCompanyEmail){{ setting('company.email') }}
@endif @endif @stack('company_details_end'){{ trans($textContactInfo) }}
@endif @stack('name_input_start') @if (! $hideContactName) @if ($print){{ $document->contact_name }}
@else
{!! nl2br($document->contact_address) !!}
{!! $document->contact_location !!}
{{ trans('general.tax_number') }}: {{ $document->contact_tax_number }}
@endif @endif @stack('tax_number_input_end') @stack('phone_input_start') @if (! $hideContactPhone) @if ($document->contact_phone){{ $document->contact_phone }}
@endif @endif @stack('phone_input_end') @stack('email_input_start') @if (! $hideContactEmail){{ $document->contact_email }}
@endif @stack('email_input_end'){{ trans($textOrderNumber) }}: {{ $document->order_number }}
@endif @endif @stack('order_number_input_end') @stack('issued_at_input_start') @if (! $hideIssuedAt){{ trans($textIssuedAt) }}: @date($document->issued_at)
@endif @stack('issued_at_input_end') @stack('due_at_input_start') @if (! $hideDueAt){{ trans($textDueAt) }}: @date($document->due_at)
@endif @stack('due_at_input_end') @foreach ($document->totals_sorted as $total) @if ($total->code == 'total')
{{ trans($total->name) }}:
{{ (trans_choice($textItems, 2) != $textItems) ? trans_choice($textItems, 2) : trans($textItems) }} | @endif @stack('name_th_end') @stack('quantity_th_start') @if (! $hideQuantity){{ trans($textQuantity) }} | @endif @stack('quantity_th_end') @stack('price_th_start') @if (! $hidePrice){{ trans($textPrice) }} | @endif @stack('price_th_end') @if (! $hideDiscount) @if (in_array(setting('localisation.discount_location', 'total'), ['item', 'both'])) @stack('discount_td_start'){{ trans('invoices.discount') }} | @stack('discount_td_end') @endif @endif @stack('total_th_start') @if (! $hideAmount){{ trans($textAmount) }} | @endif @stack('total_th_end')
{{ trans('documents.empty_items') }} |