mirror of
https://github.com/R0m1k3/LogiFlow.git
synced 2026-10-11 17:27:31 +02:00
Align detail modals across orders, deliveries, and calendar
Update Deliveries and Orders pages to use a unified data structure for detail modals, ensuring consistent information display with the Calendar module. Replit-Commit-Author: Agent Replit-Commit-Session-Id: d7bae60c-959e-464e-9a81-d3f674984466 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/d7bae60c-959e-464e-9a81-d3f674984466/PdrdCCE
This commit is contained in:
1 parent
f407cdceb7
commit
15dc6246ba
2 files changed
+2
-2
No files matched your search
@@ -221,7 +221,7 @@ export default function Deliveries() {
|
||||
};
|
||||
|
||||
const handleViewDelivery = (delivery: DeliveryWithRelations) => {
|
||||
setSelectedDelivery(delivery);
|
||||
setSelectedDelivery({ ...delivery, type: 'delivery' } as any);
|
||||
setShowDetailModal(true);
|
||||
};
|
||||
|
||||
|
||||
@@ -199,7 +199,7 @@ export default function Orders() {
|
||||
};
|
||||
|
||||
const handleViewOrder = (order: OrderWithRelations) => {
|
||||
setSelectedOrder(order);
|
||||
setSelectedOrder({ ...order, type: 'order' } as any);
|
||||
setShowDetailModal(true);
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user