From 4bfc679c3e3a3ea51e74569ce753f3227920d76a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20Jim=C3=A9nez?= Date: Tue, 24 Jun 2025 13:06:46 +0200 Subject: [PATCH] =?UTF-8?q?los=20acabados=20tienen=20que=20tener=20el=20ch?= =?UTF-8?q?eck=20de=20mostrar=20en=20cliente=20a=201.=20Adem=C3=A1s=20se?= =?UTF-8?q?=20ha=20corregido=20un=20error=20al=20editar=20este=20check=20d?= =?UTF-8?q?entro=20de=20los=20servicios=20de=20acabado?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Controllers/Tarifas/Acabados/ServiciosAcabado.php | 4 ++-- .../safekat/pages/presupuestoCliente/disenioCubierta.js | 9 ++++++--- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/ci4/app/Controllers/Tarifas/Acabados/ServiciosAcabado.php b/ci4/app/Controllers/Tarifas/Acabados/ServiciosAcabado.php index 9f22e809..340d9793 100755 --- a/ci4/app/Controllers/Tarifas/Acabados/ServiciosAcabado.php +++ b/ci4/app/Controllers/Tarifas/Acabados/ServiciosAcabado.php @@ -80,7 +80,7 @@ class ServiciosAcabado extends BaseResourceController $sanitizedData['user_updated_id'] = auth()->user()->id; if ($this->request->getPost('mostrar_en_presupuesto_cliente') == null) { - $sanitizedData['mostrar_en_presupuesto'] = false; + $sanitizedData['mostrar_en_presupuesto_cliente'] = false; } if ($this->request->getPost('acabado_cubierta') == null) { @@ -174,7 +174,7 @@ class ServiciosAcabado extends BaseResourceController $sanitizedData['user_updated_id'] = auth()->user()->id; if ($this->request->getPost('mostrar_en_presupuesto_cliente') == null) { - $sanitizedData['mostrar_en_presupuesto'] = false; + $sanitizedData['mostrar_en_presupuesto_cliente'] = false; } if ($this->request->getPost('acabado_cubierta') == null) { diff --git a/httpdocs/assets/js/safekat/pages/presupuestoCliente/disenioCubierta.js b/httpdocs/assets/js/safekat/pages/presupuestoCliente/disenioCubierta.js index 910026f5..63da86b8 100644 --- a/httpdocs/assets/js/safekat/pages/presupuestoCliente/disenioCubierta.js +++ b/httpdocs/assets/js/safekat/pages/presupuestoCliente/disenioCubierta.js @@ -213,7 +213,8 @@ class DisenioCubierta { false, { [this.csrf_token]: this.csrf_hash, - "cubierta": 1 + "cubierta": 1, + "cliente": 1 } ); @@ -223,7 +224,8 @@ class DisenioCubierta { false, { [this.csrf_token]: this.csrf_hash, - "sobrecubierta": 1 + "sobrecubierta": 1, + "cliente": 1 } ); @@ -233,7 +235,8 @@ class DisenioCubierta { false, { [this.csrf_token]: this.csrf_hash, - "sobrecubierta": 1 + "sobrecubierta": 1, + "cliente": 1 } );