Skip to content

Commit 21a84f5

Browse files
committed
Visualización de turnos no disponibles
1 parent afdaf30 commit 21a84f5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

modules/mobileApp/routes/agendas.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ router.get('/agendasDisponibles', async (req: any, res, next) => {
3535
matchAgendas['bloques.restantesProgramados'] = { $gt: 0 };
3636
matchAgendas['estado'] = 'publicada';
3737
matchAgendas['dinamica'] = false;
38+
matchAgendas['bloques.turnos.estado'] = { $ne: 'suspendido' };
39+
3840
if (reglas) {
3941
matchAgendas['$or'] = [
4042
{

0 commit comments

Comments
 (0)