|
|
{% if journal.transaction_type_type == 'Withdrawal' %}
{% endif %}
{% if journal.transaction_type_type == 'Deposit' %}
{% endif %}
{% if journal.transaction_type_type == 'Transfer' %}
{% endif %}
{% if journal.transaction_type_type == 'Reconciliation' %}
{% endif %}
{% if journal.transaction_type_type == 'Opening balance' %}
{% endif %}
|
{% if journal.group_title|length > 0 %}
{{ journal.group_title }} ({{ journal.description }})
{% else %}
{{ journal.description }}
{% endif %}
|
{{ formatAmountBySymbol(journal.balance_before, auditData[account.id].currency.symbol, auditData[account.id].currency.decimal_places) }}
|
{% if auditData[account.id].currency.id == journal.currency_id %}
{% if account.id == journal.destination_account_id and journal.transaction_type_type == 'Opening balance' %}
{{ formatAmountBySymbol(journal.amount*-1, journal.currency_symbol, journal.currency_decimal_places) }}
{% elseif account.id == journal.destination_account_id and journal.transaction_type_type == 'Deposit' %}
{{ formatAmountBySymbol(journal.amount*-1, journal.currency_symbol, journal.currency_decimal_places) }}
{% elseif account.id == journal.destination_account_id and journal.transaction_type_type == 'Transfer' %}
{{ formatAmountBySymbol(journal.amount*-1, journal.currency_symbol, journal.currency_decimal_places) }}
{% else %}
{{ formatAmountBySymbol(journal.amount, journal.currency_symbol, journal.currency_decimal_places) }}
{% endif %}
{% endif %}
{% if auditData[account.id].currency.id == journal.foreign_currency_id %}
{% if account.id == journal.destination_account_id and journal.transaction_type_type == 'Opening balance' %}
{{ formatAmountBySymbol(journal.foreign_amount*-1, journal.foreign_currency_symbol, journal.foreign_currency_decimal_places) }}
{% elseif account.id == journal.destination_account_id and journal.transaction_type_type == 'Deposit' %}
{{ formatAmountBySymbol(journal.foreign_amount*-1, journal.foreign_currency_symbol, journal.foreign_currency_decimal_places) }}
{% elseif account.id == journal.destination_account_id and journal.transaction_type_type == 'Transfer' %}
{{ formatAmountBySymbol(journal.foreign_amount*-1, journal.foreign_currency_symbol, journal.foreign_currency_decimal_places) }}
{% else %}
{{ formatAmountBySymbol(journal.foreign_amount, journal.foreign_currency_symbol, journal.foreign_currency_decimal_places) }}
{% endif %}
{% endif %}
|
{{ formatAmountBySymbol(journal.balance_after, auditData[account.id].currency.symbol, auditData[account.id].currency.decimal_places) }}
|
{{ journal.date.isoFormat(monthAndDayFormat) }} |
{{ journal.source_account_name }}
|
{{ journal.destination_account_name }}
|
{% if journal.budget_id %}
{{ journal.budget_name }}
{% endif %}
|
{% if journal.category_id %}
{{ journal.category_name }}
{% endif %}
|
{% if journal.bill_id %}
{{ journal.bill_name }}
{% endif %}
|
{{ journal.created_at.isoFormat(dateTimeFormat) }}
|
{{ journal.updated_at.isoFormat(dateTimeFormat) }}
|
{{ journal.notes|default('')|markdown }}
|
{% if null != journal.interest_date %}
{{ journal.interest_date.isoFormat(monthAndDayFormat) }}
{% endif %}
|
{% if null != journal.book_date %}
{{ journal.book_date.isoFormat(monthAndDayFormat) }}
{% endif %}
|
{% if null != journal.process_date %}
{{ journal.process_date.isoFormat(monthAndDayFormat) }}
{% endif %}
|
{% if null != journal.due_date %}
{{ journal.due_date.isoFormat(monthAndDayFormat) }}
{% endif %}
|
{% if null != journal.payment_date %}
{{ journal.payment_date.isoFormat(monthAndDayFormat) }}
{% endif %}
|
{% if null != journal.invoice_date %}
{{ journal.invoice_date.isoFormat(monthAndDayFormat) }}
{% endif %}
|
{% endfor %}