diff --git a/front/app/(comprendre)/methodologie/page.tsx b/front/app/(comprendre)/methodologie/page.tsx index 4506c5567..ce884502b 100644 --- a/front/app/(comprendre)/methodologie/page.tsx +++ b/front/app/(comprendre)/methodologie/page.tsx @@ -136,7 +136,7 @@ export default function Page() {
L'indice de transparence des marchés publics est établi selon la conjonction de 3
facteurs principaux :
diff --git a/front/app/(visualiser)/interpeller/[siren]/step3/page.tsx b/front/app/(visualiser)/interpeller/[siren]/step3/page.tsx
index b509bbaf9..5f291279c 100644
--- a/front/app/(visualiser)/interpeller/[siren]/step3/page.tsx
+++ b/front/app/(visualiser)/interpeller/[siren]/step3/page.tsx
@@ -18,7 +18,7 @@ async function getCommunity(siren: string) {
export default async function InterpellateStep3({ params }: CommunityPageProps) {
const { siren } = await params;
const community = await getCommunity(siren);
- const { type, nom } = community;
+ const { formattedType, nom } = community;
const interpellateCommunityTemplateHtml = getEmailTemplate('interpellate-community');
return (
@@ -37,7 +37,7 @@ export default async function InterpellateStep3({ params }: CommunityPageProps)
- {label === 'Budget total' && unit === 'M€' ? (
+ {label === 'Budget total' ? (
<>
- Budget total (M€)
+ Budget total (en millions d’€)
{label}
>
) : (
diff --git a/front/app/community/[siren]/components/FicheHeader/FicheHeader.tsx b/front/app/community/[siren]/components/FicheHeader/FicheHeader.tsx
index b3dee6e9c..6f927ecb4 100644
--- a/front/app/community/[siren]/components/FicheHeader/FicheHeader.tsx
+++ b/front/app/community/[siren]/components/FicheHeader/FicheHeader.tsx
@@ -18,7 +18,7 @@ const descriptionText =
export function FicheHeader({ community, similarCommunityList }: FicheHeaderProps) {
const communityTitle = community.nom;
- const communityType = community.type;
+ const communityType = community.formattedType;
const location = community.code_postal ? `${community.code_postal}` : '';
const departementName = community.nom_departement;
diff --git a/front/app/community/[siren]/components/FicheMarchesPublics/Comparison.tsx b/front/app/community/[siren]/components/FicheMarchesPublics/Comparison.tsx
index 405fa5ed4..9ed4e4ec2 100644
--- a/front/app/community/[siren]/components/FicheMarchesPublics/Comparison.tsx
+++ b/front/app/community/[siren]/components/FicheMarchesPublics/Comparison.tsx
@@ -6,7 +6,7 @@ import type { CommunityType } from '#utils/types';
type ComparisonProps = {
siren: string;
- communityType?: CommunityType;
+ communityType: CommunityType;
};
export default function Comparison({ siren, communityType }: ComparisonProps) {
diff --git a/front/app/community/[siren]/components/FicheSubventions/Comparison.tsx b/front/app/community/[siren]/components/FicheSubventions/Comparison.tsx
index 755517641..343384c74 100644
--- a/front/app/community/[siren]/components/FicheSubventions/Comparison.tsx
+++ b/front/app/community/[siren]/components/FicheSubventions/Comparison.tsx
@@ -6,7 +6,7 @@ import type { CommunityType } from '#utils/types';
type ComparisonProps = {
siren: string;
- communityType?: CommunityType;
+ communityType: CommunityType;
};
export default function Comparison({ siren, communityType }: ComparisonProps) {
diff --git a/front/app/community/[siren]/page.tsx b/front/app/community/[siren]/page.tsx
index dda7d46d4..4fbe843f0 100644
--- a/front/app/community/[siren]/page.tsx
+++ b/front/app/community/[siren]/page.tsx
@@ -6,7 +6,6 @@ import { fetchCommunityBudgetTotal } from '#utils/fetchers/communities-accounts/
import { fetchCommunities } from '#utils/fetchers/communities/fetchCommunities-server';
import { fetchSimilarCommunityList } from '#utils/fetchers/communities/fetchSimilarCommunityList-server';
import { fetchMostRecentTransparencyScore } from '#utils/fetchers/communities/fetchTransparencyScore-server';
-import type { CommunityType } from '#utils/types';
import { TransparencyScore } from '@/components/TransparencyScore/constants';
import { FicheHeader } from './components/FicheHeader/FicheHeader';
@@ -66,12 +65,12 @@ export default async function CommunityPage({ params }: CommunityPageProps) {