- added labels for new statuses;

This commit is contained in:
Vitalii Kiiko
2024-12-06 16:54:37 +01:00
parent ec77ea6c80
commit 7f54e5e1ec
3 changed files with 19 additions and 1 deletions

View File

@@ -20,6 +20,15 @@ const getBandoLabel = (status) => {
case 'READY': case 'READY':
return __('Pronto', 'gepafin'); return __('Pronto', 'gepafin');
case 'NDG':
return __('NDG', 'gepafin');
case 'APPOINTMENT':
return __('Appuntamento', 'gepafin');
case 'ADMISSIBLE':
return __('Ammisibile', 'gepafin');
case 'SOCCORSO': case 'SOCCORSO':
return __('Soccorso', 'gepafin'); return __('Soccorso', 'gepafin');

View File

@@ -18,6 +18,15 @@ const getBandoSeverity = (status) => {
case 'READY': case 'READY':
return 'info'; return 'info';
case 'NDG':
return 'info';
case 'APPOINTMENT':
return 'info';
case 'ADMISSIBLE':
return 'info';
case 'SOCCORSO': case 'SOCCORSO':
return 'warning'; return 'warning';

View File

@@ -37,7 +37,7 @@ const BeneficiarioDomandeTable = () => {
setLocalAsyncRequest(true); setLocalAsyncRequest(true);
ApplicationService.getApplications(getApplCallback, errGetApplCallback, [ ApplicationService.getApplications(getApplCallback, errGetApplCallback, [
['companyId', chosenCompanyId], ['companyId', chosenCompanyId],
['statuses', ['SOCCORSO', 'APPROVED', 'REJECTED', 'EVALUATION', 'SUBMIT']] ['statuses', ['SOCCORSO', 'NDG', 'ADMISSIBLE', 'APPOINTMENT', 'APPROVED', 'REJECTED', 'EVALUATION', 'SUBMIT']]
]); ]);
} }
}, [chosenCompanyId]); }, [chosenCompanyId]);