- fixed displaying applications by statuses;

This commit is contained in:
Vitalii Kiiko
2025-03-27 14:39:50 +01:00
parent b8c0a869ee
commit c09091f7d2
2 changed files with 9 additions and 2 deletions

View File

@@ -35,7 +35,10 @@ const AllDomandeTable = ({ openDialogFn, updaterString = '' }) => {
useEffect(() => {
setLocalAsyncRequest(true);
ApplicationService.getApplications(getCallback, errGetCallbacks, [
['statuses', ['SUBMIT', 'EVALUATION', 'SOCCORSO']]
['statuses', [
'SUBMIT', 'EVALUATION', 'SOCCORSO',
'APPOINTMENT', 'NDG', 'ADMISSIBLE', 'TECHNICAL_EVALUATION'
]]
]);
}, [updaterString]);

View File

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