Redistribución de periodo a periodo_id

This commit is contained in:
2023-08-15 15:58:14 +00:00
parent 60256ec460
commit e1f3d21b83
21 changed files with 762 additions and 1731 deletions

View File

@@ -39,7 +39,7 @@ if (!$user->admin && in_array($user->acceso, ['r', 'n'])) {
<div class="form-group">
<div class="form-box">
<?php
$carreras = query("SELECT * FROM FS_CARRERA WHERE FACULTAD = COALESCE(:fac, FACULTAD) AND PERIODO = COALESCE(:per, PERIODO) ORDER BY CARRERA", [":fac" => $user->facultad['facultad_id'], ":per" => $user->periodo], single: false);
$carreras = query("SELECT * FROM FS_CARRERA WHERE FACULTAD = COALESCE(:fac, FACULTAD) AND PERIODO = COALESCE(:per, PERIODO) ORDER BY CARRERA", [":fac" => $user->facultad['facultad_id'], ":per" => $user->periodo_id], single: false);
#die(print_r($carreras, true));
?>
<div class="form-group row">