From 06674324527da17b941b018f5d812362f292ed6a Mon Sep 17 00:00:00 2001 From: Simone Palacino Date: Fri, 3 May 2019 13:27:09 +0200 Subject: [PATCH] Patch level : 12.0 782 Files correlati : cg2102 Commento : Aggiunti controlli sul tipodoc per collegamento fppro --- src/cg/cg2102.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/cg/cg2102.cpp b/src/cg/cg2102.cpp index 6d78d8645..40b32e5e7 100755 --- a/src/cg/cg2102.cpp +++ b/src/cg/cg2102.cpp @@ -2266,6 +2266,11 @@ void TPrimanota_application::check_fppro_fields(TMask& m) m.hide(F_PROTFPPRO); m.disable(DLG_LINK); } + else if(m.get(F_TIPODOC) == "FA" && m.find_by_id(F_PROTFPPRO) != NULL && m.field(F_PROTFPPRO).hidden()) + { + m.show(F_PROTFPPRO); + m.enable(DLG_LINK); + } } // Handler of the F_CODCAUS field on the modify mask