% let hasCheckedHorarios = checkedHorarios ? (checkedHorarios.length > 0 ? true: false) : false; %>
[Horarios disponibles para el <%=formatedDate%>] <% if(services.length == 1) { %> [<%=services[0].nombreServico%>] <% } %> | |
---|---|
<% if(hasCheckedHorarios) { %>
<% if(checkedHorarios.some(obj => obj.horario_id == item.id)){ %>
<% } else { %>
|
<% if(services.length !== 1) { %>
<% } %> |