+ {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/index.ts b/bciers/libs/components/src/form/fields/index.ts
index e7955882a6..2945b5e4ae 100644
--- a/bciers/libs/components/src/form/fields/index.ts
+++ b/bciers/libs/components/src/form/fields/index.ts
@@ -1,5 +1,6 @@
export { default as ArrayFieldTemplate } from "./ArrayFieldTemplate";
export { default as InlineArrayFieldTemplate } from "./InlineArrayFieldTemplate";
+export { default as PlacesAssignedFieldTemplate } from "./PlacesAssignedFieldTemplate";
export { default as FieldTemplate } from "./FieldTemplate";
export { default as FieldTemplateWithSubmitButton } from "./FieldTemplateWithSubmitButton";