From fc7fdb00db22e380e1f6bc24ae71ee862e8b87a6 Mon Sep 17 00:00:00 2001 From: michaelschal <35957947-michaelschal@users.noreply.replit.com> Date: Tue, 9 Sep 2025 13:24:59 +0000 Subject: [PATCH] Add a feature to add comments to delivery reconciliation Introduce a new modal component in the BLReconciliation page for users to add and save comments to delivery records. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869 Replit-Commit-Checkpoint-Type: intermediate_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/9fcf4b21-eb0c-4e53-a567-e2ce4a6ad869/yiEpJFx --- client/src/pages/BLReconciliation.tsx | 61 +++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/client/src/pages/BLReconciliation.tsx b/client/src/pages/BLReconciliation.tsx index 9360f26..1ee3c86 100644 --- a/client/src/pages/BLReconciliation.tsx +++ b/client/src/pages/BLReconciliation.tsx @@ -16,6 +16,7 @@ import { Search, Edit, FileText, Settings, Eye, AlertTriangle, X, Check, Trash2, import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogFooter } from "@/components/ui/dialog"; import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@/components/ui/select"; import { Label } from "@/components/ui/label"; +import { Textarea } from "@/components/ui/textarea"; import ReconciliationModal from "@/components/modals/ReconciliationModal"; export default function BLReconciliation() { @@ -1380,6 +1381,66 @@ export default function BLReconciliation() { + + {/* Modal de commentaire */} + + + + + + Commentaire de livraison + + + + {selectedDeliveryForComment && ( +
+
+
+ {selectedDeliveryForComment.supplier?.name} +
+
+ BL: {selectedDeliveryForComment.blNumber || 'Non renseigné'} | + Facture: {selectedDeliveryForComment.invoiceReference || 'Non renseignée'} +
+
+ Date prévue: {selectedDeliveryForComment.scheduledDate ? new Date(selectedDeliveryForComment.scheduledDate).toLocaleDateString('fr-FR') : 'Non renseignée'} +
+
+ +
+ +