feature/IO-3497-Ant-Design-v5-to-v6 - Signed off Files (Checkpoint)

This commit is contained in:
Dave
2026-01-12 12:06:47 -05:00
parent c119a66f27
commit dd3eda12ce
153 changed files with 4819 additions and 4524 deletions

View File

@@ -80,40 +80,46 @@ export function ScheduleCalendarWrapperComponent({
{HasFeatureAccess({ featureName: "smartscheduling", bodyshop }) &&
problemJobs &&
(problemJobs.length > 2 ? (
<Collapse style={{ marginBottom: "5px" }}>
<Collapse.Panel
key="1"
header={
<span style={{ color: "var(--error-header-text)" }}>{t("appointments.labels.severalerrorsfound")}</span>
}
>
<Space orientation="vertical" style={{ width: "100%" }}>
{problemJobs.map((problem) => (
<Alert
key={problem.id}
type="error"
message={
<Trans
i18nKey="appointments.labels.dataconsistency"
components={[<Link key={problem.id} to={`/manage/jobs/${problem.id}`} target="_blank" />]}
values={{
ro_number: problem.ro_number,
code: problem.code
}}
<Collapse
style={{ marginBottom: "5px" }}
items={[
{
key: "1",
label: (
<span style={{ color: "var(--error-header-text)" }}>
{t("appointments.labels.severalerrorsfound")}
</span>
),
children: (
<Space orientation="vertical" style={{ width: "100%" }}>
{problemJobs.map((problem) => (
<Alert
key={problem.id}
type="error"
title={
<Trans
i18nKey="appointments.labels.dataconsistency"
components={[<Link key={problem.id} to={`/manage/jobs/${problem.id}`} target="_blank" />]}
values={{
ro_number: problem.ro_number,
code: problem.code
}}
/>
}
/>
}
/>
))}
</Space>
</Collapse.Panel>
</Collapse>
))}
</Space>
)
}
]}
/>
) : (
<Space orientation="vertical" style={{ width: "100%", marginBottom: "5px" }}>
{problemJobs.map((problem) => (
<Alert
key={problem.id}
type="error"
message={
title={
<Trans
i18nKey="appointments.labels.dataconsistency"
components={[<Link key={problem.id} to={`/manage/jobs/${problem.id}`} target="_blank" />]}