Example #1
0
 public function buscar()
 {
     $coddocente = Input::get('valor');
     $docente = Docente::find($coddocente);
     return View::make('user_administrator.Docente.search')->with('docente', $docente);
 }
Example #2
0
@section('nombrevista')
    @lang('Acta de reunion ')
    <button type="submit" class="btn btn-success pull-right" onclick="history.back()">Atras</button>
@stop



@section('contenido')
<?php 
$nroPar = DB::table('tpartido')->count();
$Pla = DB::table('tplantilla')->where('codPantilla', '=', $codplantilla)->first();
$nroPla = $Pla->nroPlantilla;
foreach ($todosJugadores as $value) {
    $cod = $value->dni . $nroPla . $nroPar;
    if (!Planilla::find($cod)) {
        $arr[$value->dni] = Docente::find($value->codDocente)->nombre . " " . Docente::find($value->codDocente)->apellidoP . " " . Docente::find($value->codDocente)->apellidoM;
    }
}
?>


<!-- cabecera-->
<div class="row col-lg-12">
    <div class="col-lg-12 col-no-gutter">
        <div class="panel panel-primary">
            <div class="panel-heading"><span class="glyphicon glyphicon-info-sign"></span> Informacion de acta: </div>
            <div class="panel-body">
                <strong class="primary-font">fecha de reunion: </strong><span class="text-primary"></span><br>
                <strong class="primary-font">reunion de la  </strong><span class="text-primary"></span><br>

            </div>
Example #3
0
 public function postFichaDocente($docenteID)
 {
     $docente = Docente::find($docenteID);
     $data = $_POST;
     foreach ($data as $index => $value) {
         if ($index == "field_eval_ini_fecha" || $index == "field_eval_situ_fecha" || $index == "field_eval_fin_fecha") {
             $data[$index] = DateSql::changeToSql($value);
         }
     }
     $this->saveCRUDForm($docente, $data);
     return Redirect::back()->withOk("Ficha modificada con éxito");
 }
Example #4
0
 public function postBorrarDocente($id_curso, $id_docente)
 {
     Docente::find($id_docente)->cursos()->where('curso_id', '=', $id_curso)->detach($id_curso);
     return "ok";
 }
Example #5
0
File: PDF.php Project: nosiliw/SCDW
 function planilla($header, $data)
 {
     $this->SetFillColor(100, 100, 100);
     $this->SetTextColor(255);
     $this->SetDrawColor(0, 0, 0);
     $this->SetLineWidth(0.3);
     $this->SetFont('', 'B');
     $w = array(13, 80, 53, 50);
     for ($i = 0; $i < count($header); $i++) {
         $this->Cell($w[$i], 7, $header[$i], 1, 0, 'C', true);
     }
     $this->Ln();
     $this->SetFillColor(224, 235, 255);
     $this->SetTextColor(0);
     $this->SetFont('');
     $fill = false;
     $gg = 1;
     foreach ($data as $row) {
         $jugador = Jugador::find($row->idjugador)->coddocente;
         $docente = Docente::find($jugador);
         $this->Cell($w[0], 6, $gg++, 'LR', 0, 'L', $fill);
         $this->Cell($w[1], 6, $docente->nombre . " " . $docente->apellidopaterno . " " . $docente->apellidomaterno, 'LR', 0, 'L', $fill);
         $this->Cell($w[2], 6, $row->condicion, 'LR', 0, 'L', $fill);
         $this->Cell($w[3], 6, $row->nombre, 'LR', 0, 'L', $fill);
         $this->Ln();
         $fill = !$fill;
     }
     $this->Cell(array_sum($w), 0, '', 'T');
 }