{% if not editing %} {% endif %}
{% if editing %} {{ include('horse/boarding/form.html.twig', { form: form }) }} {% endif %}
{% if not editing %}

Infos générales

Lieu : {{ boarding.stable }}

Période : {{ boarding.periode|format_datetime(pattern='MMM Y') }}

{% if boarding.type %}

Type : {{ boarding.type }}

{% endif %}

Paiement

Prix : {{ (boarding.price / 100)|number_format(2, ',', ' ') }} €

{% if boarding.paymentDate %}

Payé le : {{ boarding.paymentDate|date("d/m/Y") }}

{% endif %} {% if boarding.paymentType %}

Moyen : {{ boarding.paymentType.label() }}

{% endif %} {% if boarding.paymentType == 'chèque' and boarding.chequeNumber %}

N° de chèque : {{ boarding.chequeNumber }}

{% endif %}
{% endif %}
{% if showDeleteModal %} {{ include('horse/partials/_delete_modal.html.twig', { title: "Suppression de la pension", message: "Êtes-vous sûr de vouloir supprimer cette pension ? Cette action est irréversible.", }) }} {% endif %}