{% extends "./layout/default.twig" %} {% block breadcrumbs %} {{ Breadcrumbs.renderIfExists(Route.getCurrentRoute.getName, bill) }} {% endblock %} {% block content %}

{{ bill.name }}

{% if bill.active %} {% else %} {% endif %} {% if bill.automatch %} {% else %} {% endif %}
{{ 'matching_on'|_ }} {% for word in bill.match|split(',') %} {{ word }} {% endfor %} {{ trans('firefly.between_amounts', {low: bill.amount_min|formatAmount, high: bill.amount_max|formatAmount })|raw }} {{ 'repeats'|_ }} {{ trans('firefly.repeat_freq_' ~bill.repeat_freq) }}.
{{ 'next_expected_match'|_ }} {% if bill.nextExpectedMatch %} {{ bill.nextExpectedMatch.formatLocalized(monthAndDayFormat) }} {% else %} {{ 'unknown'|_ }} {% endif %}
{{ trans('firefly.average_bill_amount_year', {year: year}) }} {{ yearAverage|formatAmount }}
{{ 'average_bill_amount_overall'|_ }} {{ overallAverage|formatAmount }}

{{ 'more'|_ }}

{{ 'chart'|_ }}

{{ 'connected_journals'|_ }}

{% include 'list.journals' %}
{% endblock %} {% block scripts %} {% endblock %}