diff --git a/src/pages/SoccorsoAddInstructorManager/index.js b/src/pages/SoccorsoAddInstructorManager/index.js
index de52993..9458e5d 100644
--- a/src/pages/SoccorsoAddInstructorManager/index.js
+++ b/src/pages/SoccorsoAddInstructorManager/index.js
@@ -242,7 +242,7 @@ const SoccorsoAddInstructorManager = () => {
{
{
const [comms, setComms] = useState([]);
@@ -146,6 +146,26 @@ const SoccorsoComunications = ({amendmentId, soccorsoStatus}) => {
return userData.id === comm.senderUserId ? 'outgoing' : 'incoming';
};
+ const renderHeader = () => {
+ return (
+
+
+
+
+
+
+
+
+
+
+
+
+
+ );
+ };
+
+ const header = renderHeader();
+
return (
<>
@@ -196,7 +216,7 @@ const SoccorsoComunications = ({amendmentId, soccorsoStatus}) => {
onHide={hideNewComDialog}>
{
onChange={(e) => updateNewCommData(e.target.value, 'title')}/>
- updateNewCommData(e.target.value, 'comment')}/>
+ placeholder={__('Digita qui il messagio', 'gepafin')}
+ readOnly={soccorsoStatus === 'CLOSE'}
+ headerTemplate={header}
+ onTextChange={(e) => updateNewCommData(e.htmlValue, 'comment')}
+ style={{ height: 80 * 3, width: '100%' }}
+ />
{!['ROLE_CONFIDI', 'ROLE_BENEFICIARY'].includes(role)
?