| {{ row['cia_nombre'] }} |
{{ row['ram_nombre'] }} |
{{ row['tipo'] }} |
{% if row.computaVida %}
SÍ
{% else %}
NO
{% endif %}
|
{% if row.esCompromiso %}
SÍ
{% else %}
NO
{% endif %}
|
{{ row.cumplimiento | number_format(0, ",", ".") }}{% if row.tipoMedicion != 3 %} €{% else %} pol.{% endif %}
|
{% if row.tipoPoliza == 5 %}
{{ row.objetivo | number_format(0, ",", ".") }}{% if row.tipoMedicion != 3 %} €{% else %} pol.{% endif %}
{% set sumaobj = 0 %}
{% for correduria in row.corredurias %}
{% set sumaobj = sumaobj + correduria.CMO_Objetivo %}
{% endfor %}
({{ sumaobj | number_format(0, ",", ".") }}{% if row.tipoMedicion != 3 %} €{% else %} pol.{% endif %})
{% else %}
{{ row.objetivo | number_format(0, ",", ".") }}{% if row.tipoMedicion != 3 %} €{% else %} pol.{% endif %}
{% endif %}
|
{% if row.porcentaje < 40 %}
{% set class = 'red' %}
{% elseif row.porcentaje < 75 %}
{% set class = 'orange' %}
{% else %}
{% set class = 'green' %}
{% endif %}
{{ row.porcentaje | number_format(0, ",", ".") }} %
|
{% if row.porcentajeAnualizado < 40 %}
{% set class = 'red' %}
{% elseif row.porcentajeAnualizado < 75 %}
{% set class = 'orange' %}
{% else %}
{% set class = 'green' %}
{% endif %}
{{ row.porcentajeAnualizado | number_format(0, ",", ".") }} %
|
{% endfor %}