{{ 'Contratos que aplican:'|upper }}
{% if contractsSummary|length > 0 %} {% set commissionable = 0 %} {% set totalSale = 0 %} {% set totalInitial = 0 %} {% for contractItem in contractsSummary %} {% set totalSale = totalSale + contractItem.contract.totalSale %} {% set totalInitial = totalInitial + contractItem.totalInitialPayments %} {% set commissionable = commissionable + contractItem.commissionableAmount %} {% endfor %}
Contrato Fecha de venta Venta total Pago inicial % P.I. Imp. comisionable
{{ contractItem.contract.contractNumber }} | Recibos: {% for payment in contractItem.stcPayments %} ( {{ payment.invoiceReceipt }} ) {% endfor %} {{ contractItem.contract.saleDate|date('d-m-Y') }} {{ contractItem.contract.totalSale|price('') }} {{ contractItem.totalInitialPayments|price('') }} {{ contractItem.paymentPercentage|price('') }} {{ contractItem.commissionableAmount|price('') }}
{{ 'Totales'|upper }} {{ totalSale|price('') }} {{ totalInitial|price('') }} {{ commissionable|price('') }}
{% endif %}