mirror of
https://github.com/R0m1k3/LogiFlow.git
synced 2026-10-11 17:27:31 +02:00
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
This commit is contained in:
1 parent
56adffbf97
commit
b8d3b01ce1
1 file changed
+9
@@ -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 (
|
||||
<tr key={delivery.id} className="hover:bg-gray-50 bg-green-50">
|
||||
<td className="px-6 py-4 whitespace-nowrap">
|
||||
|
||||
Reference in new issue
Block a user