<% if(mTodo=='todo'){ %>
<%
if(tipo.includes('compra')){
%>
Mis matches
Todo
<% }else{ %>
Mis matches
Todo
<% } %>
Solicitudes
Mis citas
Resultados: <%=los_match.length%>
<%
if(los_match.length>0){
for (i = 0; i < los_match.length; i++) {
%>
<%
let incluye = mis_Solicitudes.includes(los_match[i].id_ctrl);
let el_ky = mis_Solicitudes.indexOf(los_match[i].id_ctrl)
if(incluye===false){
%>
<%
}
}
%>
<%
}else{
%>
<%
if(los_match[i].t_foto!=undefined){
%>
<%
}else{
%>
<%
}
%>
<%
}
%>
<%= los_match[i].t_nombre %>
<%= los_match[i].t_empresa %>
<%= los_match[i].t_cargo %>
<% if(los_match[i].t_web!=undefined){ var webbi = los_match[i].t_web if(webbi.includes('http')){ var pag = los_match[i].t_web }else{ var pag='https://'+los_match[i].t_web } %> <%= pag %> <% } %>
<%= los_match[i].t_empresa %>
<%= los_match[i].t_cargo %>
<% if(los_match[i].t_web!=undefined){ var webbi = los_match[i].t_web if(webbi.includes('http')){ var pag = los_match[i].t_web }else{ var pag='https://'+los_match[i].t_web } %> <%= pag %> <% } %>
<%
var ia = 1
for (const key of campos_match) {
var prodd = key.id_campo
var holi = los_match[i][prodd]
if(ia < 5){
if(los_match[i][prodd]=='on'){
if(mi_match.includes(key.id_campo)){
var estilin = 'background: #d2e1b1; border-radius:6px;'
}else{
var estilin='background: #eeeeee; border-radius:6px; '
}
%>
<% ia++ } } } %>
<%= key.nombre_campo %>
<% ia++ } } } %>
Solicitar cita:
<%
}else if(incluye===true){
let xAlta = "";
let xMedia = "";
let xBaja = "";
if(mi_prioridad_2[el_ky]=='A'){ xAlta = "done"; xMedia = "none"; xBaja = "none"; xRechazada = "none";}
if(mi_prioridad_2[el_ky]=='M'){ xAlta = "none"; xMedia = "done"; xBaja = "none"; xRechazada = "none";}
if(mi_prioridad_2[el_ky]=='B'){ xAlta = "none"; xMedia = "none"; xBaja = "done"; xRechazada = "none";}
if(mi_prioridad_2[el_ky]=='R'){ xAlta = "none"; xMedia = "none"; xBaja = "none"; xRechazada = "done";}
%>
Cita solicitada:
<%
}
%>
Esta tarea ha finalizado
<%
}
%>