UP
This commit is contained in:
@@ -115,7 +115,7 @@ foreach ($lugares as $lugar) {
|
||||
FROM turnero_turnos t
|
||||
JOIN turnero_prioridades p ON p.id = t.prioridad_id
|
||||
WHERE t.sesion_id = ?
|
||||
AND t.estado IN ('en_espera_lugar', 'en_servicio')
|
||||
AND t.estado = 'en_servicio'
|
||||
AND t.lugar_destino_id = ?
|
||||
ORDER BY t.llamado_lugar_at DESC
|
||||
LIMIT 1"
|
||||
|
||||
Reference in New Issue
Block a user