diff --git a/ci4/app/Views/themes/backend/vuexy/form/notification/index.php b/ci4/app/Views/themes/backend/vuexy/form/notification/index.php index 56f6c11e..1afde407 100755 --- a/ci4/app/Views/themes/backend/vuexy/form/notification/index.php +++ b/ci4/app/Views/themes/backend/vuexy/form/notification/index.php @@ -139,7 +139,7 @@ cancelButtonText: "=lang("App.notification_delete_btn_cancel")?>", closeOnConfirm: !1 }).then(function(isConfirm) { - console.log(isConfirm); + if (isConfirm.value) { window.location.href = '=site_url("notification/delete/")?>'+id; } 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 2590a733..71accaef 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 @@ -2937,7 +2937,6 @@ function calcularPresupuesto_rot_color(fromComparador=false, updatedTipologias=f if(data.lineas.length >0){ // Se cogen los valores de la linea con los datos correspondientes $.each(data.lineas, function(key, value) { - console.log(value.fields.num_formas) fibra = $('#lp_rot_color_aFavorFibra').prop('checked') if(fromComparador){ if(value.fields.maquina_id === input_data.maquina_id && diff --git a/ci4/app/Views/themes/backend/vuexy/form/presupuestos/cosidotapablanda/viewCosidotapablandaForm.php b/ci4/app/Views/themes/backend/vuexy/form/presupuestos/cosidotapablanda/viewCosidotapablandaForm.php index 5e3ccee9..fd006643 100755 --- a/ci4/app/Views/themes/backend/vuexy/form/presupuestos/cosidotapablanda/viewCosidotapablandaForm.php +++ b/ci4/app/Views/themes/backend/vuexy/form/presupuestos/cosidotapablanda/viewCosidotapablandaForm.php @@ -135,7 +135,6 @@ } }); -console.log(originalValues) // Agregar un evento de cambio a cada campo de entrada formInputs.forEach(function(input) { @@ -170,6 +169,11 @@ console.log(originalValues) } } + $('#bc-save').on( "click", function() { + showBreadCrumbSaveButton(false); + $('#saveForm').click() + } ); + = $this->endSection() ?> @@ -194,7 +198,6 @@ console.log(originalValues) save_servicios(); save_datos_envios(); - $.when(fill_bbdd_from_lp(id).then(function(data, textStatus, jqXHR) { generateCompJSON() form = $('#presupuestoForm').serialize() @@ -208,8 +211,11 @@ console.log(originalValues) yeniden(data.= csrf_token() ?>) if('errorMensaje' in data) popErrorAlert(data.errorMensaje) - else + else{ + showBreadCrumbSaveButton(false) popSuccessAlert(data.mensaje) + } + } }).fail(function (jqXHR, textStatus, error) { // Handle error here diff --git a/ci4/app/Views/themes/backend/vuexy/main/breadcrumbs.php b/ci4/app/Views/themes/backend/vuexy/main/breadcrumbs.php index 8778a9c7..99fa8a46 100755 --- a/ci4/app/Views/themes/backend/vuexy/main/breadcrumbs.php +++ b/ci4/app/Views/themes/backend/vuexy/main/breadcrumbs.php @@ -26,7 +26,7 @@ -