-
- {{ form_label(seccion.nombre) }}
- {{ form_widget(seccion.nombre, {'attr': {'class': form_errors(seccion.nombre) ? 'form-control is-invalid' : 'form-control'}}) }}
-
-
- {{ form_errors(seccion.nombre) }}
+
+
+
+
- {% for tarea in seccion.tareas %}
+
-
-{% endblock %}
\ No newline at end of file
+
+{% endblock %}
+
+
+{% block javascript %}
+ {{ parent() }}
+
+{% endblock %}
diff --git a/app/Resources/views/resumen/listado.html.twig b/app/Resources/views/resumen/listado.html.twig
index e84a899..7c7f986 100644
--- a/app/Resources/views/resumen/listado.html.twig
+++ b/app/Resources/views/resumen/listado.html.twig
@@ -3,6 +3,14 @@
{{ form_widget(form) }}
{{ form_end(form) }} #}
+{% block breadcrumbItems %}
+
+
Resumen
+
Mis Checklist
+
Generar Checklist
+
+{% endblock %}
+
{% block content %}
diff --git a/app/Resources/views/seccion/mostrar.html.twig b/app/Resources/views/seccion/mostrar.html.twig
new file mode 100644
index 0000000..28c3ec9
--- /dev/null
+++ b/app/Resources/views/seccion/mostrar.html.twig
@@ -0,0 +1,25 @@
+{% extends '@STGTheme/Default/base.html.twig' %}
+{# {{ form_start(form, {'attr': {'novalidate': 'novalidate'}}) }}
+{{ form_widget(form) }}
+{{ form_end(form) }} #}
+
+{% block body %}
+
+ {{ form_start(form) }}
+
+
+ {% for row in tareas %}
+
+
+ {{ row.nombre }}
+
+
+ {{ form_row(row) }}
+
+
+ {% endfor %}
+
+
+ {{ form_end(form) }}
+
+{% endblock %}
\ No newline at end of file
diff --git a/app/config/config.yml b/app/config/config.yml
index d8dc975..d442d90 100644
--- a/app/config/config.yml
+++ b/app/config/config.yml
@@ -37,6 +37,8 @@ twig:
strict_variables: '%kernel.debug%'
form_themes:
- '@LexikFormFilter/Form/form_div_layout.html.twig'
+ globals:
+ Img: 'Imagenes'
# Doctrine Configuration
doctrine:
diff --git a/app/config/security.yml b/app/config/security.yml
index 0e0b7cb..692c4b2 100644
--- a/app/config/security.yml
+++ b/app/config/security.yml
@@ -1,24 +1,30 @@
-# To get started with security, check out the documentation:
-# https://symfony.com/doc/current/security.html
security:
-
- # https://symfony.com/doc/current/security.html#b-configuring-how-users-are-loaded
providers:
in_memory:
- memory: ~
-
+ memory:
+ users:
+ ryan:
+ password: ryanpass
+ roles: 'ROLE_USER'
+ admin:
+ password: kitten
+ roles: 'ROLE_ADMIN'
+ role_hierarchy:
+ ROLE_ADMIN: ROLE_USER
+ ROLE_SUPER_ADMIN: [ROLE_ADMIN, ROLE_ALLOWED_TO_SWITCH]
+
firewalls:
- # disables authentication for assets and the profiler, adapt it according to your needs
dev:
pattern: ^/(_(profiler|wdt)|css|images|js)/
security: false
main:
anonymous: ~
- # activate different ways to authenticate
+ http_basic: ~
- # https://symfony.com/doc/current/security.html#a-configuring-how-your-users-will-authenticate
- #http_basic: ~
+ encoders:
+ Symfony\Component\Security\Core\User\User: plaintext
- # https://symfony.com/doc/current/security/form_login_setup.html
- #form_login: ~
+ access_control:
+ # require ROLE_ADMIN for /admin*
+ - { path: '^/admin', roles: ROLE_ADMIN }
\ No newline at end of file
diff --git a/composer.lock b/composer.lock
index be3fff0..079a6c4 100644
--- a/composer.lock
+++ b/composer.lock
@@ -8,16 +8,16 @@
"packages": [
{
"name": "composer/ca-bundle",
- "version": "1.2.3",
+ "version": "1.2.4",
"source": {
"type": "git",
"url": "https://github.com/composer/ca-bundle.git",
- "reference": "f26a67e397be0e5c00d7c52ec7b5010098e15ce5"
+ "reference": "10bb96592168a0f8e8f6dcde3532d9fa50b0b527"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/composer/ca-bundle/zipball/f26a67e397be0e5c00d7c52ec7b5010098e15ce5",
- "reference": "f26a67e397be0e5c00d7c52ec7b5010098e15ce5",
+ "url": "https://api.github.com/repos/composer/ca-bundle/zipball/10bb96592168a0f8e8f6dcde3532d9fa50b0b527",
+ "reference": "10bb96592168a0f8e8f6dcde3532d9fa50b0b527",
"shasum": ""
},
"require": {
@@ -60,7 +60,7 @@
"ssl",
"tls"
],
- "time": "2019-08-02T09:05:43+00:00"
+ "time": "2019-08-30T08:44:50+00:00"
},
{
"name": "doctrine/annotations",
@@ -1064,16 +1064,16 @@
},
{
"name": "monolog/monolog",
- "version": "1.24.0",
+ "version": "1.25.1",
"source": {
"type": "git",
"url": "https://github.com/Seldaek/monolog.git",
- "reference": "bfc9ebb28f97e7a24c45bdc3f0ff482e47bb0266"
+ "reference": "70e65a5470a42cfec1a7da00d30edb6e617e8dcf"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/Seldaek/monolog/zipball/bfc9ebb28f97e7a24c45bdc3f0ff482e47bb0266",
- "reference": "bfc9ebb28f97e7a24c45bdc3f0ff482e47bb0266",
+ "url": "https://api.github.com/repos/Seldaek/monolog/zipball/70e65a5470a42cfec1a7da00d30edb6e617e8dcf",
+ "reference": "70e65a5470a42cfec1a7da00d30edb6e617e8dcf",
"shasum": ""
},
"require": {
@@ -1138,7 +1138,7 @@
"logging",
"psr-3"
],
- "time": "2018-11-05T09:00:11+00:00"
+ "time": "2019-09-06T13:49:17+00:00"
},
{
"name": "paragonie/random_compat",
@@ -2226,16 +2226,16 @@
},
{
"name": "symfony/symfony",
- "version": "v3.4.30",
+ "version": "v3.4.31",
"source": {
"type": "git",
"url": "https://github.com/symfony/symfony.git",
- "reference": "4d911e98e1f70538edcca4576c65395ef0fbfa84"
+ "reference": "944e04808117477f46f804133d17913b77cf63d3"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/symfony/zipball/4d911e98e1f70538edcca4576c65395ef0fbfa84",
- "reference": "4d911e98e1f70538edcca4576c65395ef0fbfa84",
+ "url": "https://api.github.com/repos/symfony/symfony/zipball/944e04808117477f46f804133d17913b77cf63d3",
+ "reference": "944e04808117477f46f804133d17913b77cf63d3",
"shasum": ""
},
"require": {
@@ -2254,7 +2254,7 @@
"symfony/polyfill-mbstring": "~1.0",
"symfony/polyfill-php56": "~1.0",
"symfony/polyfill-php70": "~1.6",
- "twig/twig": "^1.40|^2.9"
+ "twig/twig": "^1.41|^2.10"
},
"conflict": {
"phpdocumentor/reflection-docblock": "<3.0||>=3.2.0,<3.2.2",
@@ -2333,7 +2333,7 @@
"ocramius/proxy-manager": "~0.4|~1.0|~2.0",
"phpdocumentor/reflection-docblock": "^3.0|^4.0",
"predis/predis": "~1.0",
- "symfony/phpunit-bridge": "^3.4.19|^4.1.8|~5.0",
+ "symfony/phpunit-bridge": "^3.4.31|^4.3.4|~5.0",
"symfony/security-acl": "~2.8|~3.0"
},
"type": "library",
@@ -2352,7 +2352,8 @@
"Symfony\\Component\\": "src/Symfony/Component/"
},
"classmap": [
- "src/Symfony/Component/Intl/Resources/stubs"
+ "src/Symfony/Component/Intl/Resources/stubs",
+ "src/Symfony/Bridge/ProxyManager/Legacy/ProxiedMethodReturnExpression.php"
],
"exclude-from-classmap": [
"**/Tests/"
@@ -2377,30 +2378,30 @@
"keywords": [
"framework"
],
- "time": "2019-07-27T17:14:21+00:00"
+ "time": "2019-08-26T16:36:53+00:00"
},
{
"name": "twig/twig",
- "version": "v1.42.2",
+ "version": "v1.42.3",
"source": {
"type": "git",
"url": "https://github.com/twigphp/Twig.git",
- "reference": "21707d6ebd05476854805e4f91b836531941bcd4"
+ "reference": "201baee843e0ffe8b0b956f336dd42b2a92fae4e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/twigphp/Twig/zipball/21707d6ebd05476854805e4f91b836531941bcd4",
- "reference": "21707d6ebd05476854805e4f91b836531941bcd4",
+ "url": "https://api.github.com/repos/twigphp/Twig/zipball/201baee843e0ffe8b0b956f336dd42b2a92fae4e",
+ "reference": "201baee843e0ffe8b0b956f336dd42b2a92fae4e",
"shasum": ""
},
"require": {
- "php": ">=5.4.0",
+ "php": ">=5.5.0",
"symfony/polyfill-ctype": "^1.8"
},
"require-dev": {
"psr/container": "^1.0",
- "symfony/debug": "^2.7",
- "symfony/phpunit-bridge": "^3.4.19|^4.1.8|^5.0"
+ "symfony/debug": "^3.4|^4.2",
+ "symfony/phpunit-bridge": "^4.4@dev|^5.0"
},
"type": "library",
"extra": {
@@ -2423,19 +2424,19 @@
"authors": [
{
"name": "Fabien Potencier",
- "role": "Lead Developer",
"email": "fabien@symfony.com",
- "homepage": "http://fabien.potencier.org"
+ "homepage": "http://fabien.potencier.org",
+ "role": "Lead Developer"
},
{
- "name": "Armin Ronacher",
- "role": "Project Founder",
- "email": "armin.ronacher@active-4.com"
+ "name": "Twig Team",
+ "homepage": "https://twig.symfony.com/contributors",
+ "role": "Contributors"
},
{
- "name": "Twig Team",
- "role": "Contributors",
- "homepage": "https://twig.symfony.com/contributors"
+ "name": "Armin Ronacher",
+ "email": "armin.ronacher@active-4.com",
+ "role": "Project Founder"
}
],
"description": "Twig, the flexible, fast, and secure template language for PHP",
@@ -2443,7 +2444,7 @@
"keywords": [
"templating"
],
- "time": "2019-06-18T15:35:16+00:00"
+ "time": "2019-08-24T12:51:03+00:00"
}
],
"packages-dev": [
@@ -2503,16 +2504,16 @@
},
{
"name": "symfony/phpunit-bridge",
- "version": "v3.4.30",
+ "version": "v3.4.31",
"source": {
"type": "git",
"url": "https://github.com/symfony/phpunit-bridge.git",
- "reference": "8f1f27c186496128b861810809c27d956d342417"
+ "reference": "028617b04ae19d99d89089626ac969d161244ebc"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/phpunit-bridge/zipball/8f1f27c186496128b861810809c27d956d342417",
- "reference": "8f1f27c186496128b861810809c27d956d342417",
+ "url": "https://api.github.com/repos/symfony/phpunit-bridge/zipball/028617b04ae19d99d89089626ac969d161244ebc",
+ "reference": "028617b04ae19d99d89089626ac969d161244ebc",
"shasum": ""
},
"require": {
@@ -2564,7 +2565,7 @@
],
"description": "Symfony PHPUnit Bridge",
"homepage": "https://symfony.com",
- "time": "2019-07-05T06:33:19+00:00"
+ "time": "2019-08-20T13:31:17+00:00"
}
],
"aliases": [],
diff --git a/nbproject/private/private.xml b/nbproject/private/private.xml
index 22d8cba..489c670 100644
--- a/nbproject/private/private.xml
+++ b/nbproject/private/private.xml
@@ -3,10 +3,10 @@
- file:/E:/Users/MODERNIZACION02/Documents/NetBeansProjects/ChecklistMaker/src/AppBundle/Entity/Seccion.php
- file:/E:/Users/MODERNIZACION02/Documents/NetBeansProjects/ChecklistMaker/src/AppBundle/Entity/Tarea.php
+ file:/E:/Users/MODERNIZACION02/Documents/NetBeansProjects/ChecklistMaker/app/Resources/views/plantilla/new.html.twig
file:/E:/Users/MODERNIZACION02/Documents/NetBeansProjects/ChecklistMaker/src/AppBundle/Entity/Plantilla.php
- file:/E:/Users/MODERNIZACION02/Documents/NetBeansProjects/ChecklistMaker/src/AppBundle/Entity/Checklist.php
+ file:/E:/Users/MODERNIZACION02/Documents/NetBeansProjects/ChecklistMaker/app/Resources/STGThemeBundle/views/Default/base.html.twig
+ file:/E:/Users/MODERNIZACION02/Documents/NetBeansProjects/ChecklistMaker/web/bundles/stgtheme/css/custom.css
diff --git a/src/AppBundle/Controller/DefaultController.php b/src/AppBundle/Controller/DefaultController.php
index 6334674..a2ad4ee 100644
--- a/src/AppBundle/Controller/DefaultController.php
+++ b/src/AppBundle/Controller/DefaultController.php
@@ -4,9 +4,12 @@
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\HttpFoundation\Request;
+use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
use AppBundle\Entity\FiltroResumen;
use AppBundle\Form\FiltroResumenType;
+use AppBundle\Entity\Usuario;
+use AppBundle\Form\UsuarioType;
class DefaultController extends Controller
{
@@ -38,4 +41,54 @@ public function testFilterAction(Request $request)
'form' => $form->createView(),
));
}
+
+ /**
+ * @Route("/login/",name="login")
+ */
+ public function login(Request $request){
+
+ $usuario = new Usuario();
+
+ $entityManager = $this->getDoctrine()->getManager();
+
+ $form = $this->createForm(UsuarioType::class, $usuario);
+
+ $form->handleRequest($request);
+
+ if($form->isSubmitted() && $form->isValid()){
+
+ $usuario = $form->getData();
+
+ $entityManager->persist($usuario);
+ $entityManager->flush();
+
+ //return $this->redirectToRoute('listar_formularios');
+
+ }
+
+ return $this->render('Checklist/login.html.twig', array(
+ ));
+ }
+
+
+
+ /**
+ * @Route("/accion-user/",name="accion")
+ */
+ public function acciones(){
+
+ return $this->render('Checklist/AccionUser.html.twig', array(
+ ));
+ }
+
+ /**
+ * @Route("/admin")
+ */
+ public function adminAction()
+ {
+ return $this->render('resumen/listado.html.twig', array(
+ ));
+ }
+
+
}
diff --git a/src/AppBundle/Controller/FormularioAController.php b/src/AppBundle/Controller/FormularioAController.php
index fdf0acd..b9ce532 100644
--- a/src/AppBundle/Controller/FormularioAController.php
+++ b/src/AppBundle/Controller/FormularioAController.php
@@ -10,8 +10,8 @@
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
-use AppBundle\Entity\FormularioA;
-use AppBundle\Form\FormularioAType;
+use AppBundle\Entity\FormularioA\FormularioA;
+use AppBundle\Form\FormularioA\FormularioAType;
use Symfony\Component\HttpFoundation\Request;
/**
@@ -23,7 +23,7 @@
class FormularioAController extends Controller
{
/**
- * @Route("/formulario/nuevo/", name="formulario_nuevo")
+ * @Route("/formularioA/new/", name="formularioA_new")
*/
public function formularioANuevoAction(Request $request)
{
@@ -42,10 +42,10 @@ public function formularioANuevoAction(Request $request)
$entityManager->persist($formularioA);
$entityManager->flush();
- return $this->redirectToRoute('listar_formularios');
+ // return $this->redirectToRoute('plantilla/listado.html.twig');
}
- return $this->render('formularioA/new.html.twig',[
+ return $this->render('plantilla/new-formularioA.html.twig',[
'form' => $form->createView(),
]);
}
@@ -98,4 +98,5 @@ public function formularioAModificarAction(Request $request, $id){
return $this->render('formularioA/modificar.html.twig', array(
'formulario' => $formulario));
}
+
}
\ No newline at end of file
diff --git a/src/AppBundle/Controller/FormularioBController.php b/src/AppBundle/Controller/FormularioBController.php
new file mode 100644
index 0000000..1f02d14
--- /dev/null
+++ b/src/AppBundle/Controller/FormularioBController.php
@@ -0,0 +1,52 @@
+getDoctrine()->getManager();
+
+ $form = $this->createForm(FormularioBType::class, $formularioB);
+
+ $form->handleRequest($request);
+
+ if($form->isSubmitted() && $form->isValid()){
+
+ $formularioB = $form->getData();
+
+ $entityManager->persist($formularioB);
+ $entityManager->flush();
+
+ // return $this->redirectToRoute('listar_formularios');
+
+ }
+ return $this->render('plantilla/new-formularioB.html.twig',[
+ 'form' => $form->createView(),
+ ]);
+ }
+}
\ No newline at end of file
diff --git a/src/AppBundle/Controller/PlantillaController.php b/src/AppBundle/Controller/PlantillaController.php
index 1f3ee6e..d5df833 100644
--- a/src/AppBundle/Controller/PlantillaController.php
+++ b/src/AppBundle/Controller/PlantillaController.php
@@ -8,23 +8,15 @@
namespace AppBundle\Controller;
-use Doctrine\Common\Collections\ArrayCollection;
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use AppBundle\Entity\Plantilla;
use AppBundle\Form\PlantillaType;
use AppBundle\Entity\Seccion;
-use AppBundle\Form\SeccionType;
use Symfony\Component\HttpFoundation\Request;
-/**
- * Description of PlantillaController
- *
- * @author Emma
- */
-
- class PlantillaController extends Controller
- {
+class PlantillaController extends Controller
+{
/**
* @Route("/plantilla/new/", name="new_plantilla")
*/
@@ -41,22 +33,17 @@ public function plantillaNewAction(Request $request)
if($form->isSubmitted() && $form->isValid()){
$plantilla = $form->getData();
-
+
$entityManager->persist($plantilla);
$entityManager->flush();
-
+
//return $this->redirectToRoute('listar_formularios');
}
- $secciones = $entityManager
- ->getRepository(Seccion::class)
- ->findBy([
- 'idPlantilla' => $plantilla->getId()
- ]);
+
return $this->render('plantilla/new.html.twig', array(
- 'form' => $form->createView(),
- 'secciones' => $secciones
+ 'form' => $form->createView()
));
@@ -92,19 +79,79 @@ public function plantillaVer(Request $request, $id)
}
+ /**
+ * @Route("/plantilla/listado/", name="listado_plantilla")
+ */
+ public function buscar(Request $request){
-/**
- * @Route("/plantilla/ver_2/", name="ver2_plantilla")
- */
-public function plantillaVerAction(Request $request)
-{
- $entityManager = $this->getDoctrine()->getManager();
+ $entityManager = $this->getDoctrine()->getManager();
+
+ $plantillas = $entityManager
+ ->getRepository(Plantilla::class)
+ ->findAll();
+
+ return $this->render('plantilla/listado.html.twig', array(
+ 'plantillas' => $plantillas));
+ }
+
+ /**
+ * @Route("/plantilla/ver_2/", name="ver2_plantilla")
+ */
+ public function plantillaVerAction(Request $request)
+ {
+ $entityManager = $this->getDoctrine()->getManager();
+
+
+ return $this->render('plantilla/ver.html.twig', array());
+ }
+ /**
+ * @Route("/plantilla/new-prueba/", name="new_plantilla-prueba")
+ */
+ public function plantillaNewActionPrueba(Request $request)
+ {
+ $plantilla= new Plantilla();
+
+ $entityManager = $this->getDoctrine()->getManager();
- return $this->render('plantilla/ver.html.twig', array(
+ $form = $this->createForm(PlantillaType::class, $plantilla);
+
+ $form->handleRequest($request);
+
+ if($form->isSubmitted() && $form->isValid()){
+
+ $plantilla = $form->getData();
+
+ $entityManager->persist($plantilla);
+ $entityManager->flush();
+
+ return $this->redirectToRoute('resumen_evaluacion');
+
+ }
+ return $this->render('plantilla/new-prueba.html.twig', array(
+ 'form' => $form->createView()
));
+ }
-}
+ /**
+ * @Route("/plantilla/save_standar/{form}", name="guardar-plantilla")
+ */
+ public function guardarChecklist(Request $request,$form){
+
+
+ if($form->isValid()){
+
+ $plantilla = new Plantilla();
+ $plantilla = $form->getData();
+
+ $entityManager->persist($plantilla);
+ $entityManager->flush();
+
+ //return $this->redirectToRoute('listar_formularios');
+
+ }
+
+ }
}
\ No newline at end of file
diff --git a/src/AppBundle/Controller/SeccionController.php b/src/AppBundle/Controller/SeccionController.php
deleted file mode 100644
index 8fd7fcf..0000000
--- a/src/AppBundle/Controller/SeccionController.php
+++ /dev/null
@@ -1,155 +0,0 @@
-getDoctrine()
- // or you can add an argument to your action: createAction(EntityManagerInterface $entityManager)
- $entityManager = $this->getDoctrine()->getManager();
-
- $seccion = new Seccion();
- $seccion->setCalle('San Lorenzo');
- $seccion->setNumero(16);
- $seccion->setPiso(0);
- $seccion->setDpto('b');
- $seccion->setTelefono('98765432124');
- $seccion->setEmail('mail@algo.com');
-
-
- // tells Doctrine you want to (eventually) save the Product (no queries yet)
- $entityManager->persist($seccion);
-
- // actually executes the queries (i.e. the INSERT query)
- $entityManager->flush();
-
-// HEAD:src/AppBundle/Controller/SeccionController.php
- return new Response('Saved new product with id '.$seccion->getId());
- }
-
- // if you have multiple entity managers, use the registry to fetch them
-// public function editAction()
-// {
-// $doctrine = $this->getDoctrine();
-// $entityManager = $doctrine->getManager();
-// $otherEntityManager = $doctrine->getManager('other_connection');
-// }
- // return new Response('Saved new product with id '.$domicilio->getId());
- // }
-
- /**
- * @Route("/seccion/mostrar/{id}/")
- */
- public function showAction($id)
- {
- $seccion = $this->getDoctrine()->getRepository(Seccion::class)->find($id);
-
- if (!$seccion) {
- throw $this->createNotFoundException('No se encontró seccion que tiene este id '.$id);
- }
- else{
- return new Response('Se encontró el seccion con id: '.$seccion->getId().'. Está ubicado en calle: '.$seccion->getCalle().' al '.$seccion->getNumero());
- }
- }
-
- /**
- * @Route("/seccion/form/", name="laRutaVieja")
- */
- //Formularios con seteo de datos por defecto
- public function new2(Request $request)
- {
-
- // creates a seccion and gives it some dummy data for this example
- $seccion = new Seccion();
- $form = $this->createForm(SeccionType::class, $seccion);
-
- // catch all data
- $form->handleRequest($request);
-
-
- // validate all data and if it success save them
- if ($form->isSubmitted() && $form->isValid()) {
-
- $task = $form->getData();
-
-
- return $this->redirectToRoute('laRuta');
- }
-
- return $this->render('seccion/new.html.twig', [
- 'form' => $form->createView(),
- ]);
-
- }
-
- /**
- * @Route("/seccion/nuevoSeccion/" ,name="laRuta")
- */
- //Formularios con petición de datos por pantalla
- public function new(Request $request)
- {
- // creates a seccion and gives it some dummy data for this example
- $seccion = new Seccion();
-
- // creates the form
- $form = $this->createFormBuilder($seccion)
- ->add('calle', TextType::class, ['label' => 'Calle: '])
- ->add('numero', IntegerType::class, ['label' => 'Número: '])
- ->add('piso', IntegerType::class, ['label' => 'Piso: '])
- ->add('dpto', TextType::class, ['label' => 'Departamento: '])
- ->add('telefono', TextType::class, ['label' => 'Teléfono: '])
- ->add('email', EmailType::class, ['label' => 'Email: '])
- ->add('save', SubmitType::class, ['label' => 'Create Seccion'])
- ->getForm();
-
-
- // catch all data
- $form->handleRequest($request);
-
-
- // validate all data and if it success save them
- if ($form->isSubmitted() && $form->isValid()) {
-
- $task = $form->getData();
-
-
- return $this->redirectToRoute('laRutaVieja');
- }
-
- return $this->render('seccion/new.html.twig', [
- 'form' => $form->createView(),
- ]);
- }
-}
diff --git a/src/AppBundle/Entity/Caratula.php b/src/AppBundle/Entity/Caratula.php
new file mode 100644
index 0000000..870d7d9
--- /dev/null
+++ b/src/AppBundle/Entity/Caratula.php
@@ -0,0 +1,285 @@
+id;
+ }
+
+ /**
+ * Set the value of id
+ *
+ * @param int $id
+ *
+ * @return self
+ */
+ public function setId(int $id)
+ {
+ $this->id = $id;
+
+ return $this;
+ }
+
+ /**
+ * Get the value of razonSocial
+ *
+ * @return string
+ */
+ public function getRazonSocial()
+ {
+ return $this->razonSocial;
+ }
+
+ /**
+ * Set the value of razonSocial
+ *
+ * @param string $razonSocial
+ *
+ * @return self
+ */
+ public function setRazonSocial(string $razonSocial)
+ {
+ $this->razonSocial = $razonSocial;
+
+ return $this;
+ }
+
+ /**
+ * Get the value of expediente
+ *
+ * @return string
+ */
+ public function getExpediente()
+ {
+ return $this->expediente;
+ }
+
+ /**
+ * Set the value of expediente
+ *
+ * @param string $expediente
+ *
+ * @return self
+ */
+ public function setExpediente(string $expediente)
+ {
+ $this->expediente = $expediente;
+
+ return $this;
+ }
+
+ /**
+ * Get the value of fechaIniExp
+ *
+ * @return \DateTime
+ */
+ public function getFechaIniExp()
+ {
+ return $this->fechaIniExp;
+ }
+
+ /**
+ * Set the value of fechaIniExp
+ *
+ * @param \DateTime $fechaIniExp
+ *
+ * @return self
+ */
+ public function setFechaIniExp(\DateTime $fechaIniExp)
+ {
+ $this->fechaIniExp = $fechaIniExp;
+
+ return $this;
+ }
+
+ /**
+ * Get the value of version
+ *
+ * @return string
+ */
+ public function getVersion()
+ {
+ return $this->version;
+ }
+
+ /**
+ * Set the value of version
+ *
+ * @param string $version
+ *
+ * @return self
+ */
+ public function setVersion(string $version)
+ {
+ $this->version = $version;
+
+ return $this;
+ }
+
+ /**
+ * Get the value of finEval
+ *
+ * @return \DateTime
+ */
+ public function getFinEval()
+ {
+ return $this->finEval;
+ }
+
+ /**
+ * Set the value of finEval
+ *
+ * @param \DateTime $finEval
+ *
+ * @return self
+ */
+ public function setFinEval(\DateTime $finEval)
+ {
+ $this->finEval = $finEval;
+
+ return $this;
+ }
+
+ /**
+ * Get the value of evaluador
+ *
+ * @return string
+ */
+ public function getEvaluador()
+ {
+ return $this->evaluador;
+ }
+
+ /**
+ * Set the value of evaluador
+ *
+ * @param string $evaluador
+ *
+ * @return self
+ */
+ public function setEvaluador(string $evaluador)
+ {
+ $this->evaluador = $evaluador;
+
+ return $this;
+ }
+
+ /**
+ * Get the value of iniEvaluacion
+ *
+ * @return \DateTime
+ */
+ public function getIniEvaluacion()
+ {
+ return $this->iniEvaluacion;
+ }
+
+ /**
+ * Set the value of iniEvaluacion
+ *
+ * @param \DateTime $iniEvaluacion
+ *
+ * @return self
+ */
+ public function setIniEvaluacion(\DateTime $iniEvaluacion)
+ {
+ $this->iniEvaluacion = $iniEvaluacion;
+
+ return $this;
+ }
+
+ /**
+ * Get the value of diasEvaluacion
+ *
+ * @return string
+ */
+ public function getDiasEvaluacion()
+ {
+ return $this->diasEvaluacion;
+ }
+
+ /**
+ * Set the value of diasEvaluacion
+ *
+ * @param string $diasEvaluacion
+ *
+ * @return self
+ */
+ public function setDiasEvaluacion(string $diasEvaluacion)
+ {
+ $this->diasEvaluacion = $diasEvaluacion;
+
+ return $this;
+ }
+}
\ No newline at end of file
diff --git a/src/AppBundle/Entity/Checklist.php b/src/AppBundle/Entity/Checklist.php
deleted file mode 100644
index 173b978..0000000
--- a/src/AppBundle/Entity/Checklist.php
+++ /dev/null
@@ -1,229 +0,0 @@
-id;
- }
-
- function getNombre() {
- return $this->nombre;
- }
-
- function getIniciador() {
- return $this->iniciador;
- }
-
- function getNumeroExpediente() {
- return $this->numeroExpediente;
- }
-
- function getEvaluador() {
- return $this->evaluador;
- }
-
- function getVersion() {
- return $this->version;
- }
-
- function getFechaInicioEvaluacion() {
- return $this->fechaInicioEvaluacion;
- }
-
- function getFechaFinEvaluacion() {
- return $this->fechaFinEvaluacion;
- }
-
-
-
- function setId($id) {
- $this->id = $id;
- }
-
- function setNombre($nombre) {
- $this->nombre = $nombre;
- }
-
- function setIniciador($iniciador) {
- $this->iniciador = $iniciador;
- }
-
- function setNumeroExpediente($numeroExpediente) {
- $this->numeroExpediente = $numeroExpediente;
- }
-
- function setEvaluador($evaluador) {
- $this->evaluador = $evaluador;
- }
-
- function setVersion($version) {
- $this->version = $version;
- }
-
- function setFechaInicioEvaluacion($fechaInicioEvaluacion) {
- $this->fechaInicioEvaluacion = $fechaInicioEvaluacion;
- }
-
- function setFechaFinEvaluacion($fechaFinEvaluacion) {
- $this->fechaFinEvaluacion = $fechaFinEvaluacion;
- }
-
-
-
-
- public function __construct()
- {
- $this->seccion = new ArrayCollection();
- }
-
- function getComentarioDeEvaluador() {
- return $this->comentarioDeEvaluador;
- }
-
- function setComentarioDeEvaluador($comentarioDeEvaluador) {
- $this->comentarioDeEvaluador = $comentarioDeEvaluador;
- }
-
- function getFechaInicioExpediente() {
- return $this->fechaInicioExpediente;
- }
-
- function setFechaInicioExpediente($fechaInicioExpediente) {
- $this->fechaInicioExpediente = $fechaInicioExpediente;
- }
-
-
-
-
- /**
- * Get the value of plantilla
- */
- public function getPlantilla()
- {
- return $this->plantilla;
- }
-
- /**
- * Set the value of plantilla
- *
- * @return self
- */
- public function setPlantilla($plantilla)
- {
- $this->plantilla = $plantilla;
-
- return $this;
- }
-}
diff --git a/src/AppBundle/Entity/Estandar.php b/src/AppBundle/Entity/Estandar.php
new file mode 100644
index 0000000..7e86797
--- /dev/null
+++ b/src/AppBundle/Entity/Estandar.php
@@ -0,0 +1,227 @@
+presentacion;
+ }
+
+ /**
+ * Set the value of presentacion
+ *
+ * @param string $presentacion
+ *
+ * @return self
+ */
+ public function setPresentacion(string $presentacion)
+ {
+ $this->presentacion = $presentacion;
+
+ return $this;
+ }
+
+ /**
+ * Get the value of estado
+ *
+ * @return string
+ */
+ public function getEstado()
+ {
+ return $this->estado;
+ }
+
+ /**
+ * Set the value of estado
+ *
+ * @param string $estado
+ *
+ * @return self
+ */
+ public function setEstado(string $estado)
+ {
+ $this->estado = $estado;
+
+ return $this;
+ }
+
+ /**
+ * Get the value of declaraActividad
+ *
+ * @return string
+ */
+ public function getDeclaraActividad()
+ {
+ return $this->declaraActividad;
+ }
+
+ /**
+ * Set the value of declaraActividad
+ *
+ * @param string $declaraActividad
+ *
+ * @return self
+ */
+ public function setDeclaraActividad(string $declaraActividad)
+ {
+ $this->declaraActividad = $declaraActividad;
+
+ return $this;
+ }
+
+ /**
+ * Get the value of cuacm
+ *
+ * @return string
+ */
+ public function getCuacm()
+ {
+ return $this->cuacm;
+ }
+
+ /**
+ * Set the value of cuacm
+ *
+ * @param string $cuacm
+ *
+ * @return self
+ */
+ public function setCuacm(string $cuacm)
+ {
+ $this->cuacm = $cuacm;
+
+ return $this;
+ }
+
+ /**
+ * Get the value of estandar
+ *
+ * @return string
+ */
+ public function getEstandar()
+ {
+ return $this->estandar;
+ }
+
+ /**
+ * Set the value of estandar
+ *
+ * @param string $estandar
+ *
+ * @return self
+ */
+ public function setEstandar(string $estandar)
+ {
+ $this->estandar = $estandar;
+
+ return $this;
+ }
+
+ /**
+ * Get the value of numeroCuacm
+ *
+ * @return string
+ */
+ public function getNumeroCuacm()
+ {
+ return $this->numeroCuacm;
+ }
+
+ /**
+ * Set the value of numeroCuacm
+ *
+ * @param string $numeroCuacm
+ *
+ * @return self
+ */
+ public function setNumeroCuacm(string $numeroCuacm)
+ {
+ $this->numeroCuacm = $numeroCuacm;
+
+ return $this;
+ }
+
+ /**
+ * Get the value of nombreCuacm
+ *
+ * @return string
+ */
+ public function getNombreCuacm()
+ {
+ return $this->nombreCuacm;
+ }
+
+ /**
+ * Set the value of nombreCuacm
+ *
+ * @param string $nombreCuacm
+ *
+ * @return self
+ */
+ public function setNombreCuacm(string $nombreCuacm)
+ {
+ $this->nombreCuacm = $nombreCuacm;
+
+ return $this;
+ }
+}
\ No newline at end of file
diff --git a/src/AppBundle/Entity/FormularioA.php b/src/AppBundle/Entity/FormularioA.php
deleted file mode 100644
index 73f4a22..0000000
--- a/src/AppBundle/Entity/FormularioA.php
+++ /dev/null
@@ -1,83 +0,0 @@
-resumenEjecutivo;
- }
-
- /**
- * Set the value of resumenEjecutivo
- *
- * @param string $resumenEjecutivo
- *
- * @return self
- */
- public function setResumenEjecutivo(string $resumenEjecutivo)
- {
- $this->resumenEjecutivo = $resumenEjecutivo;
-
- return $this;
- }
-
-
- /**
- * Get the value of id
- *
- * @return int
- */
- public function getId()
- {
- return $this->id;
- }
-
- /**
- * Set the value of id
- *
- * @param int $id
- *
- * @return self
- */
- public function setId(int $id)
- {
- $this->id = $id;
-
- return $this;
- }
-}
diff --git a/src/AppBundle/Entity/FormularioA/AFIP.php b/src/AppBundle/Entity/FormularioA/AFIP.php
new file mode 100644
index 0000000..4810ea7
--- /dev/null
+++ b/src/AppBundle/Entity/FormularioA/AFIP.php
@@ -0,0 +1,226 @@
+id;
+ }
+
+ /**
+ * Set the value of id
+ *
+ * @param int $id
+ *
+ * @return self
+ */
+ public function setId(int $id)
+ {
+ $this->id = $id;
+
+ return $this;
+ }
+
+ /**
+ * Get the value of constancia
+ *
+ * @return bool
+ */
+ public function getConstancia()
+ {
+ return $this->constancia;
+ }
+
+ /**
+ * Set the value of constancia
+ *
+ * @param bool $constancia
+ *
+ * @return self
+ */
+ public function setConstancia(bool $constancia)
+ {
+ $this->constancia = $constancia;
+
+ return $this;
+ }
+
+ /**
+ * Get the value of fojaN
+ *
+ * @return string
+ */
+ public function getFojaN()
+ {
+ return $this->fojaN;
+ }
+
+ /**
+ * Set the value of fojaN
+ *
+ * @param string $fojaN
+ *
+ * @return self
+ */
+ public function setFojaN(string $fojaN)
+ {
+ $this->fojaN = $fojaN;
+
+ return $this;
+ }
+
+ /**
+ * Get the value of verFechIni
+ *
+ * @return bool
+ */
+ public function getVerFechIni()
+ {
+ return $this->verFechIni;
+ }
+
+ /**
+ * Set the value of verFechIni
+ *
+ * @param bool $verFechIni
+ *
+ * @return self
+ */
+ public function setVerFechIni(bool $verFechIni)
+ {
+ $this->verFechIni = $verFechIni;
+
+ return $this;
+ }
+
+ /**
+ * Get the value of verRazonSocial
+ *
+ * @return bool
+ */
+ public function getVerRazonSocial()
+ {
+ return $this->verRazonSocial;
+ }
+
+ /**
+ * Set the value of verRazonSocial
+ *
+ * @param bool $verRazonSocial
+ *
+ * @return self
+ */
+ public function setVerRazonSocial(bool $verRazonSocial)
+ {
+ $this->verRazonSocial = $verRazonSocial;
+
+ return $this;
+ }
+
+ /**
+ * Get the value of verCUIT
+ *
+ * @return bool
+ */
+ public function getVerCUIT()
+ {
+ return $this->verCUIT;
+ }
+
+ /**
+ * Set the value of verCUIT
+ *
+ * @param bool $verCUIT
+ *
+ * @return self
+ */
+ public function setVerCUIT(bool $verCUIT)
+ {
+ $this->verCUIT = $verCUIT;
+
+ return $this;
+ }
+
+ /**
+ * Get the value of verAct
+ *
+ * @return bool
+ */
+ public function getVerAct()
+ {
+ return $this->verAct;
+ }
+
+ /**
+ * Set the value of verAct
+ *
+ * @param bool $verAct
+ *
+ * @return self
+ */
+ public function setVerAct(bool $verAct)
+ {
+ $this->verAct = $verAct;
+
+ return $this;
+ }
+
+}
diff --git a/src/AppBundle/Entity/FormularioA/API.php b/src/AppBundle/Entity/FormularioA/API.php
new file mode 100644
index 0000000..5fe8a5c
--- /dev/null
+++ b/src/AppBundle/Entity/FormularioA/API.php
@@ -0,0 +1,288 @@
+id;
+ }
+
+ /**
+ * Set the value of id
+ *
+ * @param int $id
+ *
+ * @return self
+ */
+ public function setId(int $id)
+ {
+ $this->id = $id;
+
+ return $this;
+ }
+
+
+
+ /**
+ * Get the value of AcreDocUsoInmueble
+ *
+ * @return bool
+ */
+ public function getAcreDocUsoInmueble()
+ {
+ return $this->AcreDocUsoInmueble;
+ }
+
+ /**
+ * Set the value of AcreDocUsoInmueble
+ *
+ * @param bool $AcreDocUsoInmueble
+ *
+ * @return self
+ */
+ public function setAcreDocUsoInmueble(bool $AcreDocUsoInmueble)
+ {
+ $this->AcreDocUsoInmueble = $AcreDocUsoInmueble;
+
+ return $this;
+ }
+
+ /**
+ * Get the value of verIndTitular
+ *
+ * @return bool
+ */
+ public function getVerIndTitular()
+ {
+ return $this->verIndTitular;
+ }
+
+ /**
+ * Set the value of verIndTitular
+ *
+ * @param bool $verIndTitular
+ *
+ * @return self
+ */
+ public function setVerIndTitular(bool $verIndTitular)
+ {
+ $this->verIndTitular = $verIndTitular;
+
+ return $this;
+ }
+
+ /**
+ * Get the value of verTitularBoleta
+ *
+ * @return bool
+ */
+ public function getVerTitularBoleta()
+ {
+ return $this->verTitularBoleta;
+ }
+
+ /**
+ * Set the value of verTitularBoleta
+ *
+ * @param bool $verTitularBoleta
+ *
+ * @return self
+ */
+ public function setVerTitularBoleta(bool $verTitularBoleta)
+ {
+ $this->verTitularBoleta = $verTitularBoleta;
+
+ return $this;
+ }
+
+ /**
+ * Get the value of verPartidaCatastro
+ *
+ * @return bool
+ */
+ public function getVerPartidaCatastro()
+ {
+ return $this->verPartidaCatastro;
+ }
+
+ /**
+ * Set the value of verPartidaCatastro
+ *
+ * @param bool $verPartidaCatastro
+ *
+ * @return self
+ */
+ public function setVerPartidaCatastro(bool $verPartidaCatastro)
+ {
+ $this->verPartidaCatastro = $verPartidaCatastro;
+
+ return $this;
+ }
+
+ /**
+ * Get the value of verNumPartida
+ *
+ * @return bool
+ */
+ public function getVerNumPartida()
+ {
+ return $this->verNumPartida;
+ }
+
+ /**
+ * Set the value of verNumPartida
+ *
+ * @param bool $verNumPartida
+ *
+ * @return self
+ */
+ public function setVerNumPartida(bool $verNumPartida)
+ {
+ $this->verNumPartida = $verNumPartida;
+
+ return $this;
+ }
+
+ /**
+ * Get the value of formPartida
+ *
+ * @return bool
+ */
+ public function getFormPartida()
+ {
+ return $this->formPartida;
+ }
+
+ /**
+ * Set the value of formPartida
+ *
+ * @param bool $formPartida
+ *
+ * @return self
+ */
+ public function setFormPartida(bool $formPartida)
+ {
+ $this->formPartida = $formPartida;
+
+ return $this;
+ }
+
+ /**
+ * Get the value of fojaN
+ *
+ * @return string
+ */
+ public function getFojaN()
+ {
+ return $this->fojaN;
+ }
+
+ /**
+ * Set the value of fojaN
+ *
+ * @param string $fojaN
+ *
+ * @return self
+ */
+ public function setFojaN(string $fojaN)
+ {
+ $this->fojaN = $fojaN;
+
+ return $this;
+ }
+
+ /**
+ * Get the value of preImpInmobiliario
+ *
+ * @return bool
+ */
+ public function getPreImpInmobiliario()
+ {
+ return $this->preImpInmobiliario;
+ }
+
+ /**
+ * Set the value of preImpInmobiliario
+ *
+ * @param bool $preImpInmobiliario
+ *
+ * @return self
+ */
+ public function setPreImpInmobiliario(bool $preImpInmobiliario)
+ {
+ $this->preImpInmobiliario = $preImpInmobiliario;
+
+ return $this;
+ }
+
+
+}
diff --git a/src/AppBundle/Entity/FormularioA/ActaSocietaria.php b/src/AppBundle/Entity/FormularioA/ActaSocietaria.php
new file mode 100644
index 0000000..8511427
--- /dev/null
+++ b/src/AppBundle/Entity/FormularioA/ActaSocietaria.php
@@ -0,0 +1,199 @@
+verObjSoc;
+ }
+
+ /**
+ * Set the value of verObjSoc
+ *
+ * @param bool $verObjSoc
+ *
+ * @return self
+ */
+ public function setVerObjSoc(bool $verObjSoc)
+ {
+ $this->verObjSoc = $verObjSoc;
+
+ return $this;
+ }
+
+ /**
+ * Get the value of vencido
+ *
+ * @return bool
+ */
+ public function getVencido()
+ {
+ return $this->vencido;
+ }
+
+ /**
+ * Set the value of vencido
+ *
+ * @param bool $vencido
+ *
+ * @return self
+ */
+ public function setVencido(bool $vencido)
+ {
+ $this->vencido = $vencido;
+
+ return $this;
+ }
+
+ /**
+ * Get the value of titulares
+ *
+ * @return bool
+ */
+ public function getTitulares()
+ {
+ return $this->titulares;
+ }
+
+ /**
+ * Set the value of titulares
+ *
+ * @param bool $titulares
+ *
+ * @return self
+ */
+ public function setTitulares(bool $titulares)
+ {
+ $this->titulares = $titulares;
+
+ return $this;
+ }
+
+ /**
+ * Get the value of fojaN
+ *
+ * @return string
+ */
+ public function getFojaN()
+ {
+ return $this->fojaN;
+ }
+
+ /**
+ * Set the value of fojaN
+ *
+ * @param string $fojaN
+ *
+ * @return self
+ */
+ public function setFojaN(string $fojaN)
+ {
+ $this->fojaN = $fojaN;
+
+ return $this;
+ }
+
+
+ /**
+ * Get the value of id
+ *
+ * @return int
+ */
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ /**
+ * Set the value of id
+ *
+ * @param int $id
+ *
+ * @return self
+ */
+ public function setId(int $id)
+ {
+ $this->id = $id;
+
+ return $this;
+ }
+
+ /**
+ * Get the value of actaSocietaria
+ *
+ * @return bool
+ */
+ public function getActaSocietaria()
+ {
+ return $this->actaSocietaria;
+ }
+
+ /**
+ * Set the value of actaSocietaria
+ *
+ * @param bool $actaSocietaria
+ *
+ * @return self
+ */
+ public function setActaSocietaria(bool $actaSocietaria)
+ {
+ $this->actaSocietaria = $actaSocietaria;
+
+ return $this;
+ }
+
+}
diff --git a/src/AppBundle/Entity/FormularioA/ContratoSocial.php b/src/AppBundle/Entity/FormularioA/ContratoSocial.php
new file mode 100644
index 0000000..40a9b70
--- /dev/null
+++ b/src/AppBundle/Entity/FormularioA/ContratoSocial.php
@@ -0,0 +1,226 @@
+verObjSoc;
+ }
+
+ /**
+ * Set the value of verObjSoc
+ *
+ * @param bool $verObjSoc
+ *
+ * @return self
+ */
+ public function setVerObjSoc(bool $verObjSoc)
+ {
+ $this->verObjSoc = $verObjSoc;
+
+ return $this;
+ }
+
+ /**
+ * Get the value of vencido
+ *
+ * @return bool
+ */
+ public function getVencido()
+ {
+ return $this->vencido;
+ }
+
+ /**
+ * Set the value of vencido
+ *
+ * @param bool $vencido
+ *
+ * @return self
+ */
+ public function setVencido(bool $vencido)
+ {
+ $this->vencido = $vencido;
+
+ return $this;
+ }
+
+ /**
+ * Get the value of titulares
+ *
+ * @return bool
+ */
+ public function getTitulares()
+ {
+ return $this->titulares;
+ }
+
+ /**
+ * Set the value of titulares
+ *
+ * @param bool $titulares
+ *
+ * @return self
+ */
+ public function setTitulares(bool $titulares)
+ {
+ $this->titulares = $titulares;
+
+ return $this;
+ }
+
+ /**
+ * Get the value of unipersonal
+ *
+ * @return bool
+ */
+ public function getUnipersonal()
+ {
+ return $this->unipersonal;
+ }
+
+ /**
+ * Set the value of unipersonal
+ *
+ * @param bool $unipersonal
+ *
+ * @return self
+ */
+ public function setUnipersonal(bool $unipersonal)
+ {
+ $this->unipersonal = $unipersonal;
+
+ return $this;
+ }
+
+ /**
+ * Get the value of fojaN
+ *
+ * @return string
+ */
+ public function getFojaN()
+ {
+ return $this->fojaN;
+ }
+
+ /**
+ * Set the value of fojaN
+ *
+ * @param string $fojaN
+ *
+ * @return self
+ */
+ public function setFojaN(string $fojaN)
+ {
+ $this->fojaN = $fojaN;
+
+ return $this;
+ }
+
+ /**
+ * Get the value of poseeContrato
+ *
+ * @return bool
+ */
+ public function getPoseeContrato()
+ {
+ return $this->poseeContrato;
+ }
+
+ /**
+ * Set the value of poseeContrato
+ *
+ * @param bool $poseeContrato
+ *
+ * @return self
+ */
+ public function setPoseeContrato(bool $poseeContrato)
+ {
+ $this->poseeContrato = $poseeContrato;
+
+ return $this;
+ }
+
+ /**
+ * Get the value of id
+ *
+ * @return int
+ */
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ /**
+ * Set the value of id
+ *
+ * @param int $id
+ *
+ * @return self
+ */
+ public function setId(int $id)
+ {
+ $this->id = $id;
+
+ return $this;
+ }
+}
diff --git a/src/AppBundle/Entity/FormularioA/Dni.php b/src/AppBundle/Entity/FormularioA/Dni.php
new file mode 100644
index 0000000..6d0c5fe
--- /dev/null
+++ b/src/AppBundle/Entity/FormularioA/Dni.php
@@ -0,0 +1,90 @@
+id;
+ }
+
+ function getDni() {
+ return $this->dni;
+ }
+
+ function getVerDni() {
+ return $this->verDni;
+ }
+
+ function getApoderado() {
+ return $this->apoderado;
+ }
+
+ function getVerApoderado() {
+ return $this->verApoderado;
+ }
+
+ function setId($id) {
+ $this->id = $id;
+ }
+
+ function setDni($dni) {
+ $this->dni = $dni;
+ }
+
+ function setVerDni($verDni) {
+ $this->verDni = $verDni;
+ }
+
+ function setApoderado($apoderado) {
+ $this->apoderado = $apoderado;
+ }
+
+ function setVerApoderado($verApoderado) {
+ $this->verApoderado = $verApoderado;
+ }
+
+
+}
diff --git a/src/AppBundle/Entity/FormularioA/DomicilioLegal.php b/src/AppBundle/Entity/FormularioA/DomicilioLegal.php
new file mode 100644
index 0000000..e7b96c7
--- /dev/null
+++ b/src/AppBundle/Entity/FormularioA/DomicilioLegal.php
@@ -0,0 +1,271 @@
+calle;
+ }
+
+ /**
+ * Set the value of calle
+ *
+ * @param string $calle
+ *
+ * @return self
+ */
+ public function setCalle(string $calle)
+ {
+ $this->calle = $calle;
+
+ return $this;
+ }
+
+ /**
+ * Get the value of provincia
+ *
+ * @return string
+ */
+ public function getProvincia()
+ {
+ return $this->provincia;
+ }
+
+ /**
+ * Set the value of provincia
+ *
+ * @param string $provincia
+ *
+ * @return self
+ */
+ public function setProvincia(string $provincia)
+ {
+ $this->provincia = $provincia;
+
+ return $this;
+ }
+
+ /**
+ * Get the value of departamento
+ *
+ * @return string
+ */
+ public function getDepartamento()
+ {
+ return $this->departamento;
+ }
+
+ /**
+ * Set the value of departamento
+ *
+ * @param string $departamento
+ *
+ * @return self
+ */
+ public function setDepartamento(string $departamento)
+ {
+ $this->departamento = $departamento;
+
+ return $this;
+ }
+
+ /**
+ * Get the value of localidad
+ *
+ * @return string
+ */
+ public function getLocalidad()
+ {
+ return $this->localidad;
+ }
+
+ /**
+ * Set the value of localidad
+ *
+ * @param string $localidad
+ *
+ * @return self
+ */
+ public function setLocalidad(string $localidad)
+ {
+ $this->localidad = $localidad;
+
+ return $this;
+ }
+
+ /**
+ * Get the value of cp
+ *
+ * @return string
+ */
+ public function getCp()
+ {
+ return $this->cp;
+ }
+
+ /**
+ * Set the value of cp
+ *
+ * @param string $cp
+ *
+ * @return self
+ */
+ public function setCp(string $cp)
+ {
+ $this->cp = $cp;
+
+ return $this;
+ }
+
+ /**
+ * Get the value of email
+ *
+ * @return string
+ */
+ public function getEmail()
+ {
+ return $this->email;
+ }
+
+ /**
+ * Set the value of email
+ *
+ * @param string $email
+ *
+ * @return self
+ */
+ public function setEmail(string $email)
+ {
+ $this->email = $email;
+
+ return $this;
+ }
+
+ /**
+ * Get the value of id
+ *
+ * @return int
+ */
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ /**
+ * Set the value of id
+ *
+ * @param int $id
+ *
+ * @return self
+ */
+ public function setId(int $id)
+ {
+ $this->id = $id;
+
+ return $this;
+ }
+
+ /**
+ * Get the value of verEmail
+ *
+ * @return string
+ */
+ public function getVerEmail()
+ {
+ return $this->verEmail;
+ }
+
+ /**
+ * Set the value of verEmail
+ *
+ * @param string $verEmail
+ *
+ * @return self
+ */
+ public function setVerEmail(string $verEmail)
+ {
+ $this->verEmail = $verEmail;
+
+ return $this;
+ }
+
+ function getAcepEmail() {
+ return $this->acepEmail;
+ }
+
+ function setAcepEmail($acepEmail) {
+ $this->acepEmail = $acepEmail;
+ }
+
+
+}
diff --git a/src/AppBundle/Entity/FormularioA/DomicilioReal.php b/src/AppBundle/Entity/FormularioA/DomicilioReal.php
new file mode 100644
index 0000000..f9ccfa2
--- /dev/null
+++ b/src/AppBundle/Entity/FormularioA/DomicilioReal.php
@@ -0,0 +1,109 @@
+calle;
+ }
+
+ /**
+ * Set the value of calle
+ *
+ * @param string $calle
+ *
+ * @return self
+ */
+ public function setCalle(string $calle)
+ {
+ $this->calle = $calle;
+
+ return $this;
+ }
+
+ /**
+ * Get the value of localidad
+ *
+ * @return string
+ */
+ public function getLocalidad()
+ {
+ return $this->localidad;
+ }
+
+ /**
+ * Set the value of localidad
+ *
+ * @param string $localidad
+ *
+ * @return self
+ */
+ public function setLocalidad(string $localidad)
+ {
+ $this->localidad = $localidad;
+
+ return $this;
+ }
+
+ /**
+ * Get the value of id
+ *
+ * @return int
+ */
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ /**
+ * Set the value of id
+ *
+ * @param int $id
+ *
+ * @return self
+ */
+ public function setId(int $id)
+ {
+ $this->id = $id;
+
+ return $this;
+ }
+}
diff --git a/src/AppBundle/Entity/FormularioA/FormularioA.php b/src/AppBundle/Entity/FormularioA/FormularioA.php
new file mode 100644
index 0000000..31d3801
--- /dev/null
+++ b/src/AppBundle/Entity/FormularioA/FormularioA.php
@@ -0,0 +1,179 @@
+id;
+ }
+
+ function getDomicilioLegal() {
+ return $this->domicilioLegal;
+ }
+
+ function getDomicilioReal() {
+ return $this->domicilioReal;
+ }
+
+ function getContratoSocial() {
+ return $this->contratoSocial;
+ }
+
+ function getActaSocietaria() {
+ return $this->actaSocietaria;
+ }
+
+ function getDni() {
+ return $this->dni;
+ }
+
+ function getAfip() {
+ return $this->afip;
+ }
+
+ function getApi() {
+ return $this->api;
+ }
+
+
+ function setId($id) {
+ $this->id = $id;
+ }
+
+ function setDomicilioLegal($domicilioLegal) {
+ $this->domicilioLegal = $domicilioLegal;
+ }
+
+ function setDomicilioReal($domicilioReal) {
+ $this->domicilioReal = $domicilioReal;
+ }
+
+ function setContratoSocial($contratoSocial) {
+ $this->contratoSocial = $contratoSocial;
+ }
+
+ function setActaSocietaria($actaSocietaria) {
+ $this->actaSocietaria = $actaSocietaria;
+ }
+
+ function setDni($dni) {
+ $this->dni = $dni;
+ }
+
+ function setAfip($afip) {
+ $this->afip = $afip;
+ }
+
+ function setApi($api) {
+ $this->api = $api;
+ }
+
+ function getPlantilla() {
+ return $this->plantilla;
+ }
+
+ function setPlantilla($plantilla) {
+ $this->plantilla = $plantilla;
+ }
+ function getUsoConformeSuelo() {
+ return $this->usoConformeSuelo;
+ }
+
+ function setUsoConformeSuelo($usoConformeSuelo) {
+ $this->usoConformeSuelo = $usoConformeSuelo;
+ }
+
+
+
+}
diff --git a/src/AppBundle/Entity/FormularioA/UsoConformeSuelo.php b/src/AppBundle/Entity/FormularioA/UsoConformeSuelo.php
new file mode 100644
index 0000000..8ae6a74
--- /dev/null
+++ b/src/AppBundle/Entity/FormularioA/UsoConformeSuelo.php
@@ -0,0 +1,130 @@
+id;
+ }
+
+ function getFojaN() {
+ return $this->fojaN;
+ }
+
+ function getPresentaHabilitacion() {
+ return $this->presentaHabilitacion;
+ }
+
+ function getFechaInicioHabilitacion(): \DateTime {
+ return $this->fechaInicioHabilitacion;
+ }
+
+ function getFechaVencimiento(): \DateTime {
+ return $this->fechaVencimiento;
+ }
+
+ function getVerActividad() {
+ return $this->verActividad;
+ }
+
+ function getVerLocalizacion() {
+ return $this->verLocalizacion;
+ }
+
+ function setId($id) {
+ $this->id = $id;
+ }
+
+
+ function setFojaN($fojaN) {
+ $this->fojaN = $fojaN;
+ }
+
+ function setPresentaHabilitacion($presentaHabilitacion) {
+ $this->presentaHabilitacion = $presentaHabilitacion;
+ }
+
+ function setFechaInicioHabilitacion(\DateTime $fechaInicioHabilitacion) {
+ $this->fechaInicioHabilitacion = $fechaInicioHabilitacion;
+ }
+
+ function setFechaVencimiento(\DateTime $fechaVencimiento) {
+ $this->fechaVencimiento = $fechaVencimiento;
+ }
+
+ function setVerActividad($verActividad) {
+ $this->verActividad = $verActividad;
+ }
+
+ function setVerLocalizacion($verLocalizacion) {
+ $this->verLocalizacion = $verLocalizacion;
+ }
+ function getUsoConformeSuelo2() {
+ return $this->usoConformeSuelo2;
+ }
+
+ function setUsoConformeSuelo2($usoConformeSuelo) {
+ $this->usoConformeSuelo2 = $usoConformeSuelo;
+ }
+
+
+
+}
diff --git a/src/AppBundle/Entity/FormularioB/CategoriaFinal.php b/src/AppBundle/Entity/FormularioB/CategoriaFinal.php
new file mode 100644
index 0000000..7249e86
--- /dev/null
+++ b/src/AppBundle/Entity/FormularioB/CategoriaFinal.php
@@ -0,0 +1,53 @@
+id;
+ }
+
+ function getCategoriaAsignada() {
+ return $this->categoriaAsignada;
+ }
+
+ function setId($id) {
+ $this->id = $id;
+ }
+
+ function setCategoriaAsignada($categoriaAsignada) {
+ $this->categoriaAsignada = $categoriaAsignada;
+ }
+
+
+}
diff --git a/src/AppBundle/Entity/FormularioB/Dotacion.php b/src/AppBundle/Entity/FormularioB/Dotacion.php
new file mode 100644
index 0000000..38eddec
--- /dev/null
+++ b/src/AppBundle/Entity/FormularioB/Dotacion.php
@@ -0,0 +1,84 @@
+id;
+ }
+
+ function getDotacionDePersonal() {
+ return $this->dotacionDePersonal;
+ }
+
+ function getPotenciaInstalada() {
+ return $this->potenciaInstalada;
+ }
+
+ function getSuperficieCubierta() {
+ return $this->superficieCubierta;
+ }
+
+ function setId($id) {
+ $this->id = $id;
+ }
+
+ function setDotacionDePersonal($dotacionDePersonal) {
+ $this->dotacionDePersonal = $dotacionDePersonal;
+ }
+
+ function setPotenciaInstalada($potenciaInstalada) {
+ $this->potenciaInstalada = $potenciaInstalada;
+ }
+
+ function setSuperficieCubierta($superficieCubierta) {
+ $this->superficieCubierta = $superficieCubierta;
+ }
+
+
+}
diff --git a/src/AppBundle/Entity/FormularioB/EmisionDeResiduos.php b/src/AppBundle/Entity/FormularioB/EmisionDeResiduos.php
new file mode 100644
index 0000000..db43e1c
--- /dev/null
+++ b/src/AppBundle/Entity/FormularioB/EmisionDeResiduos.php
@@ -0,0 +1,293 @@
+id;
+ }
+
+ function getResiduosSolidosSemisolidos() {
+ return $this->residuosSolidosSemisolidos;
+ }
+
+ function getRsu() {
+ return $this->rsu;
+ }
+
+ function getRnp() {
+ return $this->rnp;
+ }
+
+ function getTipoDeResiduo() {
+ return $this->tipoDeResiduo;
+ }
+
+ function getRp() {
+ return $this->rp;
+ }
+
+ function getDefinirCorrientesDeRP() {
+ return $this->definirCorrientesDeRP;
+ }
+
+ function getValorResiduo() {
+ return $this->valorResiduo;
+ }
+
+ function getEfluentesYResiduosLiquidos() {
+ return $this->efluentesYResiduosLiquidos;
+ }
+
+ function getAguaATemperaturaAmbiente() {
+ return $this->aguaATemperaturaAmbiente;
+ }
+
+ function getEfluentesSinRP() {
+ return $this->efluentesSinRP;
+ }
+
+ function getEfluentesConRP() {
+ return $this->efluentesConRP;
+ }
+
+ function getValorEfluente() {
+ return $this->valorEfluente;
+ }
+
+ function getEmisionesGaseosas() {
+ return $this->emisionesGaseosas;
+ }
+
+ function getComponentesNaturalesDelAire() {
+ return $this->componentesNaturalesDelAire;
+ }
+
+ function getCombustionDeCombustiblesLiquidos() {
+ return $this->combustionDeCombustiblesLiquidos;
+ }
+
+ function getNoContempladosBool() {
+ return $this->noContempladosBool;
+ }
+
+ function getNoContempledosListado() {
+ return $this->noContempledosListado;
+ }
+
+ function getValorEmisiones() {
+ return $this->valorEmisiones;
+ }
+
+ function setId($id) {
+ $this->id = $id;
+ }
+
+ function setResiduosSolidosSemisolidos($residuosSolidosSemisolidos) {
+ $this->residuosSolidosSemisolidos = $residuosSolidosSemisolidos;
+ }
+
+ function setRsu($rsu) {
+ $this->rsu = $rsu;
+ }
+
+ function setRnp($rnp) {
+ $this->rnp = $rnp;
+ }
+
+ function setTipoDeResiduo($tipoDeResiduo) {
+ $this->tipoDeResiduo = $tipoDeResiduo;
+ }
+
+ function setRp($rp) {
+ $this->rp = $rp;
+ }
+
+ function setDefinirCorrientesDeRP($definirCorrientesDeRP) {
+ $this->definirCorrientesDeRP = $definirCorrientesDeRP;
+ }
+
+ function setValorResiduo($valorResiduo) {
+ $this->valorResiduo = $valorResiduo;
+ }
+
+ function setEfluentesYResiduosLiquidos($efluentesYResiduosLiquidos) {
+ $this->efluentesYResiduosLiquidos = $efluentesYResiduosLiquidos;
+ }
+
+ function setAguaATemperaturaAmbiente($aguaATemperaturaAmbiente) {
+ $this->aguaATemperaturaAmbiente = $aguaATemperaturaAmbiente;
+ }
+
+ function setEfluentesSinRP($efluentesSinRP) {
+ $this->efluentesSinRP = $efluentesSinRP;
+ }
+
+ function setEfluentesConRP($efluentesConRP) {
+ $this->efluentesConRP = $efluentesConRP;
+ }
+
+ function setValorEfluente($valorEfluente) {
+ $this->valorEfluente = $valorEfluente;
+ }
+
+ function setEmisionesGaseosas($emisionesGaseosas) {
+ $this->emisionesGaseosas = $emisionesGaseosas;
+ }
+
+ function setComponentesNaturalesDelAire($componentesNaturalesDelAire) {
+ $this->componentesNaturalesDelAire = $componentesNaturalesDelAire;
+ }
+
+ function setCombustionDeCombustiblesLiquidos($combustionDeCombustiblesLiquidos) {
+ $this->combustionDeCombustiblesLiquidos = $combustionDeCombustiblesLiquidos;
+ }
+
+ function setNoContempladosBool($noContempladosBool) {
+ $this->noContempladosBool = $noContempladosBool;
+ }
+
+ function setNoContempledosListado($noContempledosListado) {
+ $this->noContempledosListado = $noContempledosListado;
+ }
+
+ function setValorEmisiones($valorEmisiones) {
+ $this->valorEmisiones = $valorEmisiones;
+ }
+
+
+}
diff --git a/src/AppBundle/Entity/FormularioB/FormularioB.php b/src/AppBundle/Entity/FormularioB/FormularioB.php
new file mode 100644
index 0000000..46e4455
--- /dev/null
+++ b/src/AppBundle/Entity/FormularioB/FormularioB.php
@@ -0,0 +1,192 @@
+id;
+ }
+
+ function getEstadoSoporteDigital() {
+ return $this->estadoSoporteDigital;
+ }
+
+ function getIngresarCodigoExcel() {
+ return $this->ingresarCodigoExcel;
+ }
+
+ function getEmisionDeResiduos() {
+ return $this->emisionDeResiduos;
+ }
+
+ function getRiesgos() {
+ return $this->riesgos;
+ }
+
+ function getDotacion() {
+ return $this->dotacion;
+ }
+
+ function getLocalización() {
+ return $this->localización;
+ }
+
+ function getCategoriaFinal() {
+ return $this->categoriaFinal;
+ }
+
+ function getPlantilla() {
+ return $this->plantilla;
+ }
+
+ function setId($id) {
+ $this->id = $id;
+ }
+
+ function setEstadoSoporteDigital($estadoSoporteDigital) {
+ $this->estadoSoporteDigital = $estadoSoporteDigital;
+ }
+
+ function setIngresarCodigoExcel($ingresarCodigoExcel) {
+ $this->ingresarCodigoExcel = $ingresarCodigoExcel;
+ }
+
+ function setEmisionDeResiduos($emisionDeResiduos) {
+ $this->emisionDeResiduos = $emisionDeResiduos;
+ }
+
+ function setRiesgos($riesgos) {
+ $this->riesgos = $riesgos;
+ }
+
+ function setDotacion($dotacion) {
+ $this->dotacion = $dotacion;
+ }
+
+ function setLocalización($localización) {
+ $this->localización = $localización;
+ }
+
+ function setCategoriaFinal($categoriaFinal) {
+ $this->categoriaFinal = $categoriaFinal;
+ }
+
+ function setPlantilla($plantilla) {
+ $this->plantilla = $plantilla;
+ }
+
+
+
+ /**
+ * Get the value of observacionSoporteDigital
+ */
+ public function getObservacionSoporteDigital()
+ {
+ return $this->observacionSoporteDigital;
+ }
+
+ /**
+ * Set the value of observacionSoporteDigital
+ *
+ * @return self
+ */
+ public function setObservacionSoporteDigital($observacionSoporteDigital)
+ {
+ $this->observacionSoporteDigital = $observacionSoporteDigital;
+
+ return $this;
+ }
+
+ /**
+ * Get the value of localizacion
+ */
+ public function getLocalizacion()
+ {
+ return $this->localizacion;
+ }
+
+ /**
+ * Set the value of localizacion
+ *
+ * @return self
+ */
+ public function setLocalizacion($localizacion)
+ {
+ $this->localizacion = $localizacion;
+
+ return $this;
+ }
+}
diff --git a/src/AppBundle/Entity/FormularioB/Localizacion.php b/src/AppBundle/Entity/FormularioB/Localizacion.php
new file mode 100644
index 0000000..48cd059
--- /dev/null
+++ b/src/AppBundle/Entity/FormularioB/Localizacion.php
@@ -0,0 +1,111 @@
+id;
+ }
+
+ function getZonificacion() {
+ return $this->zonificacion;
+ }
+
+ function getAguaDeRed() {
+ return $this->aguaDeRed;
+ }
+
+ function getRedCloacal() {
+ return $this->redCloacal;
+ }
+
+ function getEnergiaElectrica() {
+ return $this->energiaElectrica;
+ }
+
+ function getGas() {
+ return $this->gas;
+ }
+
+ function setId($id) {
+ $this->id = $id;
+ }
+
+ function setZonificacion($zonificacion) {
+ $this->zonificacion = $zonificacion;
+ }
+
+ function setAguaDeRed($aguaDeRed) {
+ $this->aguaDeRed = $aguaDeRed;
+ }
+
+ function setRedCloacal($redCloacal) {
+ $this->redCloacal = $redCloacal;
+ }
+
+ function setEnergiaElectrica($energiaElectrica) {
+ $this->energiaElectrica = $energiaElectrica;
+ }
+
+ function setGas($gas) {
+ $this->gas = $gas;
+ }
+
+
+
+}
diff --git a/src/AppBundle/Entity/FormularioB/Riesgos.php b/src/AppBundle/Entity/FormularioB/Riesgos.php
new file mode 100644
index 0000000..4e50369
--- /dev/null
+++ b/src/AppBundle/Entity/FormularioB/Riesgos.php
@@ -0,0 +1,150 @@
+id;
+ }
+
+ function getRiesgosPresuntos() {
+ return $this->riesgosPresuntos;
+ }
+
+ function getAcustico() {
+ return $this->acustico;
+ }
+
+ function getAparatosSometidosAPresion() {
+ return $this->aparatosSometidosAPresion;
+ }
+
+ function getSustanciasQuimicas() {
+ return $this->sustanciasQuimicas;
+ }
+
+ function getExplosion() {
+ return $this->explosion;
+ }
+
+ function getIncendio() {
+ return $this->incendio;
+ }
+
+ function getOtrosBool() {
+ return $this->otrosBool;
+ }
+
+ function getOtrosListado() {
+ return $this->otrosListado;
+ }
+
+ function setId($id) {
+ $this->id = $id;
+ }
+
+ function setRiesgosPresuntos($riesgosPresuntos) {
+ $this->riesgosPresuntos = $riesgosPresuntos;
+ }
+
+ function setAcustico($acustico) {
+ $this->acustico = $acustico;
+ }
+
+ function setAparatosSometidosAPresion($aparatosSometidosAPresion) {
+ $this->aparatosSometidosAPresion = $aparatosSometidosAPresion;
+ }
+
+ function setSustanciasQuimicas($sustanciasQuimicas) {
+ $this->sustanciasQuimicas = $sustanciasQuimicas;
+ }
+
+ function setExplosion($explosion) {
+ $this->explosion = $explosion;
+ }
+
+ function setIncendio($incendio) {
+ $this->incendio = $incendio;
+ }
+
+ function setOtrosBool($otrosBool) {
+ $this->otrosBool = $otrosBool;
+ }
+
+ function setOtrosListado($otrosListado) {
+ $this->otrosListado = $otrosListado;
+ }
+
+
+}
diff --git a/src/AppBundle/Entity/Plantilla.php b/src/AppBundle/Entity/Plantilla.php
index a1523e7..2974d92 100644
--- a/src/AppBundle/Entity/Plantilla.php
+++ b/src/AppBundle/Entity/Plantilla.php
@@ -32,17 +32,34 @@ class Plantilla
* @Assert\Length(min = 1, max = 3000, minMessage = "El nombre no puede dejarse en blanco.", maxMessage = "El nombre es demasiado largo.")
*/
private $nombre;
+
+ /**
+ * @ORM\OneToOne(targetEntity="AppBundle\Entity\Caratula", cascade={"persist"}, mappedBy="caratula")
+ */
+ private $caratula;
+
+ /**
+ * @ORM\OneToOne(targetEntity="AppBundle\Entity\SubRutina", cascade={"persist"}, mappedBy="subRutina")
+ */
+ private $subRutina;
/**
- * @ORM\OneToMany(targetEntity="AppBundle\Entity\Seccion", mappedBy="idPlantilla")
- */
- protected $secciones;
+ * @ORM\OneToOne(targetEntity="AppBundle\Entity\Estandar", cascade={"persist"}, mappedBy="estandar")
+ */
+ private $estandar;
+
+ /**
+ * @ORM\OneToOne(targetEntity="AppBundle\Entity\FormularioA\FormularioA", cascade={"persist"}, mappedBy="plantilla")
+ */
+ private $formularioA;
/**
- * @ORM\OneToMany(targetEntity="AppBundle\Entity\Checklist", mappedBy="plantilla")
+ * @ORM\OneToOne(targetEntity="AppBundle\Entity\FormularioB\FormularioB", cascade={"persist"}, mappedBy="plantilla")
*/
- private $checklists;
+ private $formularioB;
+
+ //Getters and setter
function getId() {
return $this->id;
}
@@ -51,7 +68,6 @@ function getNombre() {
return $this->nombre;
}
-
function setId($id) {
$this->id = $id;
}
@@ -60,35 +76,81 @@ function setNombre($nombre) {
$this->nombre = $nombre;
}
- function getSecciones() {
- return $this->secciones;
+ function getFormularioA() {
+ return $this->formularioA;
}
- function setSecciones($secciones) {
- $this->secciones = $secciones;
+ function getFormularioB() {
+ return $this->formularioB;
}
-
- public function addSecciones(Seccion $representante)
+ function setFormularioA($formularioA) {
+ $this->formularioA = $formularioA;
+ }
+
+ function setFormularioB($formularioB) {
+ $this->formularioB = $formularioB;
+ }
+
+
+
+ /**
+ * Get the value of caratula
+ */
+ public function getCaratula()
{
-
- $secciones->setIdPlantilla($this);
+ return $this->caratula;
+ }
+
+ /**
+ * Set the value of caratula
+ *
+ * @return self
+ */
+ public function setCaratula($caratula)
+ {
+ $this->caratula = $caratula;
- $this->secciones->add($secciones);
-
+ return $this;
}
- public function removeRepresentante(Representante $representante)
+ /**
+ * Get the value of subRutina
+ */
+ public function getSubRutina()
{
- $this->representantes->removeElement($representante);
+ return $this->subRutina;
}
-
+
/**
- * Constructor
- */
- public function __construct()
+ * Set the value of subRutina
+ *
+ * @return self
+ */
+ public function setSubRutina($subRutina)
{
- $this->secciones = new ArrayCollection();
+ $this->subRutina = $subRutina;
+
+ return $this;
}
+ /**
+ * Get the value of estandar
+ */
+ public function getEstandar()
+ {
+ return $this->estandar;
+ }
+
+ /**
+ * Set the value of estandar
+ *
+ * @return self
+ */
+ public function setEstandar($estandar)
+ {
+ $this->estandar = $estandar;
+
+ return $this;
+ }
}
diff --git a/src/AppBundle/Entity/Respuesta.php b/src/AppBundle/Entity/Respuesta.php
deleted file mode 100644
index abeccb3..0000000
--- a/src/AppBundle/Entity/Respuesta.php
+++ /dev/null
@@ -1,45 +0,0 @@
-id;
- }
-
-
-
- /**
- * Get the value of nombre
- *
- * @return string
- */
- public function getNombre()
- {
- return $this->nombre;
- }
-
- /**
- * Set the value of nombre
- *
- * @param string $nombre
- *
- * @return self
- */
- public function setNombre(string $nombre)
- {
- $this->nombre = $nombre;
-
- return $this;
- }
-
- /**
- * Get the value of idPlantilla
- *
- * @return \AppBundle\Entity\Plantilla
- */
- public function getIdPlantilla()
- {
- return $this->idPlantilla;
- }
-
- /**
- * Set the value of idPlantilla
- *
- * @param \AppBundle\Entity\Plantilla $idPlantilla
- *
- * @return self
- */
- public function setIdPlantilla(\AppBundle\Entity\Plantilla $idPlantilla)
- {
- $this->idPlantilla = $idPlantilla;
-
- return $this;
- }
-
- /**
- * Get the value of tareas
- */
- public function getTareas()
- {
- return $this->tareas;
- }
-
- /**
- * Set the value of tareas
- *
- * @return self
- */
- public function setTareas($tareas)
- {
- $this->tareas = $tareas;
-
- return $this;
- }
-
- public function addTareas(Tarea $tarea)
- {
-
- $tareas->setIdSeccion($this);
-
- $this->tareas->add($tarea);
-
- }
-
- public function removeTareas(Tarea $tarea)
- {
- $this->tareas->removeElement($tarea);
- }
-
- /**
- * Constructor
- */
- public function __construct()
- {
- $this->tareas = new ArrayCollection();
- }
-}
diff --git a/src/AppBundle/Entity/SubRutina.php b/src/AppBundle/Entity/SubRutina.php
new file mode 100644
index 0000000..6c395c9
--- /dev/null
+++ b/src/AppBundle/Entity/SubRutina.php
@@ -0,0 +1,170 @@
+investigar;
+ }
+
+ /**
+ * Set the value of investigar
+ *
+ * @param string $investigar
+ *
+ * @return self
+ */
+ public function setInvestigar(string $investigar)
+ {
+ $this->investigar = $investigar;
+
+ return $this;
+ }
+
+ /**
+ * Get the value of existe
+ *
+ * @return string
+ */
+ public function getExiste()
+ {
+ return $this->existe;
+ }
+
+ /**
+ * Set the value of existe
+ *
+ * @param string $existe
+ *
+ * @return self
+ */
+ public function setExiste(string $existe)
+ {
+ $this->existe = $existe;
+
+ return $this;
+ }
+
+ /**
+ * Get the value of estaEnPlazos
+ *
+ * @return string
+ */
+ public function getEstaEnPlazos()
+ {
+ return $this->estaEnPlazos;
+ }
+
+ /**
+ * Set the value of estaEnPlazos
+ *
+ * @param string $estaEnPlazos
+ *
+ * @return self
+ */
+ public function setEstaEnPlazos(string $estaEnPlazos)
+ {
+ $this->estaEnPlazos = $estaEnPlazos;
+
+ return $this;
+ }
+
+ /**
+ * Get the value of relocalizo
+ *
+ * @return string
+ */
+ public function getRelocalizo()
+ {
+ return $this->relocalizo;
+ }
+
+ /**
+ * Set the value of relocalizo
+ *
+ * @param string $relocalizo
+ *
+ * @return self
+ */
+ public function setRelocalizo(string $relocalizo)
+ {
+ $this->relocalizo = $relocalizo;
+
+ return $this;
+ }
+
+ /**
+ * Get the value of desestima
+ *
+ * @return string
+ */
+ public function getDesestima()
+ {
+ return $this->desestima;
+ }
+
+ /**
+ * Set the value of desestima
+ *
+ * @param string $desestima
+ *
+ * @return self
+ */
+ public function setDesestima(string $desestima)
+ {
+ $this->desestima = $desestima;
+
+ return $this;
+ }
+}
\ No newline at end of file
diff --git a/src/AppBundle/Entity/Tarea.php b/src/AppBundle/Entity/Tarea.php
deleted file mode 100644
index 39e0b5a..0000000
--- a/src/AppBundle/Entity/Tarea.php
+++ /dev/null
@@ -1,145 +0,0 @@
-tipo;
- }
-
- /**
- * Set the value of tipo
- *
- * @param string $tipo
- *
- * @return self
- */
- public function setTipo(string $tipo)
- {
- $this->tipo = $tipo;
-
- return $this;
- }
-
- /**
- * Get the value of idSeccion
- *
- * @return \AppBundle\Entity\Seccion
- */
- public function getIdSeccion()
- {
- return $this->idSeccion;
- }
-
- /**
- * Set the value of idSeccion
- *
- * @param \AppBundle\Entity\Seccion $idSeccion
- *
- * @return self
- */
- public function setIdSeccion(\AppBundle\Entity\Seccion $idSeccion)
- {
- $this->idSeccion = $idSeccion;
-
- return $this;
- }
- //Constructor
- public function __construct()
- {
- $this->respuestas = new ArrayCollection();
- }
-}
diff --git a/src/AppBundle/Entity/Usuario.php b/src/AppBundle/Entity/Usuario.php
new file mode 100644
index 0000000..3cfac0c
--- /dev/null
+++ b/src/AppBundle/Entity/Usuario.php
@@ -0,0 +1,258 @@
+id;
+ }
+
+ /**
+ * Set the value of id
+ *
+ * @param int $id
+ *
+ * @return self
+ */
+ public function setId(int $id)
+ {
+ $this->id = $id;
+
+ return $this;
+ }
+
+ /**
+ * Get the value of nombre
+ *
+ * @return string
+ */
+ public function getNombre()
+ {
+ return $this->nombre;
+ }
+
+ /**
+ * Set the value of nombre
+ *
+ * @param string $nombre
+ *
+ * @return self
+ */
+ public function setNombre(string $nombre)
+ {
+ $this->nombre = $nombre;
+
+ return $this;
+ }
+
+ /**
+ * Get the value of apellido
+ *
+ * @return string
+ */
+ public function getApellido()
+ {
+ return $this->apellido;
+ }
+
+ /**
+ * Set the value of apellido
+ *
+ * @param string $apellido
+ *
+ * @return self
+ */
+ public function setApellido(string $apellido)
+ {
+ $this->apellido = $apellido;
+
+ return $this;
+ }
+
+ /**
+ * Get the value of email
+ *
+ * @return string
+ */
+ public function getEmail()
+ {
+ return $this->email;
+ }
+
+ /**
+ * Set the value of email
+ *
+ * @param string $email
+ *
+ * @return self
+ */
+ public function setEmail(string $email)
+ {
+ $this->email = $email;
+
+ return $this;
+ }
+
+ /**
+ * Get the value of iup
+ *
+ * @return string
+ */
+ public function getIup()
+ {
+ return $this->iup;
+ }
+
+ /**
+ * Set the value of iup
+ *
+ * @param string $iup
+ *
+ * @return self
+ */
+ public function setIup(string $iup)
+ {
+ $this->iup = $iup;
+
+ return $this;
+ }
+
+ /**
+ * Get the value of cuil
+ *
+ * @return string
+ */
+ public function getCuil()
+ {
+ return $this->cuil;
+ }
+
+ /**
+ * Set the value of cuil
+ *
+ * @param string $cuil
+ *
+ * @return self
+ */
+ public function setDocumento(string $cuil)
+ {
+ $this->cuil = $cuil;
+
+ return $this;
+ }
+
+ /**
+ * Get the value of password
+ *
+ * @return string
+ */
+ public function getPassword()
+ {
+ return $this->password;
+ }
+
+ /**
+ * Set the value of password
+ *
+ * @param string $password
+ *
+ * @return self
+ */
+ public function setPassword(string $password)
+ {
+ $this->password = $password;
+
+ return $this;
+ }
+
+ public function getUsername()
+ {
+ return $this->email;
+ }
+
+ public function getSalt()
+ {
+ return null;
+ }
+
+ public function getRoles()
+ {
+ // En este caso definimos un rol fijo, en el caso de que tengamos un campo role en la tabla de la BBDD tendríamos que hacer $this->getRole()
+ return array('ROLE_USER');
+ }
+
+ public function eraseCredentials()
+ {
+ }
+
+}
diff --git a/src/AppBundle/Form/CaratulaType.php b/src/AppBundle/Form/CaratulaType.php
new file mode 100644
index 0000000..d3c9977
--- /dev/null
+++ b/src/AppBundle/Form/CaratulaType.php
@@ -0,0 +1,45 @@
+add('expediente', TextType::class, ['label' => 'Número Expediente: '])
+ ->add('razonSocial', TextType::class, ['label' => 'Razón Social: '])
+ ->add('fechaIniExp', DateType::class, ['widget' => 'single_text', 'label' => 'Fecha Inicio Expediente: '])
+ ->add('evaluador', TextType::class, ['label' => 'Evaluador: '])
+ ->add('version', TextType::class, ['label' => 'Versión: '])
+ ->add('finEval', DateType::class, ['widget' => 'single_text', 'label' => 'Fin Evaluación: '])
+ ->add('iniEvaluacion', DateType::class, ['widget' => 'single_text', 'label' => 'Inicio Evaluación: '])
+ ->add('diasEvaluacion', IntegerType::class, ['label' => 'Días de evaluación: '])
+ // ->add('fechaInicioExp', DateType::class, ['widget' => 'single_text', 'label' => 'Fecha Inicio Expediente: '])
+ // ->add('avance', IntegerType::class, ['label' => 'Avance: '])
+ // ->add('diasEv', TextType::class, ['label' => 'Días de Evaluación: '])
+ // ->add('comentario', TextType::class, ['label' => 'Comentarios: '])
+ // ->add('observaciones', TextType::class, ['label' => 'Observaciones: '])
+ ;
+ }
+
+ public function configureOptions(OptionsResolver $resolver)
+ {
+ $resolver->setDefaults([
+ 'data_class' => Caratula::class,
+ ]);
+ }
+
+}
\ No newline at end of file
diff --git a/src/AppBundle/Form/CategorizacionType.php b/src/AppBundle/Form/CategorizacionType.php
index 118cef8..f078f48 100644
--- a/src/AppBundle/Form/CategorizacionType.php
+++ b/src/AppBundle/Form/CategorizacionType.php
@@ -19,12 +19,12 @@ class CategorizacionType extends AbstractType
public function buildForm(FormBuilderInterface $builder, array $options)
{
$builder
+ ->add('numeroExpediente', TextType::class, ['label' => 'Número Expediente: '])
->add('razonSocial', TextType::class, ['label' => 'Razón Social: '])
->add('categoria', IntegerType::class, ['label' => 'Categoria: '])
->add('evaluador', TextType::class, ['label' => 'Evaluador: '])
->add('estado', TextType::class, ['label' => 'Estado: '])
->add('notificacion', TextType::class, ['label' => 'Notificacion: '])
- // ->add('numeroExpediente', TextType::class, ['label' => 'Número Expediente: '])
// ->add('fechaInicioExp', DateType::class, ['widget' => 'single_text', 'label' => 'Fecha Inicio Expediente: '])
// ->add('avance', IntegerType::class, ['label' => 'Avance: '])
// ->add('diasEv', TextType::class, ['label' => 'Días de Evaluación: '])
diff --git a/src/AppBundle/Form/EstandarType.php b/src/AppBundle/Form/EstandarType.php
new file mode 100644
index 0000000..a0bfd18
--- /dev/null
+++ b/src/AppBundle/Form/EstandarType.php
@@ -0,0 +1,68 @@
+add('presentacion', Choicetype::class, [
+ 'choices' => [
+ 'NUEVO' => 'NUEVO',
+ 'VIEJO' => 'VIEJO',
+ '' => null,
+ ],
+ 'label' => 'Forma de presentación:'
+ ])
+ ->add('estado', Choicetype::class, [
+ 'choices' => [
+ 'ABIERTO' => 'ABIERTO',
+ 'CERRADO' => 'CERRADO',
+ '' => null,
+ ],
+ 'label' => 'Estado formulario:'
+ ])
+ ->add('declaraActividad', Choicetype::class, [
+ 'choices' => [
+ 'Si' => 'Si',
+ 'No' => 'No',
+ '' => null,
+ ],
+ 'label' => 'Indicar si declara actividad:'
+ ])
+ ->add('cuacm', TextType::class, ['label' => 'Definir actividad: '])
+ ->add('numeroCuacm', TextType::class, ['label' => 'N° de CUACM: '])
+ ->add('nombreCuacm', TextType::class, ['label' => 'Nombre de CUACM: '])
+ ->add('estandar', Choicetype::class, [
+ 'choices' => [
+ '1' => '1',
+ '2' => '2',
+ '3' => '3',
+ '' => null,
+ ],
+ 'label' => 'Estándar al que pertenece:'
+ ])
+ ;
+ }
+
+ public function configureOptions(OptionsResolver $resolver)
+ {
+ $resolver->setDefaults([
+ 'data_class' => Estandar::class,
+ ]);
+ }
+
+}
\ No newline at end of file
diff --git a/src/AppBundle/Form/FormularioA/APIType.php b/src/AppBundle/Form/FormularioA/APIType.php
new file mode 100644
index 0000000..4ba8f73
--- /dev/null
+++ b/src/AppBundle/Form/FormularioA/APIType.php
@@ -0,0 +1,91 @@
+add('preImpInmobiliario', Choicetype::class, [
+ 'choices' => [
+ 'Si' => true,
+ 'No' => false,
+ '' => null,
+ ],
+ 'label' => 'Presenta impuesto inmobiliario'
+ ])
+ ->add('fojaN', TextType::class,['label' => 'Foja N°'])
+ ->add('formPartida', Choicetype::class, [
+ 'label' => 'Indicar si corresponde a un formato de N° de partida',
+ 'choices' => [
+ 'Si' => true,
+ 'No' => false,
+ '' => null,
+ ],
+ ])
+ ->add('verNumPartida', Choicetype::class, [
+ 'label' => 'Verificar Nº de partida',
+ 'choices' => [
+ 'COINCIDE' => true,
+ 'NO COINCIDE' => false,
+ 'DOMICILIO INCOMPLETO' => null,
+ ],
+ ])
+ ->add('verPartidaCatastro', Choicetype::class, [
+ 'label' => 'Verificar N° de partida con catastro',
+ 'choices' => [
+ 'COINCIDE' => true,
+ 'NO COINCIDE' => false,
+ '' => null,
+ ],
+ ])
+ ->add('verTitularBoleta', Choicetype::class, [
+ 'label' => 'Indicar si figura titular en la boleta',
+ 'choices' => [
+ 'Si' => true,
+ 'No' => false,
+ '' => null,
+ ],
+ ])
+
+ ->add('verIndTitular', Choicetype::class, [
+ 'label' => 'Verificar iniciador con titular',
+ 'choices' => [
+ 'COINCIDE' => true,
+ 'NO COINCIDE' => false,
+ '' => null,
+ ],
+ ])
+ ->add('AcreDocUsoInmueble', Choicetype::class, [
+ 'label' => 'Acreditar documentación de uso de inmueble',
+ 'choices' => [
+ 'Si' => true,
+ 'No' => false,
+ '' => null,
+ ],
+ ])
+
+ ;
+ }
+
+ public function configureOptions(OptionsResolver $resolver)
+ {
+ $resolver->setDefaults([
+ 'data_class' => DomicilioLegal::class,
+ ]);
+ }
+
+}
\ No newline at end of file
diff --git a/src/AppBundle/Form/FormularioA/ActaSocietariaType.php b/src/AppBundle/Form/FormularioA/ActaSocietariaType.php
new file mode 100644
index 0000000..5a13914
--- /dev/null
+++ b/src/AppBundle/Form/FormularioA/ActaSocietariaType.php
@@ -0,0 +1,65 @@
+add('fojaN', TextType::class, ['label' => 'Foja N°: '])
+ ->add('actaSocietaria', Choicetype::class, [
+ 'choices' => [
+ 'Si' => true,
+ 'No' => false,
+ '' => null,
+ ],
+ 'label' => 'Indicar si tiene acta societaria'
+ ])
+ ->add('titulares', Choicetype::class, [
+ 'label' => 'Verificar titulares',
+ 'choices' => [
+ 'COINCIDE' => true,
+ 'NO COINCIDE' => false,
+ '' => null,
+ ],
+ ])
+ ->add('vencido', Choicetype::class, [
+ 'label' => 'Indicar si está vencido',
+ 'choices' => [
+ 'Si' => true,
+ 'No' => false,
+ '' => null,
+ ],
+ ])
+ ->add('verObjSoc', Choicetype::class, [
+ 'label' => 'Verificar objeto de la sociedad',
+ 'choices' => [
+ 'COINCIDE' => true,
+ 'NO COINCIDE' => false,
+ '' => null,
+ ],
+ ])
+ ;
+ }
+
+ public function configureOptions(OptionsResolver $resolver)
+ {
+ $resolver->setDefaults([
+ 'data_class' => DomicilioLegal::class,
+ ]);
+ }
+
+}
\ No newline at end of file
diff --git a/src/AppBundle/Form/FormularioA/AfipType.php b/src/AppBundle/Form/FormularioA/AfipType.php
new file mode 100644
index 0000000..33449b1
--- /dev/null
+++ b/src/AppBundle/Form/FormularioA/AfipType.php
@@ -0,0 +1,73 @@
+add('constancia', Choicetype::class, [
+ 'choices' => [
+ 'Si' => true,
+ 'No' => false,
+ '' => null,
+ ],
+ 'label' => 'Presenta constancia de AFIP'
+ ])
+ ->add('fojaN', TextType::class,['label' => 'Foja N°'])
+ ->add('verFechIni', Choicetype::class, [
+ 'label' => 'Verificar fecha de inicio',
+ 'choices' => [
+ 'COINCIDE' => true,
+ 'NO COINCIDE' => false,
+ '' => null,
+ ],
+ ])
+ ->add('verRazonSocial', Choicetype::class, [
+ 'label' => 'Verificar nombre de la razón social',
+ 'choices' => [
+ 'COINCIDE' => true,
+ 'NO COINCIDE' => false,
+ '' => null,
+ ],
+ ])
+ ->add('verCUIT', Choicetype::class, [
+ 'label' => 'Verificar N° de CUIT',
+ 'choices' => [
+ 'COINCIDE' => true,
+ 'NO COINCIDE' => false,
+ '' => null,
+ ],
+ ])
+ ->add('verAct', Choicetype::class, [
+ 'label' => 'Verificar actividades',
+ 'choices' => [
+ 'COINCIDE' => true,
+ 'NO COINCIDE' => false,
+ '' => null,
+ ],
+ ])
+ ;
+ }
+
+ public function configureOptions(OptionsResolver $resolver)
+ {
+ $resolver->setDefaults([
+ 'data_class' => DomicilioLegal::class,
+ ]);
+ }
+
+}
\ No newline at end of file
diff --git a/src/AppBundle/Form/FormularioA/ContratoSocialType.php b/src/AppBundle/Form/FormularioA/ContratoSocialType.php
new file mode 100644
index 0000000..2447174
--- /dev/null
+++ b/src/AppBundle/Form/FormularioA/ContratoSocialType.php
@@ -0,0 +1,73 @@
+add('fojaN', TextType::class, ['label' => 'Foja N°: '])
+ ->add('poseeContrato', Choicetype::class, [
+ 'choices' => [
+ 'Si' => true,
+ 'No' => false,
+ 'SOCIEDAD DE HECHO' => null,
+ ],
+ 'label' => 'Indicar si tiene contrato social'
+ ])
+ ->add('unipersonal', Choicetype::class, [
+ 'label' => 'Verificar que sea unipersonal ',
+ 'choices' => [
+ 'Si' => true,
+ 'No' => false,
+ '' => null,
+ ],
+ ])
+ ->add('titulares', Choicetype::class, [
+ 'label' => 'Verificar titulares',
+ 'choices' => [
+ 'COINCIDE' => true,
+ 'NO COINCIDE' => false,
+ '' => null,
+ ],
+ ])
+ ->add('vencido', Choicetype::class, [
+ 'label' => 'Indicar si está vencido',
+ 'choices' => [
+ 'Si' => true,
+ 'No' => false,
+ '' => null,
+ ],
+ ])
+ ->add('verObjSoc', Choicetype::class, [
+ 'label' => 'Verificar objeto de la sociedad',
+ 'choices' => [
+ 'COINCIDE' => true,
+ 'NO COINCIDE' => false,
+ '' => null,
+ ],
+ ])
+ ;
+ }
+
+ public function configureOptions(OptionsResolver $resolver)
+ {
+ $resolver->setDefaults([
+ 'data_class' => DomicilioLegal::class,
+ ]);
+ }
+
+}
\ No newline at end of file
diff --git a/src/AppBundle/Form/FormularioA/DNIType.php b/src/AppBundle/Form/FormularioA/DNIType.php
new file mode 100644
index 0000000..9f3ef26
--- /dev/null
+++ b/src/AppBundle/Form/FormularioA/DNIType.php
@@ -0,0 +1,64 @@
+add('dni', Choicetype::class, [
+ 'choices' => [
+ 'Si' => true,
+ 'No' => false,
+ '' => null,
+ ],
+ 'label' => 'Presenta DNI titulares y/o socios'
+ ])
+ ->add('verDni', Choicetype::class, [
+ 'label' => 'Verificar DNI titulares y/o socios',
+ 'choices' => [
+ 'COINCIDE' => true,
+ 'NO COINCIDE' => false,
+ '' => null,
+ ],
+ ])
+ ->add('apoderado', Choicetype::class, [
+ 'label' => 'Indicar si tiene apoderado/s',
+ 'choices' => [
+ 'Si' => true,
+ 'No' => false,
+ '' => null,
+ ],
+ ])
+ ->add('verApoderado', Choicetype::class, [
+ 'label' => 'Verificar documentación apoderado/s',
+ 'choices' => [
+ 'COINCIDE' => true,
+ 'NO COINCIDE' => false,
+ '' => null,
+ ],
+ ])
+ ;
+ }
+
+ public function configureOptions(OptionsResolver $resolver)
+ {
+ $resolver->setDefaults([
+ 'data_class' => DomicilioLegal::class,
+ ]);
+ }
+
+}
\ No newline at end of file
diff --git a/src/AppBundle/Form/FormularioA/DomicilioLegalType.php b/src/AppBundle/Form/FormularioA/DomicilioLegalType.php
new file mode 100644
index 0000000..b5bd616
--- /dev/null
+++ b/src/AppBundle/Form/FormularioA/DomicilioLegalType.php
@@ -0,0 +1,46 @@
+add('calle', TextType::class, ['label' => 'Calle: '])
+ ->add('provincia', TextType::class, ['label' => 'Provincia: '])
+ ->add('departamento', TextType::class, ['label' => 'Departamento: '])
+ ->add('localidad', TextType::class, ['label' => 'Localidad: '])
+ ->add('cp', TextType::class, ['label' => 'Codigo Postal: '])
+ ->add('email', TextType::class, ['label' => 'Dirección email: '])
+ ->add('acepEmail', ChoiceType::class, [
+ 'choices' => [
+ '' => null,
+ 'Si' => true,
+ 'No' => false,
+ ],
+ 'label' => 'Acepta recibir correo legal en el email'
+ ])
+ ;
+ }
+
+ public function configureOptions(OptionsResolver $resolver)
+ {
+ $resolver->setDefaults([
+ 'data_class' => DomicilioLegal::class,
+ ]);
+ }
+
+}
\ No newline at end of file
diff --git a/src/AppBundle/Form/FormularioA/DomicilioRealType.php b/src/AppBundle/Form/FormularioA/DomicilioRealType.php
new file mode 100644
index 0000000..3d459d3
--- /dev/null
+++ b/src/AppBundle/Form/FormularioA/DomicilioRealType.php
@@ -0,0 +1,34 @@
+add('calle', TextType::class, ['label' => 'Calle: '])
+ ->add('localidad', TextType::class, ['label' => 'Localidad: '])
+ ;
+ }
+
+ public function configureOptions(OptionsResolver $resolver)
+ {
+ $resolver->setDefaults([
+ 'data_class' => DomicilioLegal::class,
+ ]);
+ }
+
+}
\ No newline at end of file
diff --git a/src/AppBundle/Form/FormularioA/FormularioAType.php b/src/AppBundle/Form/FormularioA/FormularioAType.php
new file mode 100644
index 0000000..e592ee0
--- /dev/null
+++ b/src/AppBundle/Form/FormularioA/FormularioAType.php
@@ -0,0 +1,43 @@
+add('domicilioLegal', DomicilioLegalType::class)
+ ->add('domicilioReal', DomicilioRealType::class)
+ ->add('contratoSocial', ContratoSocialType::class)
+ ->add('actaSocietaria', ActaSocietariaType::class)
+ ->add('dni', DNIType::class)
+ ->add('afip', AfipType::class)
+ ->add('api', APIType::class)
+ ->add('usoConformeSuelo', UsoConformeSueloType::class)
+ ->add('save', SubmitType::class, ['label' => 'Guardar'])
+ ;
+ }
+
+ public function configureOptions(OptionsResolver $resolver)
+ {
+ $resolver->setDefaults([
+ 'data_class' => FormularioA::class,
+ ]);
+ }
+
+}
\ No newline at end of file
diff --git a/src/AppBundle/Form/FormularioA/UsoConformeSueloType.php b/src/AppBundle/Form/FormularioA/UsoConformeSueloType.php
new file mode 100644
index 0000000..e731cf0
--- /dev/null
+++ b/src/AppBundle/Form/FormularioA/UsoConformeSueloType.php
@@ -0,0 +1,68 @@
+add('usoConformeSuelo2', Choicetype::class, [
+ 'choices' => [
+ 'Si' => true,
+ 'No' => false,
+ '' => null,
+ ],
+ 'label' => 'Uso conforme de suelo'
+ ])
+ ->add('fojaN', TextType::class,['label' => 'Foja N°'])
+ ->add('presentaHabilitacion', Choicetype::class, [
+ 'label' => 'Presenta habilitación municipal y/o comunal',
+ 'choices' => [
+ 'Si' => true,
+ 'No' => false,
+ '' => null,
+ ],
+ ])
+ ->add('fechaInicioHabilitacion', DateType::class, ['label' => 'Verificar Nº de partida'])
+ ->add('fechaVencimiento', DateType::class, ['label' => 'Verificar N° de partida con catastro'])
+ ->add('verActividad', Choicetype::class, [
+ 'label' => 'Verificar actividad',
+ 'choices' => [
+ 'COINCIDE' => true,
+ 'NO COINCIDE' => false,
+ '' => null,
+ ],
+ ])
+
+ ->add('verLocalizacion', Choicetype::class, [
+ 'label' => 'Verificar localización',
+ 'choices' => [
+ 'COINCIDE' => true,
+ 'NO COINCIDE' => false,
+ '' => null,
+ ],
+ ])
+ ;
+ }
+
+ public function configureOptions(OptionsResolver $resolver)
+ {
+ $resolver->setDefaults([
+ 'data_class' => UsoConformeSuelo::class,
+ ]);
+ }
+
+}
\ No newline at end of file
diff --git a/src/AppBundle/Form/FormularioB/CategoriaFinalType.php b/src/AppBundle/Form/FormularioB/CategoriaFinalType.php
new file mode 100644
index 0000000..768adf4
--- /dev/null
+++ b/src/AppBundle/Form/FormularioB/CategoriaFinalType.php
@@ -0,0 +1,33 @@
+add('categoriaAsignada', ChoiceType::class, ['label' => 'Categoría asignada: ',
+ 'choices' => [ '' => null,
+ '1' => '1',
+ '2' => '2',
+ '3' => '3',
+ ],])
+ ;
+ }
+
+ public function configureOptions(OptionsResolver $resolver)
+ {
+ $resolver->setDefaults([
+ 'data_class' => CategoriaFinal::class,
+ ]);
+ }
+
+}
\ No newline at end of file
diff --git a/src/AppBundle/Form/FormularioB/DotacionType.php b/src/AppBundle/Form/FormularioB/DotacionType.php
new file mode 100644
index 0000000..0c223a5
--- /dev/null
+++ b/src/AppBundle/Form/FormularioB/DotacionType.php
@@ -0,0 +1,49 @@
+add('dotacionDePersonal', ChoiceType::class, ['label' => 'Dotación de Personal:',
+ 'choices' => [ '' => null,
+ '<15' => '<15',
+ '16-50' => '16-50',
+ '51-150' => '51-150',
+ '151-500' => '151-500',
+ '>500' => '>500',
+ ],])
+ ->add('potenciaInstalada', ChoiceType::class, ['label' => 'Potencia instalada:',
+ 'choices' => [ '' => null,
+ '<25' => '<25',
+ '26-100' => '26-100',
+ '101-500' => '101-500',
+ '>500' => '>500',
+ ],])
+ ->add('superficieCubierta', ChoiceType::class, ['label' => 'Superficie cubierta/superficie total:',
+ 'choices' => [ '' => null,
+ '<0.20' => '<0.20',
+ '0.21-0.50' => '0.21-0.50',
+ '0.51-0.80' => '0.51-0.80',
+ '0.81-1.00' => '0.81-1.00',
+ ],])
+ ;
+ }
+
+ public function configureOptions(OptionsResolver $resolver)
+ {
+ $resolver->setDefaults([
+ 'data_class' => Dotacion::class,
+ ]);
+ }
+
+}
\ No newline at end of file
diff --git a/src/AppBundle/Form/FormularioB/EmisionDeResiduosType.php b/src/AppBundle/Form/FormularioB/EmisionDeResiduosType.php
new file mode 100644
index 0000000..5c1d549
--- /dev/null
+++ b/src/AppBundle/Form/FormularioB/EmisionDeResiduosType.php
@@ -0,0 +1,102 @@
+add('residuosSolidosSemisolidos', ChoiceType::class, ['label' => 'Residuos solidos y/o semisolidos:',
+ 'choices' => [ '' => null,
+ 'SI' => true,
+ 'NO' => false,
+ ],])
+ ->add('rsu', ChoiceType::class, ['label' => 'RSU:',
+ 'choices' => [ '' => null,
+ 'SI' => true,
+ 'NO' => false,
+ ],])
+ ->add('rnp', ChoiceType::class, ['label' => 'RNP:',
+ 'choices' => [ '' => null,
+ 'SI' => true,
+ 'NO' => false,
+ ],])
+ ->add('tipoDeResiduo', TextType::class, ['label' => 'Tipo de residuo:',
+ ])//ver de hacer choice con los códigos
+ ->add('rp', ChoiceType::class, ['label' => 'RP:',
+ 'choices' => [ '' => null,
+ 'SI' => true,
+ 'NO' => false,
+ ],])
+ ->add('definirCorrientesDeRP', TextType::class, ['label' => 'Definir corrientes de RP:',
+ ])//ver de hacer choice con los códigos
+ ->add('valorResiduo', NumberType::class, ['label' => 'Valor:',
+ ])
+ ->add('efluentesYResiduosLiquidos', ChoiceType::class, ['label' => 'Efluentes y/o residuos líquidos:',
+ 'choices' => [ '' => null,
+ 'SI' => true,
+ 'NO' => false,
+ ],])
+ ->add('aguaATemperaturaAmbiente', ChoiceType::class, ['label' => 'Agua a temperatura ambiente:',
+ 'choices' => [ '' => null,
+ 'SI' => true,
+ 'NO' => false,
+ ],])
+ ->add('efluentesSinRP', ChoiceType::class, ['label' => 'Efluentes sin RP:',
+ 'choices' => [ '' => null,
+ 'SI' => true,
+ 'NO' => false,
+ ],])
+ ->add('efluentesConRP', ChoiceType::class, ['label' => 'Efluentes con RP:',
+ 'choices' => [ '' => null,
+ 'SI' => true,
+ 'NO' => false,
+ ],])
+ ->add('valorEfluente', TextType::class, ['label' => 'Valor:',
+ ])
+ ->add('emisionesGaseosas', ChoiceType::class, ['label' => 'Emisiones gaseosas:',
+ 'choices' => [ '' => null,
+ 'SI' => true,
+ 'NO' => false,
+ ],])
+ ->add('componentesNaturalesDelAire', ChoiceType::class, ['label' => 'Componentes naturales del aire:',
+ 'choices' => [ '' => null,
+ 'SI' => true,
+ 'NO' => false,
+ ],])
+ ->add('combustionDeCombustiblesLiquidos', ChoiceType::class, ['label' => 'Combustión de combustibles líquidos:',
+ 'choices' => [ '' => null,
+ 'SI' => true,
+ 'NO' => false,
+ ],])
+ ->add('noContempladosBool', ChoiceType::class, ['label' => '¿No contemplados anteriormente?',
+ 'choices' => [ '' => null,
+ 'SI' => true,
+ 'NO' => false,
+ ],])
+ ->add('noContempladosListado', TextareaType::class, ['label' => 'Indique cuales:',
+ ])
+ ->add('valorEmisiones', NumberType::class, ['label' => 'Valor:',
+ ]);
+ }
+
+ public function configureOptions(OptionsResolver $resolver)
+ {
+ $resolver->setDefaults([
+ 'data_class' => EmisionDeResiduos::class,
+ ]);
+ }
+
+}
\ No newline at end of file
diff --git a/src/AppBundle/Form/FormularioB/FormularioBType.php b/src/AppBundle/Form/FormularioB/FormularioBType.php
new file mode 100644
index 0000000..3d4977d
--- /dev/null
+++ b/src/AppBundle/Form/FormularioB/FormularioBType.php
@@ -0,0 +1,54 @@
+add('estadoSoporteDigital', ChoiceType::class, ['label' => 'Estado de soporte digital:',
+ 'choices' => [ '' => null,
+ 'COMPLETO' => 'COMPLETO',
+ 'INCOMPLETO' => 'INCOMPLETO',
+ 'EN BLANCO' => 'EN BLANCO',
+ 'NO PRESENTA' => 'NO PRESENTA',
+ ],])
+ ->add('observacionSoporteDigital', TextareaType::class)
+ ->add('ingresarCodigoExcel', ChoiceType::class, ['label' => 'Ingresar código en excel:',
+ 'choices' => [ '' => null,
+ 'HECHO' => 'HECHO',
+ 'NO HECHO' => 'NO HECHO',
+ ],])
+ ->add('emisionDeResiduos', EmisionDeResiduosType::class)
+ ->add('riesgos', RiesgosType::class)
+ ->add('dotacion', DotacionType::class)
+ ->add('localizacion', LocalizacionType::class)
+ ->add('categoriaFinal', CategoriaFinalType::class)
+ ->add('save', SubmitType::class, ['label' => 'Guardar'])
+
+ ;
+ }
+
+ public function configureOptions(OptionsResolver $resolver)
+ {
+ $resolver->setDefaults([
+ 'data_class' => FormularioB::class,
+ ]);
+ }
+
+}
\ No newline at end of file
diff --git a/src/AppBundle/Form/FormularioB/LocalizacionType.php b/src/AppBundle/Form/FormularioB/LocalizacionType.php
new file mode 100644
index 0000000..0a716ef
--- /dev/null
+++ b/src/AppBundle/Form/FormularioB/LocalizacionType.php
@@ -0,0 +1,54 @@
+add('zonificacion', ChoiceType::class, ['label' => 'Zonificación:',
+ 'choices' => [ '' => null,
+ 'Parque industrial' => 'Parque industrial',
+ 'Industrial y rural' => 'Industrial y rural',
+ 'Otros' => 'Otros',
+ 'Urbana' => 'Urbana',
+ ],])
+ ->add('aguaDeRed', ChoiceType::class, ['label' => 'Agua de red:',
+ 'choices' => [ '' => null,
+ 'SI' => true,
+ 'NO' => false,
+ ],])
+ ->add('redCloacal', ChoiceType::class, ['label' => 'Red cloacal:',
+ 'choices' => [ '' => null,
+ 'SI' => true,
+ 'NO' => false,
+ ],])
+ ->add('energiaElectrica', ChoiceType::class, ['label' => 'Energía electríca:',
+ 'choices' => [ '' => null,
+ 'SI' => true,
+ 'NO' => false,
+ ],])
+ ->add('gas', ChoiceType::class, ['label' => 'Gas:',
+ 'choices' => [ '' => null,
+ 'SI' => true,
+ 'NO' => false,
+ ],
+ ]);
+ }
+
+ public function configureOptions(OptionsResolver $resolver)
+ {
+ $resolver->setDefaults([
+ 'data_class' => Localizacion::class,
+ ]);
+ }
+
+}
\ No newline at end of file
diff --git a/src/AppBundle/Form/FormularioB/RiesgosType.php b/src/AppBundle/Form/FormularioB/RiesgosType.php
new file mode 100644
index 0000000..6b68796
--- /dev/null
+++ b/src/AppBundle/Form/FormularioB/RiesgosType.php
@@ -0,0 +1,65 @@
+add('riesgosPresuntos', ChoiceType::class, ['label' => 'Riesgos presuntos:',
+ 'choices' => [ '' => null,
+ 'SI' => true,
+ 'NO' => false,
+ ],])
+ ->add('acustico', ChoiceType::class, ['label' => 'Acústico:',
+ 'choices' => [ '' => null,
+ 'SI' => true,
+ 'NO' => false,
+ ],])
+ ->add('aparatosSometidosAPresion', ChoiceType::class, ['label' => 'Aparatos sometidos a presión:',
+ 'choices' => [ '' => null,
+ 'SI' => true,
+ 'NO' => false,
+ ],])
+ ->add('sustanciasQuimicas', ChoiceType::class, ['label' => 'Sustancias químicas:',
+ 'choices' => [ '' => null,
+ 'SI' => true,
+ 'NO' => false,
+ ],])
+ ->add('explosion', ChoiceType::class, ['label' => 'Explosión:',
+ 'choices' => [ '' => null,
+ 'SI' => true,
+ 'NO' => false,
+ ],])
+ ->add('incendio', ChoiceType::class, ['label' => 'Incendio:',
+ 'choices' => [ '' => null,
+ 'SI' => true,
+ 'NO' => false,
+ ],])
+ ->add('otrosBool', ChoiceType::class, ['label' => 'Otros:',
+ 'choices' => [ '' => null,
+ 'SI' => true,
+ 'NO' => false,
+ ],])
+ ->add('otrosListado', TextType::class, ['label' => 'Indicar cuales:',
+ ]);
+ }
+
+ public function configureOptions(OptionsResolver $resolver)
+ {
+ $resolver->setDefaults([
+ 'data_class' => Riesgos::class,
+ ]);
+ }
+
+}
\ No newline at end of file
diff --git a/src/AppBundle/Form/PlantillaType.php b/src/AppBundle/Form/PlantillaType.php
index 5fa340e..90713f4 100644
--- a/src/AppBundle/Form/PlantillaType.php
+++ b/src/AppBundle/Form/PlantillaType.php
@@ -2,31 +2,26 @@
namespace AppBundle\Form;
use Symfony\Component\Form\AbstractType;
-use Symfony\Component\Form\Extension\Core\Type\SubmitType;
use Symfony\Component\Form\FormBuilderInterface;
-use AppBundle\Form\SeccionType;
+use Symfony\Component\Form\Extension\Core\Type\SubmitType;
+use AppBundle\Form\FormularioB\FormularioBType;
+use AppBundle\Form\FormularioA\FormularioAType;
use AppBundle\Entity\Plantilla;
-use AppBundle\Entity\Seccion;
use Symfony\Component\OptionsResolver\OptionsResolver;
-//use Symfony\Component\Form\Extension\Core\Type\DateType;
-use Symfony\Component\Form\Extension\Core\Type\TextType;
-use Symfony\Component\Form\Extension\Core\Type\CollectionType;
-//use Symfony\Component\Form\Extension\Core\Type\TextareaType;
-//use Symfony\Component\Form\Extension\Core\Type\IntegerType;
-//use Symfony\Component\Form\Extension\Core\Type\EmailType;
+
class PlantillaType extends AbstractType
{
public function buildForm(FormBuilderInterface $builder, array $options)
{
$builder
- //->add('nombre', TextType::class, ['label' => 'Nombre del checklist: '])
- ->add('secciones',CollectionType::class, [
- 'entry_type' => SeccionType::class,
- 'entry_options' => ['label' => 'Secciones: '],
- ])
+ ->add('caratula', CaratulaType::class)
+ ->add('subRutina', SubRutinaType::class)
+ ->add('estandar', EstandarType::class)
+ ->add('save', SubmitType::class, ['label' => 'Guardar'])
+ // ->add('formularioA', FormularioAType::class)
+ // ->add('formularioB', FormularioBType::class)
;
-
}
public function configureOptions(OptionsResolver $resolver)
diff --git a/src/AppBundle/Form/SeccionType.php b/src/AppBundle/Form/SeccionType.php
deleted file mode 100644
index 2407d68..0000000
--- a/src/AppBundle/Form/SeccionType.php
+++ /dev/null
@@ -1,48 +0,0 @@
-add('nombre', TextType::class, ['label' => 'Nombre de sección: '])
- ->add('tareas',CollectionType::class, [
- 'entry_type' => TareaType::class,
- 'entry_options' => ['label' => 'tareas: '],
- ])
- ;
- }
-
- public function configureOptions(OptionsResolver $resolver)
- {
- $resolver->setDefaults([
- 'data_class' => Seccion::class,
- ]);
- }
-
- public function tareas() : array
- {
- $items = array();
-
- //ver como agregar los elementos recuperados de la base de datos
-
- return $items;
- }
-
-}
\ No newline at end of file
diff --git a/src/AppBundle/Form/SubRutinaType.php b/src/AppBundle/Form/SubRutinaType.php
new file mode 100644
index 0000000..7fc4f95
--- /dev/null
+++ b/src/AppBundle/Form/SubRutinaType.php
@@ -0,0 +1,72 @@
+add('investigar', Choicetype::class, [
+ 'choices' => [
+ 'NO HECHO' => 'NO HECHO',
+ 'HECHO' => 'HECHO',
+ '' => null,
+ ],
+ 'label' => 'Inverstigar empresa:'
+ ])
+ ->add('existe', Choicetype::class, [
+ 'label' => 'Indicar si la empresa existe:',
+ 'choices' => [
+ 'Si' => 'Si',
+ 'No' => 'No',
+ '' => null,
+ ],
+ ])
+ ->add('estaEnPlazos', Choicetype::class, [
+ 'label' => 'Indicar si respondió en plazo:',
+ 'choices' => [
+ 'Si' => 'Si',
+ 'No' => 'No',
+ '' => null,
+ ],
+ ])
+ ->add('relocalizo', Choicetype::class, [
+ 'label' => 'Indicar si se relocalizó:',
+ 'choices' => [
+ 'Si' => 'Si',
+ 'No' => 'No',
+ '' => null,
+ ],
+ ])
+ ->add('desestima', Choicetype::class, [
+ 'label' => 'Se desestima por otros motivos:',
+ 'choices' => [
+ 'Si' => 'Si',
+ 'No' => 'No',
+ '' => null,
+ ],
+ ])
+ ;
+ }
+
+ public function configureOptions(OptionsResolver $resolver)
+ {
+ $resolver->setDefaults([
+ 'data_class' => SubRutina::class,
+ ]);
+ }
+
+}
\ No newline at end of file
diff --git a/src/AppBundle/Form/TareaType.php b/src/AppBundle/Form/UsuarioType.php
similarity index 61%
rename from src/AppBundle/Form/TareaType.php
rename to src/AppBundle/Form/UsuarioType.php
index c179d0e..70c4b0d 100644
--- a/src/AppBundle/Form/TareaType.php
+++ b/src/AppBundle/Form/UsuarioType.php
@@ -1,30 +1,29 @@
-add('nombre', TextType::class, ['label' => 'Nombre de la tarea: '])
-
- ;
- }
-
- public function configureOptions(OptionsResolver $resolver)
- {
- $resolver->setDefaults([
- 'data_class' => Tarea::class,
- ]);
- }
-
+add('nombre', TextType::class,['label' => 'USUARIO (CUIL | EMAIL | IUP):'])
+ ->add('password', TextType::class,['label' => 'CONTRASEÑA:'])
+ ;
+ }
+
+ public function configureOptions(OptionsResolver $resolver)
+ {
+ $resolver->setDefaults([
+ 'data_class' => Usuario::class,
+ ]);
+ }
+
}
\ No newline at end of file
diff --git a/src/AppBundle/Repository/TareaRepository.php b/src/AppBundle/Repository/CaratulaRepository.php
similarity index 64%
rename from src/AppBundle/Repository/TareaRepository.php
rename to src/AppBundle/Repository/CaratulaRepository.php
index d100fc1..d34a504 100644
--- a/src/AppBundle/Repository/TareaRepository.php
+++ b/src/AppBundle/Repository/CaratulaRepository.php
@@ -3,11 +3,11 @@
namespace AppBundle\Repository;
/**
- * TareaRepository
+ * CaratulaRepository
*
* This class was generated by the Doctrine ORM. Add your own custom
* repository methods below.
*/
-class TareaRepository extends \Doctrine\ORM\EntityRepository
+class CaratulaRepository extends \Doctrine\ORM\EntityRepository
{
}
diff --git a/src/AppBundle/Repository/EstandarRepository.php b/src/AppBundle/Repository/EstandarRepository.php
new file mode 100644
index 0000000..5c68498
--- /dev/null
+++ b/src/AppBundle/Repository/EstandarRepository.php
@@ -0,0 +1,13 @@
+input,
+ .form-label-group>label {
+ padding: var(--input-padding-y) var(--input-padding-x);
+ }
+
+ .form-label-group>label {
+ position: absolute;
+ top: 0;
+ left: 0;
+ display: block;
+ width: 100%;
+ margin-bottom: 0;
+ /* Override default `