@stack('company_start') @if (!$hideCompany)
@stack('company_logo_start') @if (!$hideCompanyLogo) @if (!empty($document->contact->logo) && !empty($document->contact->logo->id)) {{ $document->contact_name }} @else {{ setting('company.name') }} @endif @endif @stack('company_logo_end') @stack('company_details_start') @if (!$hideCompanyDetails) @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 @endif @stack('company_details_end')
@endif @stack('company_end') @if (!$hideContentTitle)

{{ trans('invoices.revenue_made') }}

@endif @if (!$hideAmount) @endif
@if (!$hidePaidAt) @endif @if (!$hideAccount) @endif @if (!$hideCategory) @endif @if (!$hidePaymentMethods) @endif @if (!$hideReference) @endif @if (!$hideDescription) @endif @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('general.date') }}: @date($transaction->paid_at)
{{ trans_choice('general.accounts', 1) }}: {{ $transaction->account->name }}
{{ trans_choice('general.categories', 1) }}: {{ $transaction->category->name }}
{{ trans_choice('general.payment_methods', 1) }}: {{ $payment_methods[$transaction->payment_method] }}
{{ trans('general.reference') }}: {{ $transaction->reference }}
{{ trans('general.description') }}:

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

{{ trans('general.paid_by') }}

{{ 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('general.amount') }}

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

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

{{ trans('invoices.related_revenue') }}

{{ trans_choice('general.numbers', 1) }} {{ trans_choice('general.customers', 1) }} {{ trans('invoices.invoice_date') }} {{ trans('invoices.invoice_date') }} {{ trans('general.amount') }}
{{ $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)
@else

{{ trans('invoices.overdue_revenue') }}: @money($transaction->amount, $transaction->currency_code, true)

@endif @endif