From fed05de5bf018e03025eaffb8bb262ce22b5e834 Mon Sep 17 00:00:00 2001 From: imnavajas Date: Sat, 30 Dec 2023 00:37:38 +0100 Subject: [PATCH] =?UTF-8?q?A=C3=B1adido=20a=20eventos=20la=20visualizacion?= =?UTF-8?q?=20de=20pesta=C3=B1as?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ci4/.env | 4 +- .../_lineasPresupuestoItems.php | 21 ++++++- .../cosidotapablanda/_previewItems.php | 12 ++-- .../presupuestos/cosidotapablanda/previews.js | 63 ++++++++++++------- 4 files changed, 70 insertions(+), 30 deletions(-) diff --git a/ci4/.env b/ci4/.env index 7541e4d4..c6225611 100755 --- a/ci4/.env +++ b/ci4/.env @@ -22,8 +22,8 @@ CI_ENVIRONMENT = development # APP #-------------------------------------------------------------------- -app.baseURL = 'https://sk-jjo.imnavajas.es' -# app.baseURL = 'https://sk-imn.imnavajas.es' +# app.baseURL = 'https://sk-jjo.imnavajas.es' +app.baseURL = 'https://sk-imn.imnavajas.es' # app.baseURL = "http://safekat.test/" # app.forceGlobalSecureRequests = false diff --git a/ci4/app/Views/themes/backend/vuexy/form/presupuestos/cosidotapablanda/_lineasPresupuestoItems.php b/ci4/app/Views/themes/backend/vuexy/form/presupuestos/cosidotapablanda/_lineasPresupuestoItems.php index b238560f..0cf6cf5a 100755 --- a/ci4/app/Views/themes/backend/vuexy/form/presupuestos/cosidotapablanda/_lineasPresupuestoItems.php +++ b/ci4/app/Views/themes/backend/vuexy/form/presupuestos/cosidotapablanda/_lineasPresupuestoItems.php @@ -1401,9 +1401,11 @@ function fill_lp_bn(row, fromComparator=false){ updateTotales() } - $('#lp_bn').css('display', '') $("#tableLineasPresupuesto").DataTable().columns.adjust(); + + getVisibleTabs(); // Update preview UI + } endSection() ?> @@ -1642,6 +1644,9 @@ function fill_lp_color(row, fromComparator=false){ $('#lp_color').css('display', '') $("#tableLineasPresupuesto").DataTable().columns.adjust(); + + getVisibleTabs(); // Update preview UI + } endSection() ?> @@ -1879,6 +1884,8 @@ function fill_lp_bnhq(row, fromComparator=false){ $('#lp_bnhq').css('display', '') $("#tableLineasPresupuesto").DataTable().columns.adjust(); + + getVisibleTabs(); // Update preview UI } endSection() ?> @@ -2118,6 +2125,9 @@ function fill_lp_colorhq(row, fromComparator=false){ $('#lp_colorhq').css('display', '') $("#tableLineasPresupuesto").DataTable().columns.adjust(); + + getVisibleTabs(); // Update preview UI + } endSection() ?> @@ -2465,6 +2475,9 @@ function fill_lp_rot_bn(row, fromComparador=false){ $('.lp_rot_bn').css('display', '') $("#tableLineasPresupuesto").DataTable().columns.adjust(); + + getVisibleTabs(); // Update preview UI + } endSection() ?> @@ -2822,6 +2835,9 @@ function fill_lp_rot_color(row, fromComparador=false){ $('.lp_rot_color').css('display', '') $("#tableLineasPresupuesto").DataTable().columns.adjust(); + + getVisibleTabs(); // Update preview UI + } endSection() ?> @@ -3102,6 +3118,9 @@ function fill_lp_cubierta(row, fromComparador=false){ $('.lp_cubierta').css('display', '') $("#tableLineasPresupuesto").DataTable().columns.adjust(); + + getVisibleTabs(); // Update preview UI + } diff --git a/ci4/app/Views/themes/backend/vuexy/form/presupuestos/cosidotapablanda/_previewItems.php b/ci4/app/Views/themes/backend/vuexy/form/presupuestos/cosidotapablanda/_previewItems.php index 9bcbc8c9..a7037198 100755 --- a/ci4/app/Views/themes/backend/vuexy/form/presupuestos/cosidotapablanda/_previewItems.php +++ b/ci4/app/Views/themes/backend/vuexy/form/presupuestos/cosidotapablanda/_previewItems.php @@ -16,7 +16,7 @@