feat: Implement Edit Orders

This commit is contained in:
dhinesh-m24
2026-02-09 11:31:18 +05:30
parent 0ebb76b3a7
commit 1c8541cb1d
9 changed files with 800 additions and 3 deletions

View File

@@ -131,8 +131,7 @@ export default function OrderDetail() {
const handleEdit = () => {
if (!order || !id) return;
// Placeholder: route can later be wired to an edit form
navigate(`/orders/create?edit=${id}`);
navigate(`/orders/${id}/edit`);
};
const handleDuplicate = () => {