{##}


{{ 'Pago de comisiones'|upper }}
{{ ('Del '~paymentPeriod.startDate|date('d')~' de '~paymentPeriod.startDate|localizeddate('long', 'none', 'es', null , 'MMMM')~' al ')|upper }}{{ (paymentPeriod.endDate|date('d')~' de '~paymentPeriod.endDate|localizeddate('long', 'none', 'es', null , 'MMMM')~' del '~paymentPeriod.endDate|date('Y'))|upper }}



{% if error is defined %}
{{ error }}
{% else %}
{{ 'Concecionario: '|upper }}{{ paymentPeriod.concessionaire.name }}
{% if salesCommissionsReport|length > 0 %}
{{ 'Por ventas procesables: '|upper }}
{% for salesCommissionItem in salesCommissionsReport %} {{ include('backend/sales/paymentPeriod/_salesCommissions.html.twig') }} {% endfor %} {% endif %} {% if paymentPeriod.weeklyBonusCommissions|length > 0 %} {{ include('backend/sales/paymentPeriod/_weeklyBonus.html.twig') }} {% endif %} {% if paymentPeriod.monthlyBonusCommissions|length > 0 %} {{ include('backend/sales/paymentPeriod/_monthlyBonus.html.twig') }} {% endif %} {% if paymentPeriod.publicRelationshipCommissions|length > 0 and paymentPeriod.publicRelationshipCommissions[0].publicRelationshipCommissionPayments|length > 0 %}
{{ 'Pagos a relaciones públicas: '|upper }}

{% for publicRelationshipCommission in paymentPeriod.publicRelationshipCommissions %}
{{ 'Oficina: '|upper }}{{ publicRelationshipCommission.office.name }}

{#
#} {#
#} {#{{ render(controller(#} {#'App:Backend/Sales/PaymentPeriod:showPublicRelationshipCommissionsPaymentsContracts', {id:publicRelationshipCommission.id}#} {#)) }}#} {#
#} {#
#} {{ include('backend/sales/paymentPeriod/_publicRelationshipCommissions.html.twig') }} {% endfor %}
{% endif %} {% endif %}