Fix issue preventing users from editing reconciliation data

Adjusted ReconciliationModal to correctly display and handle edit modal opening when the edit icon is clicked, resolving a bug where the modal would not appear.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: b163d4c0-de5e-4f4e-a9c0-aed4c7049718
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/b163d4c0-de5e-4f4e-a9c0-aed4c7049718/wlAjxK8
This commit is contained in:
michaelschal committed 2025-08-12 12:14:39 +00:00
1 parent aee6f7cf5c
commit a1d6cab167
1 file changed
+3 -2
+3 -2
View File
@@ -694,10 +694,11 @@ export default function BLReconciliation() {
</Tabs>
{/* Modal de rapprochement */}
{isModalOpen && selectedDelivery && (
{selectedDelivery && (
<ReconciliationModal
isOpen={isModalOpen}
delivery={selectedDelivery}
onSave={handleSaveReconciliation}
onSave={() => handleSaveReconciliation(selectedDelivery)}
onClose={handleCloseModal}
/>
)}