From 81ff7843f4d8e258732ee581b6ed9a385605d754 Mon Sep 17 00:00:00 2001 From: Florian HENRY Date: Tue, 16 Feb 2021 18:57:25 +0100 Subject: [PATCH] fix: THIRDPARTY_SUGGEST_ALSO_ADDRESS_CREATION really change select entrprise type --- htdocs/societe/card.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/htdocs/societe/card.php b/htdocs/societe/card.php index 7c470d880ca..21f4f4e78fb 100644 --- a/htdocs/societe/card.php +++ b/htdocs/societe/card.php @@ -1099,14 +1099,18 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($action)) $("#radiocompany").click(function() { $(".individualline").hide(); $("#typent_id").val(0); + $("#typent_id").change(); $("#effectif_id").val(0); + $("#effectif_id").change(); $("#TypeName").html(document.formsoc.ThirdPartyName.value); document.formsoc.private.value=0; }); $("#radioprivate").click(function() { $(".individualline").show(); $("#typent_id").val(id_te_private); + $("#typent_id").change(); $("#effectif_id").val(id_ef15); + $("#effectif_id").change(); $("#TypeName").html(document.formsoc.LastName.value); document.formsoc.private.value=1; });