diff --git a/client/src/pages/Avoirs.tsx b/client/src/pages/Avoirs.tsx index da27be0..62fe7b9 100644 --- a/client/src/pages/Avoirs.tsx +++ b/client/src/pages/Avoirs.tsx @@ -47,6 +47,8 @@ interface Avoir { id: number; name: string; color: string; + nocodbTableName?: string; + nocodbConfigId?: number; }; creator: { id: string; @@ -65,6 +67,8 @@ interface Group { id: number; name: string; color: string; + nocodbTableName?: string; + nocodbConfigId?: number; } // Schema for form validation @@ -646,13 +650,30 @@ export default function Avoirs() {

- - - - + )} + + + + + + + + + Créer un nouvel avoir @@ -887,6 +908,9 @@ export default function Avoirs() { Créé le + + Vérification + Actions @@ -947,6 +971,31 @@ export default function Avoirs() { + + {avoir.invoiceReference?.trim() ? ( +
+ {verifyingAvoirs.has(avoir.id) ? ( + + ) : avoirVerificationResults[avoir.id] ? ( + avoirVerificationResults[avoir.id].exists ? ( + + ) : ( + + ) + ) : ( + + )} +
+ ) : ( + Sans réf. + )} +
{/* 📋 Icône Upload pour avoirs "Reçu" */}