diff --git a/application/CohortManager/src/Web/app/components/exceptionsTable.tsx b/application/CohortManager/src/Web/app/components/exceptionsTable.tsx index c0457567f..abfef05ee 100644 --- a/application/CohortManager/src/Web/app/components/exceptionsTable.tsx +++ b/application/CohortManager/src/Web/app/components/exceptionsTable.tsx @@ -5,11 +5,13 @@ import { formatNhsNumber, formatDate } from "@/app/lib/utils"; interface ExceptionsTableProps { readonly exceptions: readonly ExceptionDetails[]; readonly caption?: string; + readonly showServiceNowColumn?: boolean; } export default function ExceptionsTable({ exceptions, caption, + showServiceNowColumn = false, }: Readonly) { return ( + {showServiceNowColumn && ( + + )} @@ -86,6 +93,17 @@ export default function ExceptionsTable({ {exception.shortDescription} + {showServiceNowColumn && ( + + )}
- Local reference
Exception ID + Local reference
(exception ID)
NHS number @@ -35,6 +37,11 @@ export default function ExceptionsTable({ Short description + ServiceNow Case ID + Exception status + + {exception.serviceNowId} +