From b8d3b01ce113d51dc0ee9fa1f3e695d9613d3624 Mon Sep 17 00:00:00 2001 From: michaelschal <35957947-michaelschal@users.noreply.replit.com> Date: Tue, 23 Sep 2025 13:55:57 +0000 Subject: [PATCH] Improve comment icon updates for reconciliation entries Add console logging for delivery comments in development to aid debugging. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 1e4433b5-47ab-464c-b663-fea2e53367dd Replit-Commit-Checkpoint-Type: intermediate_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/1e4433b5-47ab-464c-b663-fea2e53367dd/awJgdDR --- client/src/pages/BLReconciliation.tsx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/client/src/pages/BLReconciliation.tsx b/client/src/pages/BLReconciliation.tsx index 46ad8cf..5c1878f 100644 --- a/client/src/pages/BLReconciliation.tsx +++ b/client/src/pages/BLReconciliation.tsx @@ -1132,6 +1132,15 @@ export default function BLReconciliation() { ((parseFloat(delivery.invoiceAmount) - parseFloat(delivery.blAmount)) / parseFloat(delivery.blAmount) * 100).toFixed(1) : null; + // Log pour déboguer le problème des commentaires + if (import.meta.env.DEV && delivery.reconciliationCommentsCount) { + console.log('🔍 Validated delivery comments:', { + deliveryId: delivery.id, + commentsCount: delivery.reconciliationCommentsCount, + hasComments: delivery.reconciliationCommentsCount > 0 + }); + } + return (