Exemplo n.º 1
0
    $casilleros = new casilleros();
    $registronotas = new registronotas();
    $observaciones = new observaciones();
    $config = new config();
    $cur = $curso->mostrarCurso($CodCurso);
    $cur = array_shift($cur);
    $notareprobacion = $cur['NotaAprobacion'];
    $mat = $materias->mostrarMateria($CodMateria);
    $mat = array_shift($mat);
    $ini = $cur['Bimestre'] ? 'Bimestre' : 'Trimestre';
    $fin = $cur['Bimestre'] ? 'Bimestre' : 'Trimestre';
    $PeriodoInicio = $config->mostrarConfig('Inicio' . $ini . $Periodo, 1);
    $PeriodoFin = $config->mostrarConfig('Fin' . $fin . $Periodo, 1);
    $casillas = $casilleros->mostrarMateriaCursoTrimestre($CodMateria, $CodCurso, $Periodo);
    $casillas = array_shift($casillas);
    $RN = $registronotas->notasCentralizadorAgenda($casillas['CodCasilleros'], $Periodo, $notareprobacion);
    if (!count($RN)) {
        ?>
<div class="alert alert-success"><?php 
        echo $idioma['NoExistenReprobadosParaEstaMateria'];
        ?>
</div><?php 
        exit;
    }
    ?>
    <a href="#" id="exportarexcel" class="btn btn-success btn-mini"><?php 
    echo $idioma['ExportarExcel'];
    ?>
</a>
    <table class="table table-bordered table-striped table-condensed">
    	<thead>