Hi,
Is there a possibility to access and use the information about the export in the code of an account- or reconciliation template?
This would be useful in order to be able to adapt the template’s content according to the export(-style).
Something along the lines of:
{%nic%}
{% if export_style.name == ‘Some export style name’ %}
This is only shown in exports of style ‘Some export style name’
{% endif %}
{%endnic%}
I noticed that an export-drop is being used in the advanced configuration of an export-style, e.g. in the code for the Detail Text:
{% for account_or_text in export.selected_accounts_and_reconciliation_texts.assets.include_zeros_with_details %}
This drop, however, does not seem to be able to be accessed in account/reconciliation templates.
Is there another way to accomplish export-(style-)dependent template content?