Skip to content

Commit

Permalink
fix: changement des indicateurs nationaux pour les établissements tm-…
Browse files Browse the repository at this point in the history
…292 (#3285)
  • Loading branch information
rap2hpoutre authored Oct 13, 2023
1 parent ac56340 commit af86c16
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ export async function getIndicateursOrganismesNature(filters: OrganismesFilters)
{
fiabilisation_statut: "FIABLE",
ferme: false,
last_transmission_date: {
$gte: new Date(new Date().getFullYear(), 7, 1),
},
},
],
},
Expand Down
2 changes: 1 addition & 1 deletion server/tests/integration/http/organisme.routes.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ describe("Routes /organismes/:id", () => {

const infoTransmissionEffectifsAttributes = {
erps: ["YMAG"],
last_transmission_date: "2023-04-15T18:00:00.000Z",
last_transmission_date: "2023-08-15T18:00:00.000Z",
};

testPermissions<any>(
Expand Down
2 changes: 1 addition & 1 deletion server/tests/utils/permissions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export const commonOrganismeAttributes: Omit<{ [key in keyof Organisme]: Organis
created_at: new Date("2023-04-12T18:00:00.000Z"),
updated_at: new Date("2023-04-12T18:00:00.000Z"),
est_dans_le_referentiel: STATUT_PRESENCE_REFERENTIEL.PRESENT,
last_transmission_date: new Date("2023-04-15T18:00:00.000Z"),
last_transmission_date: new Date("2023-08-15T18:00:00.000Z"),
};

export const organismes: WithId<Organisme>[] = [
Expand Down
3 changes: 2 additions & 1 deletion ui/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ function SectionApercuChiffresCles() {
{formatNumber(indicateursNational?.indicateursOrganismes?.total)}
</Text>
<Text fontSize="zeta" fontWeight="700" lineHeight="1em" color="bluefrance">
organismes de formation en apprentissage
organismes de formation en apprentissage transmettent leurs données
<Tooltip
background="bluefrance"
color="white"
Expand All @@ -468,6 +468,7 @@ function SectionApercuChiffresCles() {
(base des Carif-Oref)&nbsp;;
</ListItem>
<ListItem>identifiés par un SIRET (ouvert) et un UAI valable&nbsp;;</ListItem>
<ListItem>ayant envoyé des données depuis le premier août&nbsp;;</ListItem>
</UnorderedList>
<Text as="p">
Ce nombre inclut&nbsp;: les OFA «&nbsp;historiques&nbsp;», les OFA académiques et
Expand Down

0 comments on commit af86c16

Please sign in to comment.