- added pages for CONFIDI user;
This commit is contained in:
@@ -14,6 +14,7 @@ import { storeSet, storeGet, useStore } from '../../store';
|
||||
|
||||
// api
|
||||
import ApplicationService from '../../service/application-service';
|
||||
import CompanyDocumentsService from '../../service/company-documents-service';
|
||||
|
||||
// tools
|
||||
import {
|
||||
@@ -33,6 +34,7 @@ import renderWithDataVars from '../../helpers/renderWithDataVars';
|
||||
import getTokens from '../../helpers/getTokens';
|
||||
import formatDateString from '../../helpers/formatDateString';
|
||||
import isDateTimeInPast from '../../helpers/isDateTimeInPast';
|
||||
import parseCommaDecimal from '../../helpers/parseCommaDecimal';
|
||||
|
||||
// components
|
||||
import { Skeleton } from 'primereact/skeleton';
|
||||
@@ -46,8 +48,8 @@ import { Dialog } from 'primereact/dialog';
|
||||
import FileuploadApplicationSignedPdf from '../../components/FileuploadApplicationSignedPdf';
|
||||
|
||||
import { defaultMaxFileSize } from '../../configData';
|
||||
import parseCommaDecimal from '../../helpers/parseCommaDecimal';
|
||||
import CompanyDocumentsService from '../../service/company-documents-service';
|
||||
|
||||
const APP_HUB_ID = process.env.REACT_APP_HUB_ID;
|
||||
|
||||
const BandoApplication = () => {
|
||||
const chosenCompanyId = useStore().main.chosenCompanyId();
|
||||
@@ -652,12 +654,6 @@ const BandoApplication = () => {
|
||||
['companyId', chosenCompanyId]
|
||||
]);
|
||||
CompanyDocumentsService.getCompanyDocuments(chosenCompanyId, getDocsCallback, errDocsGetCallbacks);
|
||||
/*CompanyDocumentsService.getCompanyDocuments(chosenCompanyId, (resp) => getDocsCallback(resp, 'COMPANY_DOCUMENT'), errDocsGetCallbacks, [
|
||||
['documentType', 'COMPANY_DOCUMENT']
|
||||
]);
|
||||
CompanyDocumentsService.getCompanyDocuments(chosenCompanyId, (resp) => getDocsCallback(resp, 'PERSONAL_DOCUMENT'), errDocsGetCallbacks, [
|
||||
['documentType', 'PERSONAL_DOCUMENT']
|
||||
]);*/
|
||||
}
|
||||
}, [id, chosenCompanyId]);
|
||||
|
||||
@@ -690,7 +686,10 @@ const BandoApplication = () => {
|
||||
setVisibleConfirmation(false);
|
||||
}}>
|
||||
<p>
|
||||
{__('Grazie, la tua domanda è stata inviata correttamente. Entro 24 ore riceverai una pec con data, ora e numero di protocollo.', 'gepafin')}
|
||||
{APP_HUB_ID === 't7jh5wfg9QXylNaTZkPoE'
|
||||
? __('Grazie, la tua domanda è stata inviata correttamente. Entro 24 ore riceverai una email con data, ora e numero di protocollo.', 'gepafin')
|
||||
: __('Grazie, la tua domanda è stata inviata correttamente. Entro 24 ore riceverai una pec con data, ora e numero di protocollo.', 'gepafin')
|
||||
}
|
||||
</p>
|
||||
</Dialog>
|
||||
|
||||
@@ -750,9 +749,9 @@ const BandoApplication = () => {
|
||||
return acc;
|
||||
}, {});
|
||||
|
||||
if (o.name === 'fileselect') {
|
||||
/*if (o.name === 'fileselect') {
|
||||
console.log('options::', options)
|
||||
}
|
||||
}*/
|
||||
|
||||
return ['paragraph'].includes(o.name) && text
|
||||
? <div key={o.id}>
|
||||
|
||||
Reference in New Issue
Block a user