| Contrato | Fecha de venta | OPCs | Venta total | Pago inicial | Comisión | {% set total = 0 %} {% for contractItem in contractsSummary.contracts %} {% set total = total + contractItem.commissionByContract %}
|---|---|---|---|---|---|
| {{ contractItem.contract.contractNumber }} | {{ contractItem.contract.saleDate|date('d-m-Y') }} |
{% for opc in contractItem.contract.getOPCs %}
{{ opc.fullName }} {% endfor %} |
{{ contractItem.contract.totalSale|price('') }} | {{ contractItem.totalInitialPayments|price('') }} | {{ contractItem.commissionByContract|price('') }} |
| {{ 'Subtotal'|upper }} | {{ contractsSummary.payment.commissionAmount|price('') }} | ||||
| {{ 'IVA'|upper }} | {{ (total - contractsSummary.payment.commissionAmount )|price('') }} | ||||
| {{ 'Total'|upper }} | {{ total|price('') }} | ||||
| {{ 'Total(Sin IVA)'|upper }} | {{ contractsSummary.payment.commissionAmount|price('') }} | ||||