fix(turnero): bacteriologo inicia en lugar_id=1 en lugar de dashboard
El rol bacteriologo iba a v=dashboard al hacer login. dashboard.php solo redirige automáticamente si la IP está registrada como dispositivo; sin IP registrada, la bacterióloga se quedaba en el dashboard sin usar. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
afa7cc6812
commit
e41663cff0
@@ -90,7 +90,7 @@ if ($_POST && !$loginBlocked) {
|
||||
header('Location: enfermero_portal.php');
|
||||
} elseif (in_array('turnero', $modules, true)) {
|
||||
if ($roleSlug === 'bacteriologo') {
|
||||
header('Location: erp.php?m=turnero&v=dashboard');
|
||||
header('Location: erp.php?m=turnero&v=lugar&lugar_id=1');
|
||||
} else {
|
||||
header('Location: erp.php?m=turnero&v=recepcion');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user