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

7
app/(main)/chantiers/termines/page.tsx Normal file → Executable file
View File

@@ -190,7 +190,7 @@ Variance budgétaire: ${formatCurrency(totalCost - totalBudget)} (${Math.round((
return (
<div className="flex align-items-center gap-2">
<Tag value="Terminé" severity="secondary" />
<Tag value="Terminé" severity="info" />
{onTime && <Tag value="Dans les délais" severity="success" />}
{!onTime && <Tag value="En retard" severity="warning" />}
{onBudget && <Tag value="Budget respecté" severity="success" />}
@@ -281,6 +281,7 @@ Variance budgétaire: ${formatCurrency(totalCost - totalBudget)} (${Math.round((
value={chantiers}
selection={selectedChantiers}
onSelectionChange={(e) => setSelectedChantiers(e.value)}
selectionMode="multiple"
dataKey="id"
paginator
rows={10}
@@ -401,4 +402,6 @@ Variance budgétaire: ${formatCurrency(totalCost - totalBudget)} (${Math.round((
);
};
export default ChantiersTerminesPage;
export default ChantiersTerminesPage;