Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tra-15844]Corriger l'affichage de la timeline dans les modales de signature PAOH #3971

Merged
merged 1 commit into from
Feb 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import * as React from "react";
import { Bspaoh } from "@td/codegen-ui";
import {
DsfrJourney,
DsfrJourneyStop,
DsfrJourneyStopName,
DsfrJourneyStopDescription
Journey,
JourneyStop,
JourneyStopName,
JourneyStopDescription
} from "../../../../../common/components";

interface BspaohJourneySummaryProps {
Expand All @@ -29,33 +29,33 @@ export function BspaohJourneySummary({
return null;
}
return (
<DsfrJourney>
<DsfrJourneyStop variant={steps[status][0]}>
<DsfrJourneyStopName>Producteur</DsfrJourneyStopName>
<DsfrJourneyStopDescription>
<Journey>
<JourneyStop variant={steps[status][0]}>
<JourneyStopName>Producteur</JourneyStopName>
<JourneyStopDescription>
{bspaoh.emitter?.company?.name} ({bspaoh.emitter?.company?.siret})
<br />
{bspaoh.emitter?.company?.address}
</DsfrJourneyStopDescription>
</DsfrJourneyStop>
<DsfrJourneyStop variant={steps[status][1]}>
<DsfrJourneyStopName>Transporteur</DsfrJourneyStopName>
<DsfrJourneyStopDescription>
</JourneyStopDescription>
</JourneyStop>
<JourneyStop variant={steps[status][1]}>
<JourneyStopName>Transporteur</JourneyStopName>
<JourneyStopDescription>
{bspaoh.transporter?.company?.name} (
{bspaoh.transporter?.company?.orgId})
<br />
{bspaoh.transporter?.company?.address}
</DsfrJourneyStopDescription>
</DsfrJourneyStop>
<DsfrJourneyStop variant={steps[status][2]}>
<DsfrJourneyStopName>Crématorium</DsfrJourneyStopName>
<DsfrJourneyStopDescription>
</JourneyStopDescription>
</JourneyStop>
<JourneyStop variant={steps[status][2]}>
<JourneyStopName>Crématorium</JourneyStopName>
<JourneyStopDescription>
{bspaoh.destination?.company?.name} (
{bspaoh.destination?.company?.siret})
<br />
{bspaoh.destination?.company?.address}
</DsfrJourneyStopDescription>
</DsfrJourneyStop>
</DsfrJourney>
</JourneyStopDescription>
</JourneyStop>
</Journey>
);
}
120 changes: 0 additions & 120 deletions front/src/Apps/common/Components/Journey/DsfrJourney.module.scss

This file was deleted.

52 changes: 0 additions & 52 deletions front/src/Apps/common/Components/Journey/DsfrJourney.tsx

This file was deleted.

1 change: 0 additions & 1 deletion front/src/common/components/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ export * from "./Slideshow";
export * from "./List";
export * from "./Table";
export * from "../../Apps/Dashboard/Components/Journey/Journey";
export * from "../../Apps/common/Components/Journey/DsfrJourney";
export * from "./DataList";
export * from "../../Apps/common/Components/DataList/DsfrDataList";
export * from "./TransportModeSelect";