From dc23c7a93036f9339299cd63c9671424e26ab55e Mon Sep 17 00:00:00 2001 From: Wilmer Ramones Date: Thu, 13 Oct 2016 09:54:31 -0400 Subject: [PATCH] creada la entidad para registrar las actividades que realizan los docentes segun reglamento --- app/Resources/views/solicitudes/pida.html.twig | 126 +++++++ src/AppBundle/Entity/ActividadDocente.php | 111 +++++++ src/AppBundle/Entity/AdscripcionPida.php | 436 +++++++++++++++++++++++++ 3 files changed, 673 insertions(+) create mode 100644 app/Resources/views/solicitudes/pida.html.twig create mode 100644 src/AppBundle/Entity/ActividadDocente.php create mode 100644 src/AppBundle/Entity/AdscripcionPida.php diff --git a/app/Resources/views/solicitudes/pida.html.twig b/app/Resources/views/solicitudes/pida.html.twig new file mode 100644 index 0000000..82db261 --- /dev/null +++ b/app/Resources/views/solicitudes/pida.html.twig @@ -0,0 +1,126 @@ +{% extends 'base_app.html.twig' %} + +{% block stylesheets %} + {{ parent() }} + + +{% endblock %} + + + +{% block body %} +
+

+ Estimado (a) Docente + {{app.user.idRolInstitucion.idRol.idPersona.primerNombre}} + {{app.user.idRolInstitucion.idRol.idPersona.primerApellido}}, + para poder gozar de los beneficios del sistema cea@ubv, primero debe + formalizar su adscripción ante este centro de estudios, llenando los datos que a continuación + se solicitan. Recuerde que debe tener a su alcance los digitales de los + documentos descritos en el correo enviado. + +

+
+
+
+

Formalización Adscripción

+ {% form_theme form 'bootstrap_3_layout.html.twig' %} + {{ form_start(form) }} + {{ form_widget(form) }} + {{ form_end(form) }} +
+ +
+ + +{% endblock %} + + + + +{% block javascripts %} + {{ parent() }} + +{% endblock %} diff --git a/src/AppBundle/Entity/ActividadDocente.php b/src/AppBundle/Entity/ActividadDocente.php new file mode 100644 index 0000000..05a980b --- /dev/null +++ b/src/AppBundle/Entity/ActividadDocente.php @@ -0,0 +1,111 @@ +nombre = $nombre; + + return $this; + } + + /** + * Get nombre + * + * @return string + */ + public function getNombre() + { + return $this->nombre; + } + + /** + * Get id + * + * @return integer + */ + public function getId() + { + return $this->id; + } + + /** + * Set idEstatus + * + * @param \AppBundle\Entity\Estatus $idEstatus + * @return ActividadDocente + */ + public function setIdEstatus(\AppBundle\Entity\Estatus $idEstatus) + { + $this->idEstatus = $idEstatus; + + return $this; + } + + /** + * Get idEstatus + * + * @return \AppBundle\Entity\Estatus + */ + public function getIdEstatus() + { + return $this->idEstatus; + } + + + /** + * Get toString + * + * @return string + */ + public function __toString() { + return $this->getNombre(); + } +} diff --git a/src/AppBundle/Entity/AdscripcionPida.php b/src/AppBundle/Entity/AdscripcionPida.php new file mode 100644 index 0000000..2684e23 --- /dev/null +++ b/src/AppBundle/Entity/AdscripcionPida.php @@ -0,0 +1,436 @@ +trabajo; + } + + public function setTrabajo($trabajo) + { + $this->trabajo = $trabajo; + + return $this; + } + + public function getPregrado() + { + return $this->pregrado; + } + + public function setPregrado($pregrado) + { + $this->pregrado = $pregrado; + + return $this; + } + + public function getPostgrado() + { + return $this->postgrado; + } + + public function setPostgrado($postgrado) + { + $this->postgrado = $postgrado; + + return $this; + } + + public function getAsistente() + { + return $this->asistente; + } + + public function setAsistente($asistente) + { + $this->asistente = $asistente; + + return $this; + } + + /** + * @return mixed + */ + public function getOposicion() + { + return $this->oposicion; + } + + /** + * @param mixed $oposicion + */ + public function setOposicion($oposicion) + { + $this->oposicion = $oposicion; + } + + /** + * @return mixed + */ + public function getAsociado() + { + return $this->asociado; + } + + /** + * @param mixed $asociado + */ + public function setAsociado($asociado) + { + $this->asociado = $asociado; + } + + /** + * @return mixed + */ + public function getAgreado() + { + return $this->agreado; + } + + /** + * @param mixed $agreado + */ + public function setAgreado($agreado) + { + $this->agreado = $agreado; + } + + /** + * @return mixed + */ + public function getTitular() + { + return $this->titular; + } + + /** + * @param mixed $titular + */ + public function setTitular($titular) + { + $this->titular = $titular; + } + + /** + * Get id + * + * @return integer + */ + public function getId() + { + return $this->id; + } + + + /** + * Set idRolInstitucion + * + * @param \AppBundle\Entity\RolInstitucion $idRolInstitucion + * @return Usuarios + */ + public function setIdRolInstitucion(\AppBundle\Entity\RolInstitucion $idRolInstitucion = null) + { + $this->idRolInstitucion = $idRolInstitucion; + + return $this; + } + + /** + * Get idRolInstitucion + * + * @return \AppBundle\Entity\RolInstitucion + */ + public function getIdRolInstitucion() + { + return $this->idRolInstitucion; + } + + + + /** + * Set idLineaInvestigacion + * + * @param \AppBundle\Entity\LineasInvestigacion $idLineaInvestigacion + * @return LineasInvestigacion + */ + public function setIdLineaInvestigacion(\AppBundle\Entity\LineasInvestigacion $idLineaInvestigacion = null) + { + $this->idLineaInvestigacion = $idLineaInvestigacion; + + return $this; + } + + /** + * Get idLineaIvestigacion + * + * @return \AppBundle\Entity\LineasInvestigacion + */ + public function getIdLineaInvestigacion() + { + return $this->idLineaInvestigacion; + } + + + + /** + * Set idEstatus + * + * @param \AppBundle\Entity\Estatus $idEstatus + * @return Estatus + */ + public function setIdEstatus(\AppBundle\Entity\Estatus $idEstatus = null) + { + $this->idEstatus = $idEstatus; + + return $this; + } + + /** + * Get idEstatus + * + * @return \AppBundle\Entity\Estatus + */ + public function getIdEstatus() + { + return $this->idEstatus; + } + + + + /** + * @ORM\PrePersist + */ + public function setFechaCreacion() + { + $this->fecha_creacion = new \DateTime(); + $this->fecha_ultima_actualizacion = new \DateTime(); + } + + public function getFechaCreacion() + { + return $this->fecha_creacion; + + } + + + /** + * @ORM\PreUpdate + */ + public function setFechaUltimaActualizacion() + { + $this->fecha_utlima_actualizacion = new \DateTime(); + } + + + + /** + * @return mixed + */ + public function getTituloTrabajo() + { + return $this->tituloTrabajo; + } + + + /** + * @param mixed $tituloTrabajo + */ + public function setTituloTrabajo($tituloTrabajo) + { + $this->tituloTrabajo = $tituloTrabajo; + } + + + /** + * Set fecha_escala + * + * @param \DateTime $fecha_escala + * @return Comment + */ + public function setFechaIngreso($fecha_ingreso) + { + $this->fecha_ingreso = $fecha_ingreso; + + return $this; + } + + /** + * Get fecha_escala + * + * @return \DateTime + */ + public function getFechaIngreso() + { + return $this->fecha_ingreso; + } + + +} -- 2.0.0