|
@@ -55,6 +55,11 @@ const procedureSummaryByAuthorizationCode = {
|
|
|
"99": "Autorisation variable selon la zone/pays de destination.",
|
|
"99": "Autorisation variable selon la zone/pays de destination.",
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|
|
+const noteServiceUpdateDate = "20260316";
|
|
|
|
|
+const noteServiceProcedureReference = `ANNEXE II à la circulaire n" l 1 400/ARM/SGA/DRH-MD/SR-RH/SDFM/FM5
|
|
|
|
|
+du 30 juillet 2024.
|
|
|
|
|
+Message n"5}l397lARM/CMlAIP du 13 mars2026`;
|
|
|
|
|
+
|
|
|
const defaultCountryColor = "#6b7280";
|
|
const defaultCountryColor = "#6b7280";
|
|
|
|
|
|
|
|
const forcedPolicyIsoByMatchedParentIso = {
|
|
const forcedPolicyIsoByMatchedParentIso = {
|
|
@@ -293,6 +298,13 @@ function summarizeProcedureText(rawText, categoryCode) {
|
|
|
return literalSummary ? `${fallbackSummary} ${literalSummary}` : fallbackSummary;
|
|
return literalSummary ? `${fallbackSummary} ${literalSummary}` : fallbackSummary;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+function isConcernedByMarch2026Note(policy) {
|
|
|
|
|
+ return (
|
|
|
|
|
+ String(policy?.beginDate || "") === noteServiceUpdateDate &&
|
|
|
|
|
+ String(policy?.updateDate || "") === noteServiceUpdateDate
|
|
|
|
|
+ );
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
function parseFlatTable(flatTable) {
|
|
function parseFlatTable(flatTable) {
|
|
|
if (!Array.isArray(flatTable) || flatTable.length < 2) {
|
|
if (!Array.isArray(flatTable) || flatTable.length < 2) {
|
|
|
return [];
|
|
return [];
|
|
@@ -678,6 +690,9 @@ function openModalForFeature(feature) {
|
|
|
category?.descriptionText || "",
|
|
category?.descriptionText || "",
|
|
|
policy.categoryCode
|
|
policy.categoryCode
|
|
|
);
|
|
);
|
|
|
|
|
+ const fullProcedureText = isConcernedByMarch2026Note(policy)
|
|
|
|
|
+ ? `${procedureText}\n\n${noteServiceProcedureReference}`
|
|
|
|
|
+ : procedureText;
|
|
|
|
|
|
|
|
setCountryDataHtml([
|
|
setCountryDataHtml([
|
|
|
["Pays (donnée source)", policy.countryNameFr || mapLabel],
|
|
["Pays (donnée source)", policy.countryNameFr || mapLabel],
|
|
@@ -685,7 +700,7 @@ function openModalForFeature(feature) {
|
|
|
["Début validité", formatDate(policy.beginDate)],
|
|
["Début validité", formatDate(policy.beginDate)],
|
|
|
["Fin validité", formatDate(policy.endDate)],
|
|
["Fin validité", formatDate(policy.endDate)],
|
|
|
["Dernière maj", formatDate(policy.updateDate)],
|
|
["Dernière maj", formatDate(policy.updateDate)],
|
|
|
- ["Procédure", procedureText || "Non renseignée"],
|
|
|
|
|
|
|
+ ["Procédure", fullProcedureText || "Non renseignée"],
|
|
|
]);
|
|
]);
|
|
|
}
|
|
}
|
|
|
|
|
|