diff --git a/.replit b/.replit index a5fae17..ba2f351 100644 --- a/.replit +++ b/.replit @@ -27,10 +27,6 @@ externalPort = 3002 localPort = 41343 externalPort = 3001 -[[ports]] -localPort = 42073 -externalPort = 3003 - [workflows] runButton = "Project" diff --git a/attached_assets/image_1758445233252.png b/attached_assets/image_1758445233252.png new file mode 100644 index 0000000..5c9b704 Binary files /dev/null and b/attached_assets/image_1758445233252.png differ diff --git a/client/src/pages/BLReconciliation.tsx b/client/src/pages/BLReconciliation.tsx index f9e6dce..b0faf51 100644 --- a/client/src/pages/BLReconciliation.tsx +++ b/client/src/pages/BLReconciliation.tsx @@ -629,11 +629,14 @@ export default function BLReconciliation() { // Filtrage des livraisons par recherche et statut de validation const filterDeliveries = (deliveries: any[]) => { return deliveries.filter((delivery: any) => { + // Conversion sûre de reconciled (peut être booléen ou nombre 0/1) + const isReconciled = delivery.reconciled === true || delivery.reconciled === 1; + // Filtre par statut validé - if (filterStatus === "validated" && !delivery.reconciled) { + if (filterStatus === "validated" && !isReconciled) { return false; } - if (filterStatus === "not_validated" && delivery.reconciled) { + if (filterStatus === "not_validated" && isReconciled) { return false; }