{% extends 'invoice/pdf/base.html.twig' %} {% block body %}
{% trans %}Invoice number{% endtrans %}: {{ invoice.numberString }}
{% trans %}Payer number{% endtrans %}: {{ invoice.payer.number }}
{% trans %}Date{% endtrans %}: {{ invoice.date | date('Y-m-d') }}

{% trans %}Invoice{% endtrans %} {% trans %}District{% endtrans %}: {{ invoice.manager.name }}

{% trans %}Delivered services{% endtrans %} {{ ("01-" ~ invoice.data.month) | format_date(null, 'LLLL y', null, 'gregorian', app.request.locale) }}:

{% if invoice.data.district1Quantity != 0 %} {% endif %} {% if invoice.data.district2Quantity != 0 %} {% endif %} {% if invoice.data.district3Quantity != 0 %} {% endif %} {% if invoice.data.district1Hours != 0 %} {% endif %} {% if invoice.data.district2Hours != 0 %} {% endif %} {% if invoice.data.district3Hours != 0 %} {% endif %}
{% trans %}District{% endtrans %} {% trans %}Quantity{% endtrans %} {% trans %}Rate{% endtrans %} {% trans %}Amount{% endtrans %}
 
{% trans %}District{% endtrans %} 2341 {{ invoice.data.district1Quantity }} {{ invoice.payer.rilaCarton | number_format }} € {{ (invoice.payer.rilaCarton * invoice.data.district1Quantity) | number_format }} €
{% trans %}District{% endtrans %} 2411 {{ invoice.data.district2Quantity }} {{ invoice.payer.rilaCarton | number_format }} € {{ (invoice.payer.rilaCarton * invoice.data.district2Quantity) | number_format }} €
{% trans %}District{% endtrans %} 2441 {{ invoice.data.district3Quantity }} {{ invoice.payer.rilaCarton | number_format }} € {{ (invoice.payer.rilaCarton * invoice.data.district3Quantity) | number_format }} €
 
{% trans %}District{% endtrans %} 2341 {{ invoice.data.district1Hours }} {{ invoice.payer.hourlyRate | number_format }} € {{ (invoice.payer.hourlyRate * invoice.data.district1Hours) | number_format }} €
{% trans %}District{% endtrans %} 2411 {{ invoice.data.district2Hours }} {{ invoice.payer.hourlyRate | number_format }} € {{ (invoice.payer.hourlyRate * invoice.data.district2Hours) | number_format }} €
{% trans %}District{% endtrans %} 2441 {{ invoice.data.district3Hours }} {{ invoice.payer.hourlyRate | number_format }} € {{ (invoice.payer.hourlyRate * invoice.data.district3Hours) | number_format }} €
 
{% trans %}Net amount sum{% endtrans %} {{ data.totalNet | number_format }} €
{% trans %}VAT amount{% endtrans %} {{ (data.tax*100)|round }}% {{ data.totalTax | number_format }} €
   
{% trans %}Invoice amount{% endtrans %} {{ data.totalGross | number_format }} €
{% endblock %}