- saving progress;
This commit is contained in:
@@ -1436,10 +1436,13 @@ const DomandaEditInstructorManager = () => {
|
|||||||
|
|
||||||
{data.evaluationVersion === 'V2'
|
{data.evaluationVersion === 'V2'
|
||||||
? <div className="appPageSection">
|
? <div className="appPageSection">
|
||||||
|
{APP_HUB_ID !== 't7jh5wfg9QXylNaTZkPoE'
|
||||||
|
? <>
|
||||||
<h3>{__('Contratto', 'gepafin')}</h3>
|
<h3>{__('Contratto', 'gepafin')}</h3>
|
||||||
{data.contract && data.contract?.beneficiaryDocuments && !isEmpty(data.contract?.beneficiaryDocuments)
|
{data.contract && data.contract?.beneficiaryDocuments && !isEmpty(data.contract?.beneficiaryDocuments)
|
||||||
? <ol className="appPageSection__list">
|
? <ol className="appPageSection__list">
|
||||||
{data.contract?.beneficiaryDocuments.map(o => <li key={o.id} className="appPageSection__listItem">
|
{data.contract?.beneficiaryDocuments.map(o => <li key={o.id}
|
||||||
|
className="appPageSection__listItem">
|
||||||
<div className="appPageSection__listItemRow">
|
<div className="appPageSection__listItemRow">
|
||||||
<div>{renderHtmlContent(o.name)}</div>
|
<div>{renderHtmlContent(o.name)}</div>
|
||||||
<div className="appPageSection__iconActions">
|
<div className="appPageSection__iconActions">
|
||||||
@@ -1459,7 +1462,10 @@ const DomandaEditInstructorManager = () => {
|
|||||||
const newDocuments = data.contract.beneficiaryDocuments
|
const newDocuments = data.contract.beneficiaryDocuments
|
||||||
.map(ob => {
|
.map(ob => {
|
||||||
return ob.id === o.id
|
return ob.id === o.id
|
||||||
? {...o, documentAttachmentId: attachId}
|
? {
|
||||||
|
...o,
|
||||||
|
documentAttachmentId: attachId
|
||||||
|
}
|
||||||
: o;
|
: o;
|
||||||
});
|
});
|
||||||
return {
|
return {
|
||||||
@@ -1478,6 +1484,7 @@ const DomandaEditInstructorManager = () => {
|
|||||||
</li>)}
|
</li>)}
|
||||||
</ol>
|
</ol>
|
||||||
: <p>{__('Nessun documento firmato', 'gepafin')}</p>}
|
: <p>{__('Nessun documento firmato', 'gepafin')}</p>}
|
||||||
|
</> : null}
|
||||||
<h2>{__('Domanda PDF firmato', 'gepafin')}</h2>
|
<h2>{__('Domanda PDF firmato', 'gepafin')}</h2>
|
||||||
{data.signedDocument && !isEmpty(data.signedDocument)
|
{data.signedDocument && !isEmpty(data.signedDocument)
|
||||||
? <ol className="appPageSection__list">
|
? <ol className="appPageSection__list">
|
||||||
@@ -1618,10 +1625,13 @@ const DomandaEditInstructorManager = () => {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
|
{APP_HUB_ID !== 't7jh5wfg9QXylNaTZkPoE'
|
||||||
|
? <>
|
||||||
<h3>{__('Contratto', 'gepafin')}</h3>
|
<h3>{__('Contratto', 'gepafin')}</h3>
|
||||||
{data.contract && data.contract?.beneficiaryDocuments && !isEmpty(data.contract?.beneficiaryDocuments)
|
{data.contract && data.contract?.beneficiaryDocuments && !isEmpty(data.contract?.beneficiaryDocuments)
|
||||||
? <ol className="appPageSection__list">
|
? <ol className="appPageSection__list">
|
||||||
{data.contract?.beneficiaryDocuments.map(o => <li key={o.id} className="appPageSection__listItem">
|
{data.contract?.beneficiaryDocuments.map(o => <li key={o.id}
|
||||||
|
className="appPageSection__listItem">
|
||||||
<div className="appPageSection__listItemRow">
|
<div className="appPageSection__listItemRow">
|
||||||
<div>{renderHtmlContent(o.name)}</div>
|
<div>{renderHtmlContent(o.name)}</div>
|
||||||
<div className="appPageSection__iconActions">
|
<div className="appPageSection__iconActions">
|
||||||
@@ -1641,7 +1651,10 @@ const DomandaEditInstructorManager = () => {
|
|||||||
const newDocuments = data.contract.beneficiaryDocuments
|
const newDocuments = data.contract.beneficiaryDocuments
|
||||||
.map(ob => {
|
.map(ob => {
|
||||||
return ob.id === o.id
|
return ob.id === o.id
|
||||||
? {...o, documentAttachmentId: attachId}
|
? {
|
||||||
|
...o,
|
||||||
|
documentAttachmentId: attachId
|
||||||
|
}
|
||||||
: o;
|
: o;
|
||||||
});
|
});
|
||||||
return {
|
return {
|
||||||
@@ -1660,6 +1673,7 @@ const DomandaEditInstructorManager = () => {
|
|||||||
</li>)}
|
</li>)}
|
||||||
</ol>
|
</ol>
|
||||||
: <p>{__('Nessun documento firmato', 'gepafin')}</p>}
|
: <p>{__('Nessun documento firmato', 'gepafin')}</p>}
|
||||||
|
</> : null}
|
||||||
<h3>{__('Domanda PDF firmato', 'gepafin')}</h3>
|
<h3>{__('Domanda PDF firmato', 'gepafin')}</h3>
|
||||||
{data.signedDocument && !isEmpty(data.signedDocument)
|
{data.signedDocument && !isEmpty(data.signedDocument)
|
||||||
? <ol className="appPageSection__list">
|
? <ol className="appPageSection__list">
|
||||||
|
|||||||
@@ -1436,10 +1436,13 @@ const DomandaEditPreInstructor = () => {
|
|||||||
|
|
||||||
{data.evaluationVersion === 'V2'
|
{data.evaluationVersion === 'V2'
|
||||||
? <div className="appPageSection">
|
? <div className="appPageSection">
|
||||||
|
{APP_HUB_ID !== 't7jh5wfg9QXylNaTZkPoE'
|
||||||
|
? <>
|
||||||
<h3>{__('Contratto', 'gepafin')}</h3>
|
<h3>{__('Contratto', 'gepafin')}</h3>
|
||||||
{data.contract && data.contract?.beneficiaryDocuments && !isEmpty(data.contract?.beneficiaryDocuments)
|
{data.contract && data.contract?.beneficiaryDocuments && !isEmpty(data.contract?.beneficiaryDocuments)
|
||||||
? <ol className="appPageSection__list">
|
? <ol className="appPageSection__list">
|
||||||
{data.contract?.beneficiaryDocuments.map(o => <li key={o.id} className="appPageSection__listItem">
|
{data.contract?.beneficiaryDocuments.map(o => <li key={o.id}
|
||||||
|
className="appPageSection__listItem">
|
||||||
<div className="appPageSection__listItemRow">
|
<div className="appPageSection__listItemRow">
|
||||||
<div>{renderHtmlContent(o.name)}</div>
|
<div>{renderHtmlContent(o.name)}</div>
|
||||||
<div className="appPageSection__iconActions">
|
<div className="appPageSection__iconActions">
|
||||||
@@ -1459,7 +1462,10 @@ const DomandaEditPreInstructor = () => {
|
|||||||
const newDocuments = data.contract.beneficiaryDocuments
|
const newDocuments = data.contract.beneficiaryDocuments
|
||||||
.map(ob => {
|
.map(ob => {
|
||||||
return ob.id === o.id
|
return ob.id === o.id
|
||||||
? {...o, documentAttachmentId: attachId}
|
? {
|
||||||
|
...o,
|
||||||
|
documentAttachmentId: attachId
|
||||||
|
}
|
||||||
: o;
|
: o;
|
||||||
});
|
});
|
||||||
return {
|
return {
|
||||||
@@ -1478,6 +1484,7 @@ const DomandaEditPreInstructor = () => {
|
|||||||
</li>)}
|
</li>)}
|
||||||
</ol>
|
</ol>
|
||||||
: <p>{__('Nessun documento firmato', 'gepafin')}</p>}
|
: <p>{__('Nessun documento firmato', 'gepafin')}</p>}
|
||||||
|
</> : null}
|
||||||
<h2>{__('Domanda PDF firmato', 'gepafin')}</h2>
|
<h2>{__('Domanda PDF firmato', 'gepafin')}</h2>
|
||||||
{data.signedDocument && !isEmpty(data.signedDocument)
|
{data.signedDocument && !isEmpty(data.signedDocument)
|
||||||
? <ol className="appPageSection__list">
|
? <ol className="appPageSection__list">
|
||||||
@@ -1618,10 +1625,13 @@ const DomandaEditPreInstructor = () => {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
|
{APP_HUB_ID !== 't7jh5wfg9QXylNaTZkPoE'
|
||||||
|
? <>
|
||||||
<h3>{__('Contratto', 'gepafin')}</h3>
|
<h3>{__('Contratto', 'gepafin')}</h3>
|
||||||
{data.contract && data.contract?.beneficiaryDocuments && !isEmpty(data.contract?.beneficiaryDocuments)
|
{data.contract && data.contract?.beneficiaryDocuments && !isEmpty(data.contract?.beneficiaryDocuments)
|
||||||
? <ol className="appPageSection__list">
|
? <ol className="appPageSection__list">
|
||||||
{data.contract?.beneficiaryDocuments.map(o => <li key={o.id} className="appPageSection__listItem">
|
{data.contract?.beneficiaryDocuments.map(o => <li key={o.id}
|
||||||
|
className="appPageSection__listItem">
|
||||||
<div className="appPageSection__listItemRow">
|
<div className="appPageSection__listItemRow">
|
||||||
<div>{renderHtmlContent(o.name)}</div>
|
<div>{renderHtmlContent(o.name)}</div>
|
||||||
<div className="appPageSection__iconActions">
|
<div className="appPageSection__iconActions">
|
||||||
@@ -1641,7 +1651,10 @@ const DomandaEditPreInstructor = () => {
|
|||||||
const newDocuments = data.contract.beneficiaryDocuments
|
const newDocuments = data.contract.beneficiaryDocuments
|
||||||
.map(ob => {
|
.map(ob => {
|
||||||
return ob.id === o.id
|
return ob.id === o.id
|
||||||
? {...o, documentAttachmentId: attachId}
|
? {
|
||||||
|
...o,
|
||||||
|
documentAttachmentId: attachId
|
||||||
|
}
|
||||||
: o;
|
: o;
|
||||||
});
|
});
|
||||||
return {
|
return {
|
||||||
@@ -1660,6 +1673,7 @@ const DomandaEditPreInstructor = () => {
|
|||||||
</li>)}
|
</li>)}
|
||||||
</ol>
|
</ol>
|
||||||
: <p>{__('Nessun documento firmato', 'gepafin')}</p>}
|
: <p>{__('Nessun documento firmato', 'gepafin')}</p>}
|
||||||
|
</> : null}
|
||||||
<h3>{__('Domanda PDF firmato', 'gepafin')}</h3>
|
<h3>{__('Domanda PDF firmato', 'gepafin')}</h3>
|
||||||
{data.signedDocument && !isEmpty(data.signedDocument)
|
{data.signedDocument && !isEmpty(data.signedDocument)
|
||||||
? <ol className="appPageSection__list">
|
? <ol className="appPageSection__list">
|
||||||
|
|||||||
Reference in New Issue
Block a user