+ {items?.map((item) => {
+ // eslint-disable-next-line @typescript-eslint/naming-convention
+ const { role_name, operation_name, operation_id } =
+ item.children.props.formData;
+ if (!role_name || !operation_name || !operation_id) {
+ throw new Error(`Invalid places assigned data`);
+ }
+ return (
+
+ {role_name} -{" "}
+
+ {operation_name}
+
+
+ );
+ })}
+ {!formContext.userRole.includes("cas") && (
+
+ Note: You cannot delete this contact unless you replace them
+ with other contact(s) in the place(s) above.
+
+ )}
+
+ );
+};
+
+export default PlacesAssignedFieldTemplate;
diff --git a/bciers/libs/components/src/form/fields/SourceTypeBoxTemplate.tsx b/bciers/libs/components/src/form/fields/SourceTypeBoxTemplate.tsx
index 31e37b8416..f3ab95bb65 100644
--- a/bciers/libs/components/src/form/fields/SourceTypeBoxTemplate.tsx
+++ b/bciers/libs/components/src/form/fields/SourceTypeBoxTemplate.tsx
@@ -20,20 +20,21 @@ function SourceTypeBoxTemplate({
description,
errors,
children,
+ readonly,
}: FieldTemplateProps) {
const [expand, setExpand] = useState(true);
return (
- <>
-