@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)

{!! nl2br(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 @if (!$hideAmount) @endif
@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') @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($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) }}

{{ trans($textContactInfo) }}
{{ $transaction->contact->name }}

{!! nl2br($transaction->contact->address) !!}

@if ($transaction->contact->tax_number) {{ trans('general.tax_number') }}: {{ $transaction->contact->tax_number }} @endif

@if ($transaction->contact->phone) {{ $transaction->contact->phone }} @endif

{{ $transaction->contact->email }}

{{ trans($textAmount) }}

@money($transaction->amount, $transaction->currency_code, true)

@if (!$hideRelated) @if ($transaction->document)

{{ trans($textRelatedTransansaction) }}

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