diff --git a/src/pages/dashboardOverview/components/partyCard/components/PartyDetail.tsx b/src/pages/dashboardOverview/components/partyCard/components/PartyDetail.tsx index c10473ba..4ef7179d 100644 --- a/src/pages/dashboardOverview/components/partyCard/components/PartyDetail.tsx +++ b/src/pages/dashboardOverview/components/partyCard/components/PartyDetail.tsx @@ -322,6 +322,38 @@ export default function PartyDetail({ party }: Props) { ) : undefined} + {!isInstitutionTypePA && party.fiscalCode ? ( + <> + {/* fiscalCode */} + + + {isTaxCodeEquals2Piva + ? t('overview.partyDetail.isTaxCodeEquals2Piva') + : t('overview.partyDetail.fiscalCode')} + + + + = showTooltipAfter + ? party.fiscalCode + : '' + } + placement="top" + arrow={true} + > + + {party.fiscalCode} + + + + + ) : ( + <> + )} {/* vatNumberGroup */} {party.institutionType === 'PSP' && ( <> @@ -344,7 +376,7 @@ export default function PartyDetail({ party }: Props) { )} {/* fiscalCode */} - {isInstitutionTypePA && isTaxCodeEquals2Piva && party.fiscalCode && ( + {isInstitutionTypePA && party.fiscalCode && ( <>