diff --git a/asignados.html b/asignados.html index 11be78f..5ed8d01 100644 --- a/asignados.html +++ b/asignados.html @@ -375,6 +375,11 @@ const matchPhone = rawPhone.toString().match(/[6789]\d{8}/); const safePhone = matchPhone ? matchPhone[0] : ""; + const addr = raw["Dirección"] || raw["DOMICILIO"] || "Sin dirección"; + const pop = raw["Población"] || raw["POBLACION-PROVINCIA"] || ""; + const cp = raw["Código Postal"] || raw["C.P."] || ""; + const fullAddress = `${addr}, ${cp} ${pop}`.trim().replace(/^,\s*/, '').replace(/,\s*$/, ''); + reqList.innerHTML += `
@@ -383,6 +388,7 @@

Cita Solicitada

${name}

${rDate} | ${raw.requested_time} - ${rTime}

+

${fullAddress}