feat(dashboard) admin 3.0 order edit (#6665)

**What**
- added Order Edit creation flow

**NOTES**
- since the state is managed on the server upon changing input / adding items a request is fired to update the edit
- on save we only confirm the edit

---

**TODO**
- [x] item removal functionality

---

https://github.com/medusajs/medusa/assets/16856471/01aa85ea-1fb1-4dff-9cf4-d8d79029c2cc
This commit is contained in:
Frane Polić authored and GitHub committed 2024-03-20 07:54:22 +00:00
1 parent 873c21355c
commit 189b03c485
16 files changed
+917 -7

No files matched your search

@@ -6,6 +6,8 @@
"add": "Add",
"start": "Start",
"end": "End",
"open": "Open",
"close": "Close",
"apply": "Apply",
"range": "Range",
"search": "Search",
@@ -55,6 +57,7 @@
"cancel": "Cancel",
"save": "Save",
"continue": "Continue",
"confirm": "Confirm",
"edit": "Edit",
"download": "Download",
"clearAll": "Clear all",
@@ -257,6 +260,16 @@
"requiresAction": "Requires action"
}
},
"edits": {
"title": "Edit order",
"currentItems": "Current items",
"currentItemsDescription": "Adjust item quantity or remove.",
"addItemsDescription": "You can add new items to the order.",
"addItems": "Add items",
"amountPaid": "Amount paid",
"newTotal": "New total",
"differenceDue": "Difference due"
},
"reservations": {
"allocatedLabel": "Allocated",
"notAllocatedLabel": "Not allocated"
@@ -736,6 +749,7 @@
"availability": "Availability",
"inventory": "Inventory",
"optional": "Optional",
"note": "Note",
"taxInclusivePricing": "Tax inclusive pricing",
"taxRate": "Tax Rate",
"taxCode": "Tax Code",