diff --git a/src/pages/DomandaEditInstructorManager/index.js b/src/pages/DomandaEditInstructorManager/index.js index 8630694..0f4202f 100644 --- a/src/pages/DomandaEditInstructorManager/index.js +++ b/src/pages/DomandaEditInstructorManager/index.js @@ -1436,48 +1436,55 @@ const DomandaEditInstructorManager = () => { {data.evaluationVersion === 'V2' ?
-

{__('Contratto', 'gepafin')}

- {data.contract && data.contract?.beneficiaryDocuments && !isEmpty(data.contract?.beneficiaryDocuments) - ?
    - {data.contract?.beneficiaryDocuments.map(o =>
  1. -
    -
    {renderHtmlContent(o.name)}
    -
    -
    -
    -
  2. )} -
- :

{__('Nessun documento firmato', 'gepafin')}

} + }} + isSignedDocument={true} + docAttachmentId={o.documentAttachmentId}/> +
+ + )} + + :

{__('Nessun documento firmato', 'gepafin')}

} + : null}

{__('Domanda PDF firmato', 'gepafin')}

{data.signedDocument && !isEmpty(data.signedDocument) ?
    @@ -1618,48 +1625,55 @@ const DomandaEditInstructorManager = () => {
    -

    {__('Contratto', 'gepafin')}

    - {data.contract && data.contract?.beneficiaryDocuments && !isEmpty(data.contract?.beneficiaryDocuments) - ?
      - {data.contract?.beneficiaryDocuments.map(o =>
    1. -
      -
      {renderHtmlContent(o.name)}
      -
      -
      -
      -
    2. )} -
    - :

    {__('Nessun documento firmato', 'gepafin')}

    } + {APP_HUB_ID !== 't7jh5wfg9QXylNaTZkPoE' + ? <> +

    {__('Contratto', 'gepafin')}

    + {data.contract && data.contract?.beneficiaryDocuments && !isEmpty(data.contract?.beneficiaryDocuments) + ?
      + {data.contract?.beneficiaryDocuments.map(o =>
    1. +
      +
      {renderHtmlContent(o.name)}
      +
      +
      +
      +
    2. )} +
    + :

    {__('Nessun documento firmato', 'gepafin')}

    } + : null}

    {__('Domanda PDF firmato', 'gepafin')}

    {data.signedDocument && !isEmpty(data.signedDocument) ?
      diff --git a/src/pages/DomandaEditPreInstructor/index.js b/src/pages/DomandaEditPreInstructor/index.js index ceb7269..67cdc46 100644 --- a/src/pages/DomandaEditPreInstructor/index.js +++ b/src/pages/DomandaEditPreInstructor/index.js @@ -1436,48 +1436,55 @@ const DomandaEditPreInstructor = () => { {data.evaluationVersion === 'V2' ?
      -

      {__('Contratto', 'gepafin')}

      - {data.contract && data.contract?.beneficiaryDocuments && !isEmpty(data.contract?.beneficiaryDocuments) - ?
        - {data.contract?.beneficiaryDocuments.map(o =>
      1. -
        -
        {renderHtmlContent(o.name)}
        -
        -
        -
        -
      2. )} -
      - :

      {__('Nessun documento firmato', 'gepafin')}

      } + }} + isSignedDocument={true} + docAttachmentId={o.documentAttachmentId}/> +
      +
    + )} +
+ :

{__('Nessun documento firmato', 'gepafin')}

} + : null}

{__('Domanda PDF firmato', 'gepafin')}

{data.signedDocument && !isEmpty(data.signedDocument) ?
    @@ -1618,48 +1625,55 @@ const DomandaEditPreInstructor = () => {
    -

    {__('Contratto', 'gepafin')}

    - {data.contract && data.contract?.beneficiaryDocuments && !isEmpty(data.contract?.beneficiaryDocuments) - ?
      - {data.contract?.beneficiaryDocuments.map(o =>
    1. -
      -
      {renderHtmlContent(o.name)}
      -
      -
      -
      -
    2. )} -
    - :

    {__('Nessun documento firmato', 'gepafin')}

    } + {APP_HUB_ID !== 't7jh5wfg9QXylNaTZkPoE' + ? <> +

    {__('Contratto', 'gepafin')}

    + {data.contract && data.contract?.beneficiaryDocuments && !isEmpty(data.contract?.beneficiaryDocuments) + ?
      + {data.contract?.beneficiaryDocuments.map(o =>
    1. +
      +
      {renderHtmlContent(o.name)}
      +
      +
      +
      +
    2. )} +
    + :

    {__('Nessun documento firmato', 'gepafin')}

    } + : null}

    {__('Domanda PDF firmato', 'gepafin')}

    {data.signedDocument && !isEmpty(data.signedDocument) ?