- updated implementation related to new rejection flow;
This commit is contained in:
@@ -30,6 +30,7 @@ import { InputNumber } from 'primereact/inputnumber';
|
||||
import SoccorsoComunications from './components/SoccorsoComunications';
|
||||
import SoccorsoResendEmails from './components/SoccorsoResendEmails';
|
||||
|
||||
import { amendmentRequestedDocs } from '../../configData';
|
||||
|
||||
const SoccorsoEditPreInstructor = () => {
|
||||
const isAsyncRequest = useStoreValue('isAsyncRequest');
|
||||
@@ -433,16 +434,22 @@ const SoccorsoEditPreInstructor = () => {
|
||||
</ol>
|
||||
</div> : null}
|
||||
|
||||
<div className="appPageSection">
|
||||
<h3>{__('Documenti richiesti', 'gepafin')}</h3>
|
||||
<ol className="appPageSection__list">
|
||||
{data.formFields
|
||||
? data.formFields.map((o, i) => <li key={o.fieldId}
|
||||
style={{ flexDirection: 'row' }}>
|
||||
{(data.formFields && !isEmpty(data.formFields)) || (data.amendmentType === 'SPECIAL' && !isNil(data.amendmentDocumentType)
|
||||
&& amendmentRequestedDocs[data.amendmentDocumentType])
|
||||
? <div className="appPageSection">
|
||||
<h3>{__('Documenti richiesti', 'gepafin')}</h3>
|
||||
<ol className="appPageSection__list">
|
||||
{data.formFields && !isEmpty(data.formFields)
|
||||
? data.formFields.map((o, i) => <li key={o.fieldId}
|
||||
style={{ flexDirection: 'row' }}>
|
||||
<span>{o.label}</span>
|
||||
</li>) : null}
|
||||
</ol>
|
||||
</div>
|
||||
{amendmentRequestedDocs[data.amendmentDocumentType].map((v) => <li key={v}
|
||||
style={{ flexDirection: 'row' }}>
|
||||
<span>{v}</span>
|
||||
</li>)}
|
||||
</ol>
|
||||
</div> : null}
|
||||
|
||||
<div className="appPageSection">
|
||||
<h2>{__('Comunicazioni', 'gepafin')}</h2>
|
||||
|
||||
Reference in New Issue
Block a user