add multiple application in beneficiario

This commit is contained in:
Noemi
2025-07-03 14:36:16 +02:00
parent b354ec7145
commit 0227c30a73
3 changed files with 18 additions and 9 deletions

View File

@@ -98,11 +98,16 @@ const BandoViewBeneficiario = () => {
if (REACT_APP_HUB_ID === 't7jh5wfg9QXylNaTZkPoE') {
return __('Presenta domanda', 'gepafin');
} else {
if (applicationObj && applicationObj.id) {
return __('Vai alla domanda', 'gepafin');
} else {
if(data.allowMultipleApplications){
return __('Presenta domanda', 'gepafin');
} else {
if (applicationObj && applicationObj.id) {
return __('Vai alla domanda', 'gepafin');
} else {
return __('Presenta domanda', 'gepafin');
}
}
}
}
@@ -110,11 +115,15 @@ const BandoViewBeneficiario = () => {
if (REACT_APP_HUB_ID === 't7jh5wfg9QXylNaTZkPoE') {
return 'pi pi-save';
} else {
if (applicationObj && applicationObj.id) {
return 'pi pi-arrow-right';
} else {
if(data.allowMultipleApplications){
return 'pi pi-save';
}
} else {
if (applicationObj && applicationObj.id) {
return 'pi pi-arrow-right';
} else {
return 'pi pi-save';
}
}
}
}