{% if transactions_data == 'emptyfilters' %}
Please select from the above filters to generate a report. |
{% elseif accounts_data == false and periods_data == false and transactions_data == false %}
There are currently no records to show |
{% else %}
{% if accounts_data %}
{% include 'D2BillingBundle:DetailedLedgerReport:listAccounts.html.twig' with {'accounts_data': accounts_data, 'opening_balance': account_opening_balances} %}
{% elseif periods_data %}
{% include 'D2BillingBundle:DetailedLedgerReport:listPeriods.html.twig' with {'periods_data': periods_data, 'opening_balance': opening_balance} %}
{% else %}
{% include 'D2BillingBundle:DetailedLedgerReport:listDefault.html.twig' with {'transactions_data': transactions_data, 'opening_balance': opening_balance} %}
{% endif %}
{% endif %}