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 } );