From 2ec857f0f04493addbbf21da045b2eb4c285ba90 Mon Sep 17 00:00:00 2001 From: Nati Date: Thu, 20 Aug 2026 13:04:20 +0000 Subject: [PATCH] feat: add descriptions to document slots and application sections --- .../app/features/licensing/components/DocumentSlots.tsx | 5 +++++ .../features/licensing/pages/LicenseApplicationPage.tsx | 7 ++++++- .../licensing/pages/MyApplicationsPage/actions.tsx | 7 +++++-- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/apps/portal/src/app/features/licensing/components/DocumentSlots.tsx b/apps/portal/src/app/features/licensing/components/DocumentSlots.tsx index 4ef90cb06..b0fb505ed 100644 --- a/apps/portal/src/app/features/licensing/components/DocumentSlots.tsx +++ b/apps/portal/src/app/features/licensing/components/DocumentSlots.tsx @@ -144,6 +144,11 @@ export function DocumentSlots({ )} + {requirement.description && ( + + {localized(requirement.description)} + + )} {existing?.files?.[0] && ( {existing.files[0].originalName} ·{' '} diff --git a/apps/portal/src/app/features/licensing/pages/LicenseApplicationPage.tsx b/apps/portal/src/app/features/licensing/pages/LicenseApplicationPage.tsx index db8d10562..ede8e887a 100644 --- a/apps/portal/src/app/features/licensing/pages/LicenseApplicationPage.tsx +++ b/apps/portal/src/app/features/licensing/pages/LicenseApplicationPage.tsx @@ -727,9 +727,14 @@ export function LicenseApplicationPage() { return (
{index > 0 && } - + {localized(section.title)} + {section.description && ( + + {localized(section.description)} + + )} {locked && ( - {/* Both fee stops are bypassable — an examined certificate is + {/* Every fee stop is bypassable — an examined certificate charges + three separate fees (eligibility, exam, certificate) and is otherwise untestable without a live gateway. */} {deps.bypassEnabled && (app.status === 'PAYMENT_PENDING' || - app.status === 'EXAM_PAYMENT_PENDING') && ( + app.status === 'ELIGIBILITY_PAYMENT_PENDING' || + app.status === 'EXAM_PAYMENT_PENDING' || + app.status === 'EXAM_PASSED') && (