Actualizar asignados.html
This commit is contained in:
@@ -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 += `
|
||||
<div class="bg-white border-2 border-primary-dynamic p-5 rounded-[2rem] flex flex-col shadow-md relative overflow-hidden gap-3">
|
||||
<div class="absolute right-0 top-0 w-24 h-24 bg-primary-dynamic rounded-bl-full opacity-10 z-0"></div>
|
||||
@@ -383,6 +388,7 @@
|
||||
<p class="text-[9px] font-black text-primary-dynamic uppercase tracking-widest mb-0.5">Cita Solicitada</p>
|
||||
<h3 class="font-black text-slate-800 text-base leading-tight truncate pr-8">${name}</h3>
|
||||
<p class="text-[10px] font-bold text-slate-600 mt-1 flex items-center gap-1"><i data-lucide="calendar" class="w-3 h-3 text-primary-dynamic"></i> ${rDate} | ${raw.requested_time} - ${rTime}</p>
|
||||
<p class="text-[10px] font-bold text-slate-500 mt-1 uppercase flex items-start gap-1"><i data-lucide="map-pin" class="w-3 h-3 text-slate-400 shrink-0 mt-0.5"></i> <span class="leading-tight">${fullAddress}</span></p>
|
||||
</div>
|
||||
|
||||
<div class="relative z-10 bg-slate-50 p-3 rounded-2xl border border-slate-100 mt-1">
|
||||
|
||||
Reference in New Issue
Block a user