{% extends './layout/default' %} {% block breadcrumbs %} {{ Breadcrumbs.render(Route.getCurrentRoute.getName, piggyBank) }} {% endblock %} {% block content %}

{{ 'events'|_ }}

{% if piggy.object_group_title %} {% endif %} {% if null != piggy.target_amount %} {% endif %} {% for account in piggy.accounts %} {% endfor %} {% if null != piggy.left_to_save %} {% endif %} {% if piggyBank.target_date and piggy.save_per_month %} {% endif %}
{{ 'saveOnAccounts'|_ }} {% for account in piggy.accounts %} {{ account.name }}
{% endfor %}
{{ 'object_group'|_ }} {{ piggy.object_group_title }}
{{ 'target_amount'|_ }} {{ formatAmountBySymbol(piggy.target_amount, piggy.currency_symbol, piggy.currency_decimal_places) }}
{{ 'saved_so_far'|_ }} ({{ account.name }}) {{ formatAmountBySymbol(account.current_amount, piggy.currency_symbol, piggy.currency_decimal_places) }}
{{ 'saved_so_far_total'|_ }} {{ formatAmountBySymbol(piggy.current_amount, piggy.currency_symbol, piggy.currency_decimal_places) }}
{{ 'left_to_save'|_ }} {{ formatAmountBySymbol(piggy.left_to_save, piggy.currency_symbol, piggy.currency_decimal_places) }}
{{ 'start_date'|_ }} {% if piggyBank.start_date %} {{ piggyBank.start_date.isoFormat(monthAndDayFormat) }} {% else %} {{ 'no_start_date'|_ }} {% endif %}
{{ 'target_date'|_ }} {% if piggyBank.target_date %} {{ piggyBank.target_date.isoFormat(monthAndDayFormat) }} {% else %} {{ 'no_target_date'|_ }} {% endif %}
{{ 'suggested_amount'|_ }} {{ formatAmountBySymbol(piggy.save_per_month, piggy.currency_symbol, piggy.currency_decimal_places) }}

{{ 'event_history'|_ }} ({{ 'reset_history'|_ }})

{% include 'list/piggy-bank-events' %}
{% if piggy.notes %}

{{ trans('form.notes') }}

{{ piggy.notes|default('')|markdown }}
{% endif %} {% if attachments.count() > 0 %}

{{ 'attachments'|_ }}

{% include 'list.attachments' %}
{% endif %}
{% endblock %} {% block scripts %} {% endblock %}