{% extends 'base.html.twig' %} {% block body %} {% block nav %}{{ parent() }}{% endblock %} {% for prestation in prestations %} {% if prestation.stripeInvoiceId %} {% if prestation.status.value == 'CANCELED' %} {% else %} {% endif %} {# #} {% endif %} {% endfor %}
{{ 'table.visit_date'|trans }} {{ 'table.invoice'|trans }}
{{ prestation.date|format_datetime('full', 'short', locale: app.session.get('_locale')) }}
    {% if prestation.reccurence %} {% for date in prestation.reccurenceDates %}
  • {{date.date|format_datetime('full', 'short', locale: app.session.get('_locale'))}}
  • {% endfor %} {% else %}
  • {{prestation.date|format_datetime('full', 'short', locale: app.session.get('_locale')) }}
  • {% endif %}
{{ prestation.invoiceNumber }} | {{ prestation.invoiceDate|date('d/m/Y') }}
{% for product in prestation.products %}
  • {{ product.name|trans }}

  • {{ product.description|trans }}
  • {{ product.duree }} min
  • {{ (product.price / 100)|number_format(2, '.', ',') }}€
{% endfor %}

Total: {{ (prestation.total / 100)|number_format(2, '.', ',') }} € TTC

{# {% if prestation.stripePaiementIntent and prestation.status.value == 'PAID' %} {{ 'btn.refund'|trans }} {% endif %} #} {{ 'btn.invoiceDl'|trans }}{{ ux_icon('material-icon-theme:pdf', { height: 32, width: 32 }) }}
{% endblock %}