{% extends 'base.html.twig' %} {% block title %}{% trans %} My dashboard | Promotip {% endtrans %}{% endblock %} {% block body %}
{{form_start(form)}}
{{ form_row(form.startDate) }}
{{ form_row(form.endDate) }}
{% if form.user is defined %}
{{ form_row(form.user) }}
{% endif %}
{{form_widget(form)}} {{form_end(form)}}
{% if 'ROLE_ROOT' in app.user.roles and invoices|length > 0 %} Download alle facturen {% endif %}
{% if invoices|length > 0 %} {% for invoice in invoices %} {% endfor %}
Factuurnummer Datum
{{ get_front_invoice_number(invoice) }} {{ invoice.invoiceDate|date("d/m/Y") }} Factuur downloaden
{% else %}
Geen factuur gevonden
{% endif %}
{% endblock %}