From de0b6478a51db81155f9a33b0c3b2487916c4a1d Mon Sep 17 00:00:00 2001 From: Marco Alderighi Date: Tue, 28 Nov 2023 10:00:03 +0100 Subject: [PATCH] flag automatico esenzione spese --- .../navigator/domanda/page_dettagli_principali.jsp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/navigator/domanda/page_dettagli_principali.jsp b/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/navigator/domanda/page_dettagli_principali.jsp index e54f5197..d2365502 100644 --- a/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/navigator/domanda/page_dettagli_principali.jsp +++ b/liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/fascicolofe/navigator/domanda/page_dettagli_principali.jsp @@ -950,6 +950,20 @@ $('#destinazioneinazione input').on('change', function(){ checkIfDisableInfrastrutture(); }); +$('#lavoriPubbliciCheckbox').on('change', function() { + var _this = $(this), + checked = _this.prop('checked'), + esenteBolloCkBx = $('#normEsenteBolloCheckbox'), + esenteBolloInput = $('#normEsenteBollo'), + esenteSpeseCkBx = $('#normEsenteSpeseCheckbox'), + esenteSpeseInput = $('#normEsenteSpese'); + + esenteBolloCkBx.prop("checked", checked); + esenteBolloInput.val(checked); + esenteSpeseCkBx.prop("checked", checked); + esenteSpeseInput.val(checked); +}); + $('#normDpr input[type=checkbox]').change(function() { var _this = $(this),