@stack('company_start') @if (!$hideCompany) @if (!$hideCompanyLogo) @endif @if (!$hideCompanyDetails) @endif
@stack('company_logo_start') @if (!empty($transaction->contact->logo) && !empty($transaction->contact->logo->id)) {{ $transaction->contact_name }} @else {{ setting('company.name') }} @endif @stack('company_logo_end') @stack('company_details_start') @if (!$hideCompanyName)

{{ setting('company.name') }}

@endif @if (!$hideCompanyAddress)

{!! (setting('company.address')) !!}

@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 @stack('company_details_end')
@endif @stack('company_end') @if (!$hideContentTitle)

{{ trans($textContentTitle) }}

@endif @stack('number_input_start') @if (!$hideNumber) @endif @stack('number_input_end') @stack('paid_at_input_start') @if (!$hidePaidAt) @endif @stack('paid_at_input_end') @stack('account_id_input_start') @if (!$hideAccount) @endif @stack('account_id_input_end') @stack('category_id_input_start') @if (!$hideCategory) @endif @stack('category_id_input_end') @stack('payment_method_input_start') @if (!$hidePaymentMethods) @endif @stack('payment_method_input_end') @stack('reference_input_start') @if (!$hideReference) @endif @stack('reference_input_end') @stack('description_input_start') @if (!$hideDescription) @endif @stack('description_input_end')
{{ trans_choice($textNumber, 1) }}: {{ $transaction->number }}
{{ trans($textPaidAt) }}: @date($transaction->paid_at)
{{ trans_choice($textAccount, 1) }}: {{ $transaction->account->name }}
{{ trans_choice($textCategory, 1) }}: {{ $transaction->category->name }}
{{ trans_choice($textPaymentMethods, 1) }}: {{ !empty($payment_methods[$transaction->payment_method]) ? $payment_methods[$transaction->payment_method] : trans('general.na') }}
{{ trans($textReference) }}: {{ $transaction->reference }}
{{ trans($textDescription) }}:

{!! nl2br($transaction->description) !!}

{{ trans($textPaidBy) }}

@if (!$hideContact) @if (! $hideContactInfo) @endif @stack('name_input_start') @if (!$hideContactName) @endif @stack('name_input_end') @stack('address_input_start') @if (!$hideContactAddress) @endif @stack('address_input_end') @stack('tax_number_input_start') @if (!$hideContactTaxNumber) @endif @stack('tax_number_input_end') @stack('phone_input_start') @if (!$hideContactPhone) @endif @stack('phone_input_end') @stack('email_start') @if (!$hideContactEmail) @endif @stack('email_input_end') @endif
{{ trans($textContactInfo) }}
{{ trans('general.name') }} {{ $transaction->contact->name }}
{{ trans('general.address') }} {!! nl2br($transaction->contact->address) !!}
{{ trans('general.tax_number') }} @if ($transaction->contact->tax_number) {{ trans('general.tax_number') }}: {{ $transaction->contact->tax_number }} @endif
{{ trans('general.phone') }} @if ($transaction->contact->phone) {{ $transaction->contact->phone }} @endif
{{ trans('general.email') }} {{ $transaction->contact->email }}
@if (!$hideRelated) @if ($transaction->document)

{{ trans($textRelatedTransansaction) }}

@if (!$hideRelatedDocumentDate) @endif @if (!$hideRelatedDocumentDate) @endif
@if (!$hideRelatedDocumentNumber) {{ trans_choice($textRelatedDocumentNumber, 1) }}
@endif @if (!$hideRelatedContact) {{ trans_choice($textRelatedContact, 1) }} @endif
{{ trans($textRelatedDocumentDate) }} @if (!$hideRelatedDocumentAmount) {{ trans($textRelatedDocumentAmount) }}
@endif @if (!$hideRelatedAmount) {{ trans($textRelatedAmount) }} @endif
@if (!$hideRelatedDocumentNumber) {{ $transaction->document->document_number }}
@endif @if (!$hideRelatedContact) {{ $transaction->document->contact_name }} @endif
@date($transaction->document->due_at) @if (!$hideRelatedDocumentAmount) @money($transaction->document->amount, $transaction->document->currency_code, true)
@endif @if (!$hideRelatedAmount) @money($transaction->amount, $transaction->currency_code, true) @endif
@endif @endif @if (!$hideAmount)
{{ trans($textAmount) }}: @money($transaction->amount, $transaction->currency_code, true)
@endif