Datos del cliente
NIF / CIF: {{ oportunidad.cliente.nif }}
NOMBRE: {{ oportunidad.cliente.tomador }}
DIRECCIÓN: {{ direccionPrincipal.direccion }}
LOCALIDAD: {{ direccionPrincipal.cp }} {{ direccionPrincipal.localidad }}

    {{ datosEmpresa.nombre }}
    {{ datosEmpresa.direccion }}, {{ datosEmpresa.cp }} - {{ datosEmpresa.localidad }}
    Código DGS: {{ datosEmpresa.codigoDgs }}
    NIF: {{ datosEmpresa.cif }}
    {{ datosEmpresa.email }}

Proyecto {{ oportunidad.id }} - DATOS DEL RIESGO {{ oportunidad.descripcionRiesgo }}

Riesgo 1

{% set primeraVez = true %} {% for dato in oportunidad.datos %} {% if dato.descripcion == 'Marca' and not primeraVez %}

Riesgo 2

{% else %} {% set primeraVez = false %} {% endif %} {% endfor %} {% if (oportunidad.datos|length == 0) and (oportunidad.riesgos|length > 0) %} {% for riesgo in oportunidad.riesgos %} {% endfor %} {% endif %}
{{ dato.descripcion }} {{ dato.valor | date }}
{{ riesgo.nombreCorto }} {{ riesgo.descripcion }}