{% if user_can_invoice and object.finalized %}
{% if object.is_last %}
{% trans "New corrective campaign" %}
{% endif %}
{% if object.primary_campaign is None and not has_running_corrective %}
{% trans "Export invoiced amounts per event" %}
{% endif %}
{% endif %}
{% if user_can_invoice and not object.finalized and not has_running_pool and not has_real_pool %}
{% for fine in object.get_fines.values|dictsort:"category_label" %}
{{ fine.category_label }}
{% trans "Fine per:" %}
{{ fine.kind }}
{% if fine.kind == 'family' %}
{% trans "Booking extra_data key for family identifier:" %}
{{ fine.extra_data_family_id_key }}
{% endif %}
{% trans "Fine amount:" %}
{% blocktrans with amount=fine.amount|floatformat:"2" %}{{ amount }}€{% endblocktrans %}
{% trans "School period start date:" %}
{{ fine.date_school_period_start|date:"d/m/Y" }}
{% trans "School period end date:" %}
{{ fine.date_school_period_end|date:"d/m/Y" }}
{% trans "Waiting period for the first subcription of the school period:" %}
{% blocktrans count quantity=fine.waiting_period_first_subscription %}{{ quantity }} day{% plural %}{{ quantity }} days{% endblocktrans %}
{% trans "Waiting period for other subcriptions of the school period:" %}
{% blocktrans count quantity=fine.waiting_period_other_subscriptions %}{{ quantity }} day{% plural %}{{ quantity }} days{% endblocktrans %}
{% if user_can_invoice and not object.primary_campaign and not object.finalized and not has_running_pool %}