|
|
{{ entry.name }}
|
{% for match in entry.match|split(',') %}
{{ match }}
{% endfor %}
|
{{ entry.amount_min|formatAmount }}
|
{{ entry.amount_max|formatAmount }}
|
{#
paidDates = 0 (bill not paid in period)
payDates = 0 (bill not expected to be paid in this period)
bill is active.
#}
{% if entry.paidDates.count() == 0 and entry.payDates.count() == 0 and entry.active %}
{{ 'not_expected_period'|_ }}
|
{{ entry.nextExpectedMatch.formatLocalized(monthAndDayFormat) }}
|
{% endif %}
{#
paidDates = 0 (bill not paid in period)
payDates > 0 (bill IS expected to be paid in this period)
bill is active
#}
{% if entry.paidDates.count() == 0 and entry.payDates.count() > 0 and entry.active %}
{{ 'not_or_not_yet'|_ }}
|
{{ entry.nextExpectedMatch.formatLocalized(monthAndDayFormat) }}
|
{% endif %}
{#
paidDates >= 0 (bill is paid X times).
Don't care about payDates.
#}
{% if entry.paidDates.count() > 0 and entry.active %}
{% for date in entry.paidDates %}
{{ date.formatLocalized(monthAndDayFormat) }}
{% endfor %}
|
{{ entry.nextExpectedMatch.formatLocalized(monthAndDayFormat) }}
|
{% endif %}
{# bill is not active #}
{% if not entry.active %}
~
|
~
|
{% endif %}
{% if entry.active %}
{% else %}
{% endif %}
|
{% if entry.automatch %}
{% else %}
{% endif %}
|
{{ entry.repeat_freq|_ }}
{% if entry.skip > 0 %}
{{ 'skips_over'|_ }} {{ entry.skip }}
{% endif %}
|
{% endfor %}