- fixed filter for calls table;

- implemented call table async on all pages;
- added applications table async;
This commit is contained in:
Vitalii Kiiko
2025-03-05 17:06:00 +01:00
parent ed91588ef5
commit 00b4ad8569
7 changed files with 316 additions and 63 deletions

View File

@@ -9,6 +9,7 @@ import ApplicationService from '../../../../service/application-service';
// tools
import getBandoLabel from '../../../../helpers/getBandoLabel';
import getBandoSeverity from '../../../../helpers/getBandoSeverity';
import getFormattedDateString from '../../../../helpers/getFormattedDateString';
// translation
import translationStrings from '../../../../translationStringsForComponents';
@@ -60,14 +61,6 @@ const AllDomandeTable = ({ openDialogFn, updaterString = '' }) => {
});
};
const formatDate = (value) => {
return value.toLocaleDateString('it-IT', {
day: '2-digit',
month: '2-digit',
year: 'numeric'
});
};
const clearFilter = () => {
initFilters();
};
@@ -105,7 +98,7 @@ const AllDomandeTable = ({ openDialogFn, updaterString = '' }) => {
};
const dateAppliedBodyTemplate = (rowData) => {
return formatDate(rowData.submissionDate);
return getFormattedDateString(rowData.submissionDate);
};
const statusFilterTemplate = (options) => {