-
- {row.original.reference}
-
+ {/* The profile reference (EX-A00001). Minted only when a reviewer
+ approves the role, so an unapproved one has none — say so
+ rather than rendering an empty line that reads as a bug. */}
+ {row.original.reference ? (
+
+ {row.original.reference}
+
+ ) : (
+
+ Ref. issued on approval
+
+ )}
),
},
+ {
+ id: "etradeBusiness",
+ header: "eTrade business",
+ cell: ({ row }) => {
+ const business = row.original.etradeBusiness;
+ // Not attached is a review finding, not a blank: the role names no
+ // business, so there is nothing to check the uploaded licence
+ // against. Companies with no eTrade record legitimately show this,
+ // which is why it reads as a warning rather than an error.
+ if (!business) {
+ return (
+