コード例 #1
0
ファイル: ChequesController.php プロジェクト: guiles00/acfj
 public function editCursoPagoCheque($id)
 {
     //
     $pago_cheque = PagoCheque::find($id);
     $docente = DPagoCheque::getDatosDocenteById($pago_cheque->docente_id);
     $curso = DPagoCheque::getDatosCursoById($pago_cheque->curso_id);
     //print_r($id);
     //exit;
     //Traer Docente y Actividad
     $helper = new Helper();
     $disponible = $helper->getHelperByDominio('disponible_id');
     $entregado_por = Agente::get();
     $nro_memo = Remitidos::where('remitidos_id', '=', $pago_cheque->nro_memo_id)->first();
     $nro_recibo = $this->traeUltimoNroRecibo();
     return view('cheques.editCursoPagoCheque')->with('pago_cheque', $pago_cheque)->with('docente', $docente)->with('curso', $curso)->with('disponible', $disponible)->with('entregado_por', $entregado_por)->with('nro_memo', $nro_memo)->with('nro_recibo', $nro_recibo);
 }
コード例 #2
0
ファイル: ActuacionController.php プロジェクト: guiles00/acfj
 public function altaActuacion()
 {
     //if(session_status() == 1)
     //return Redirect::to('/');
     //
     $archivo_actuacion = ArchivoActuacion::get();
     $area_cfj = AreaCfj::get();
     $conste_agente = Agente::get();
     return view('actuacion.altaActuacion')->with('archivo_actuacion', $archivo_actuacion)->with('area_cfj', $area_cfj)->with('conste_agente', $conste_agente);
 }