public function registrar_observacion($id)
{
$consulta=$this->instruccion->get_instruccion($id);
if ($consulta->estatus=='EN PROGRESO')
{
$datos['titulo']='Registro de Progresos';
$datos['javascript']=' ';
if ($this->form_validation->run() == FALSE)
{
$this->load->view('plantillas/cabecera', $datos);
$this->load->view('plantillas/menu_analista');
$this->load->view('plantillas/encabezado', $datos);
$this->load->view('instrucciones/formulario_observacion');
$this->load->view('plantillas/pie');
}
else
{
//cualuier cosa;
}
}
else
{
$this->visualizar_historial($id,TRUE);
}
}