{% extends "./layout/default.twig" %} {% block breadcrumbs %} {{ Breadcrumbs.renderIfExists(Route.getCurrentRoute.getName, piggyBank) }} {% endblock %} {% block content %}
{{ 'events'|_ }}
{{ 'details'|_ }}
{% if piggyBank.reminder %} {% endif %}
{{ 'account'|_ }} {{ piggyBank.account.name }}
{{ 'target_amount'|_ }} {{ piggyBank.targetAmount|formatAmount }}
{{ 'saved_so_far'|_ }} {{ currentRelevantRepAmount(piggyBank)|formatAmount }}
{{ 'left_to_save'|_ }} {{ piggyBank.targetamount - currentRelevantRepAmount(piggyBank)|formatAmount }}
{{ 'start_date'|_ }} {% if piggyBank.startdate %} {{ piggyBank.startdate.format('jS F Y')}} {% else %} {{ 'no_start_date'|_ }} {% endif %}
{{ 'target_date'|_ }} {% if piggyBank.targetdate %} {{ piggyBank.targetdate.format('jS F Y') }} {% else %} {{ 'no_target_date'|_ }} {% endif %}
{{ 'reminder'|_ }} {% if piggyBank.remind_me == 0 %} {{ 'no_reminder'|_ }} {% else %} {{ 'every'|_ }} {% if piggyBank.reminder_skip != 0 %} {{ piggyBank.reminder_skip }} {% else %} {{ piggyBank.reminder }}(s) {% endif %} {% endif %}
{{ 'reminders_left'|_ }} {{ 'todo'|_ }}
{{ 'expected_amount_per_reminder'|_ }} {{ 'todo'|_ }}
{{ 'table'|_ }}
{% include 'list/piggy-bank-events' %}
{% endblock %} {% block scripts %} {% endblock %}