{% set partes = [] %}
{% if row.valorCalculado is not same as(null) %}
{% set partes = partes|merge(['Aluguel: R$ ' ~ row.valorCalculado|number_format(2, ',', '.')]) %}
{% endif %}
{% if row.valorPago is not same as(null) %}
{% set partes = partes|merge(['Recebido: R$ ' ~ row.valorPago|number_format(2, ',', '.')]) %}
{% endif %}
{% if partes %}
{{ partes|join(' • ') }}
{% endif %}
{# Direita (desktop): ações; (mobile): vai para baixo e centraliza #}
{% if row.status %}
{% if row.status == 'Pago' %}
Recibo
{% if row.identificadorRecibo is defined and row.identificadorRecibo is not empty %}
{% endif %}