From b0b9672f11e450105a3a0f00bba72950082dd3a4 Mon Sep 17 00:00:00 2001 From: Alexeer Date: Tue, 10 Jun 2025 12:45:59 -0600 Subject: [PATCH] Validaciones - Alta de: Proveedores, Transportistas, Transportes y Choferes --- app/controllers/agentes.php | 1 - app/controllers/choferes.php | 3 +- app/controllers/expediente.php | 10 +- app/controllers/proveedores.php | 3 +- app/controllers/registro.php | 9 +- app/controllers/solicitud_importacion.php | 4 +- app/controllers/transportes.php | 3 +- app/controllers/transportistas.php | 13 +- views/choferes/crear.php | 95 ++++++++- views/choferes/editar.php | 94 ++++++++- views/proveedores/crear.php | 153 +++++++++++++- views/solicitud_importacion/crear.php | 4 +- views/solicitud_importacion/editar.php | 10 +- views/transportes/crear.php | 13 +- views/transportes/editar.php | 20 +- views/transportistas/alta.php | 220 ++++++++++++++++----- views/transportistas/editar.php | 231 +++++++++++++++++++--- 17 files changed, 757 insertions(+), 129 deletions(-) diff --git a/app/controllers/agentes.php b/app/controllers/agentes.php index 616ea52..c43d6b7 100644 --- a/app/controllers/agentes.php +++ b/app/controllers/agentes.php @@ -1,5 +1,4 @@ © {$datos['anioActual']} SIIH · Desarrollado por AduanaSoft
- Sistema Integral de Importación y Herramientas + Sistema Integral para Importadores de Hidrocarburos "; diff --git a/app/controllers/transportes.php b/app/controllers/transportes.php index 13c919f..9cb7167 100644 --- a/app/controllers/transportes.php +++ b/app/controllers/transportes.php @@ -1,6 +1,7 @@ ➕ Nuevo Chofer
-
+
+
- +
@@ -91,6 +91,95 @@
+ + \ No newline at end of file diff --git a/views/choferes/editar.php b/views/choferes/editar.php index 05fa46e..cc4184c 100644 --- a/views/choferes/editar.php +++ b/views/choferes/editar.php @@ -35,7 +35,7 @@

✏️ Editar Chofer #

-
+ @@ -72,14 +72,14 @@
-
-
@@ -128,6 +128,94 @@
+ + \ No newline at end of file diff --git a/views/proveedores/crear.php b/views/proveedores/crear.php index 8c83c21..dc5276a 100644 --- a/views/proveedores/crear.php +++ b/views/proveedores/crear.php @@ -44,11 +44,11 @@

➕ Registro de Proveedor

-
+
- +
@@ -56,7 +56,7 @@
- +
@@ -64,7 +64,7 @@
- +
@@ -84,7 +84,7 @@
- +
@@ -98,5 +98,148 @@ + + \ No newline at end of file diff --git a/views/solicitud_importacion/crear.php b/views/solicitud_importacion/crear.php index 06a339e..b92d2fc 100644 --- a/views/solicitud_importacion/crear.php +++ b/views/solicitud_importacion/crear.php @@ -98,7 +98,7 @@
- +
@@ -244,7 +244,7 @@ shouldSort: false }); // seleccionar valor actual - const current = ''; + const current = ""; if (current) { proveedorChoices.setChoiceByValue(current); } diff --git a/views/solicitud_importacion/editar.php b/views/solicitud_importacion/editar.php index 454f88b..d9adbc2 100644 --- a/views/solicitud_importacion/editar.php +++ b/views/solicitud_importacion/editar.php @@ -107,7 +107,7 @@
-
@@ -173,8 +173,8 @@ $p): ?> - - + + - - + +
- +
@@ -82,28 +82,36 @@ diff --git a/views/transportistas/alta.php b/views/transportistas/alta.php index 6f2933e..4a109bf 100644 --- a/views/transportistas/alta.php +++ b/views/transportistas/alta.php @@ -33,32 +33,32 @@
- +
- +
- +
- +
- +
- +
@@ -75,7 +75,7 @@
-
@@ -89,7 +89,7 @@
- +
@@ -102,79 +102,201 @@ diff --git a/views/transportistas/editar.php b/views/transportistas/editar.php index b62e953..b65ec91 100644 --- a/views/transportistas/editar.php +++ b/views/transportistas/editar.php @@ -8,6 +8,8 @@ + +