{{ 'Bono mensual: '|upper }}{{ paymentPeriod.startDate|localizeddate('long', 'none', 'es', null , 'MMMM')|upper }}
{% for monthlyBonus in paymentPeriod.monthlyBonusCommissions %}

{{ monthlyBonus.user.fullName }}
{% for key,contract in monthlyBonus.contracts %} {% if key == 0 %} {% endif %} {% endfor %} {% if monthlyBonus.requiredInvoice %} {% else %} {% endif %}
{{ 'Contrato' }} {{ 'Fecha' }} {{ 'Imp. comisionable' }} {{ 'Comisión' }}
{{ contract.contractNumber }} {{ contract.saleDate|date('d-m-Y') }} {{ contract.commissionableAmount|number_format(2, '.', ',') }} {{ monthlyBonus.commissionAmount|number_format(2, '.', ',') }}
{{ monthlyBonus.commissionableAmount|price('') }}
{{ 'IVA' }} {{ monthlyBonus.ivaAmount|price('') }}
{{ 'Total'|upper }} {{ (monthlyBonus.commissionAmount + monthlyBonus.ivaAmount)|price('') }}
{{ 'Total'|upper }} {{ monthlyBonus.commissionableAmount|price('') }}
{% if footSignature is defined and footSignature %} {{ include('backend/sales/paymentPeriod/_footSignature.html.twig', {type:"monthlyBonus"}) }} {% endif %}
{% endfor %} {% if footSignature is not defined %}
{% endif %}