+
-
- {t("created_on")} {dayjs(consent.created_date).fromNow()}
-
-
- {t("modified_on")} {dayjs(consent.modified_date).fromNow()}
-
+
+
+
+ {t(`consent__purpose__${consent.purpose}`)}
+
+
+ {t(`consent__status__${consent.status}`, {
+ defaultValue: consent.status,
+ })}
+
+
+
+ {t("valid_till", {
+ date: dayjs(consent.expiry).format("MMM D, YYYY"),
+ })}
+
+
+ {t("consent_records_date_range", {
+ from: dayjs(consent.from_time).format("MMM D, YYYY"),
+ to: dayjs(consent.to_time).format("MMM D, YYYY"),
+ })}
+
+
+
+
+
+ {t("hi_types")}:
+
+
+ {consent.hi_types.map((hiType) => (
+
+ {t(`consent__hi_type__${hiType}`)}
+
+ ))}
+
+
+
+
+
+ {t("created_on")}:{" "}
+ {dayjs(consent.created_date).format("MMM DD, YYYY HH:mm")}
+
+
+ {t("modified_on")}:{" "}
+ {dayjs(consent.modified_date).format("MMM DD, YYYY HH:mm")}
+
+
+
+
+
+
+
+