{% if cliente is defined and cliente.cuotasPorPagar and cliente.cuotasPorPagar | length > 0 %}

{% for cuota in cliente.cuotasPorPagar %} {% if (cuota.estado == 0) %} {% endif %} {% endfor %}

Cuotas de cuenta corriente sin pagar

Fecha Vencimiento Cuotas
{{ cuota.vencimiento | date('d-m-Y') }} ${{ cuota.montoRemanente }} {% if date(cuota.vencimiento) < date() %} Cuota vencida {% elseif date(cuota.vencimiento) < date('+15days') %} Por vencerse {% endif %} {% if cuota.montoRemanente < cuota.monto %} (Pago parcial) {% endif %}
{% endif %}