Redistribución de periodo a periodo_id
This commit is contained in:
@@ -42,7 +42,7 @@ $reporte = queryAll("SELECT * FROM fs_asistencia_profesorreporte(:carrera, :peri
|
||||
WHERE materia_id = COALESCE(:materia, materia_id)",
|
||||
array(
|
||||
":carrera" => empty($carrera) ? null : $carrera,
|
||||
":periodo" => $user->periodo,
|
||||
":periodo" => $user->periodo_id,
|
||||
":id" => $id,
|
||||
":initial_date" => $fecha_inicial->format("Y-m-d"),
|
||||
":final_date" => $fecha_final->format("Y-m-d"),
|
||||
@@ -58,7 +58,7 @@ $profesor = query(
|
||||
$asistencias = query("SELECT total, asistencias, retardos, justificaciones FROM fs_asistencia_reporte(:carrera, :periodo, :clave, :nombre, :facultad, :initial_date, :final_date)",
|
||||
array(
|
||||
":carrera" => empty($carrera) ? null : $carrera,
|
||||
":periodo" => $user->periodo,
|
||||
":periodo" => $user->periodo_id,
|
||||
":clave" => $profesor['clave'],
|
||||
":nombre" => $profesor['profesor'],
|
||||
":facultad" => $user->facultad['facultad_id'],
|
||||
@@ -100,7 +100,7 @@ $retardos = query("SELECT FS_HAS_RETARDO(:facultad) AS retardo", array(":faculta
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-12 text-right">
|
||||
<button type="button" class="btn btn-outline-secondary" onclick="submit('reporte_de_asistencias.php', {clave: <?= $profesor['clave'] ?>, periodo: <?= $user->periodo ?>, nombre: '<?= $profesor['profesor'] ?>', fecha_inicial: '<?= $fecha_inicial->format('Y-m-d') ?>', fecha_final: '<?= $fecha_final->format('Y-m-d') ?>'})">
|
||||
<button type="button" class="btn btn-outline-secondary" onclick="submit('reporte_de_asistencias.php', {clave: <?= $profesor['clave'] ?>, periodo: <?= $user->periodo_id ?>, nombre: '<?= $profesor['profesor'] ?>', fecha_inicial: '<?= $fecha_inicial->format('Y-m-d') ?>', fecha_final: '<?= $fecha_final->format('Y-m-d') ?>'})">
|
||||
<span class="ing-regresar ing-fw"></span>
|
||||
Regresar
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user