{% extends "./layout/default" %} {% block breadcrumbs %} {{ Breadcrumbs.render(Route.getCurrentRoute.getName) }} {% endblock %} {% block content %} {% if total > 0 %}

{{ 'recurrences'|_ }}

{{ ('make_new_recurring')|_ }}
{{ paginator.render|raw }}
{% for rt in paginator %} {% endfor %}
{{ trans('list.title') }} {{ trans('list.transaction_s') }} {{ trans('list.repetitions') }}
{% if rt.active == false %}{% endif %} {{ rt.transaction_type|_ }}: {{ rt.title }} {% if rt.active == false %} ({{ 'inactive'|_|lower }}){% endif %} {% if rt.description|length > 0 %}
{{ rt.description }}
{% endif %}
    {% for rtt in rt.transactions %}
  1. {# normal amount + comma#} {{ formatAmountBySymbol(rtt['amount'],rtt['currency_symbol'],rtt['currency_dp']) }}{% if rtt['foreign_amount'] == null %},{% endif %} {# foreign amount + comma #} {% if null != rtt['foreign_amount'] %} ({{ formatAmountBySymbol(rtt['foreign_amount'],rtt['foreign_currency_symbol'],rtt['foreign_currency_dp']) }}), {% endif %} {{ rtt['source_name'] }}{{ rtt['destination_name'] }}
  2. {% endfor %}
    {% for rep in rt.recurrence_repetitions %}
  • {{ rep.description }} {% if rep.repetition_skip == 1 %} ({{ trans('firefly.recurring_skips_one')|lower }}). {% endif %} {% if rep.repetition_skip > 1 %} ({{ trans('firefly.recurring_skips_more', {count: rep.repetition_skip})|lower }}). {% endif %} {% if rep.weekend == 3 %} {{ 'will_jump_friday'|_ }} {% endif %} {% if rep.weekend == 4 %} {{ 'will_jump_monday'|_ }} {% endif %} {% if rep.weekend == 2 %} {{ 'except_weekends'|_ }} {% endif %}
  • {% endfor %}

{% if null == rt.repeat_until and rt.repetitions == 0 %} {{ 'recurring_repeats_forever'|_ }}. {% endif %} {% if null != rt.repeat_until and rt.repetitions == 0 %} {{ trans('firefly.recurring_repeats_until', {date: rt.repeat_until.formatLocalized(monthAndDayFormat)}) }}. {% endif %} {% if null == rt.repeat_until and rt.repetitions != 0 %} {{ trans('firefly.recurring_repeats_x_times', {count: rt.repetitions}) }}. {% endif %}

{{ paginator.render|raw }}
{% endif %} {% if total == 0 and page == 1 %} {% include 'partials.empty' with {what: 'default', type: 'recurring',route: route('recurring.create')} %} {% endif %} {% endblock %} {% block styles %} {% endblock %} {% block scripts %} {% endblock %}