Add info on expired recurring transactions.

This commit is contained in:
James Cole
2020-05-04 10:12:38 +02:00
parent 2ff8a35171
commit 6f6087995d
3 changed files with 10 additions and 3 deletions

View File

@@ -85,6 +85,11 @@
</ol>
</td>
<td>
{% if null != rt.repeat_until and today > rt.repeat_until %}
<span class="text-danger">
{{ trans('firefly.repeat_until_in_past', {date: rt.repeat_until.formatLocalized(monthAndDayFormat) }) }}
</span>
{% endif %}
<ul>
{% for rep in rt.repetitions %}
<li>{{ rep.description }}