fix: Update PrimeReact and fix all compilation errors

This commit is contained in:
Lions Dev
2025-10-13 05:18:02 +02:00
parent 6ebca4945c
commit 96eb956b0b
793 changed files with 11998 additions and 10690 deletions

9
app/(main)/chantiers/retard/page.tsx Normal file → Executable file
View File

@@ -138,9 +138,9 @@ const ChantiersRetardPage = () => {
let updatedChantier = { ...selectedChantier };
if (actionType === 'extend' && newEndDate) {
updatedChantier.dateFinPrevue = newEndDate;
updatedChantier.dateFinPrevue = newEndDate.toISOString().split('T')[0];
} else if (actionType === 'status') {
updatedChantier.statut = 'SUSPENDU';
updatedChantier.statut = 'SUSPENDU' as any;
}
await chantierService.update(selectedChantier.id, updatedChantier);
@@ -392,6 +392,7 @@ STATISTIQUES:
value={chantiers}
selection={selectedChantiers}
onSelectionChange={(e) => setSelectedChantiers(e.value)}
selectionMode="multiple"
dataKey="id"
paginator
rows={10}
@@ -471,4 +472,6 @@ STATISTIQUES:
);
};
export default ChantiersRetardPage;
export default ChantiersRetardPage;