chore(medusa, core-flows): receive item return request (#8172)
What: * `POST /admin/returns/:id/receive-items` * `POST /admin/returns/:id/receive-items/:action_id` * `DELETE /admin/returns/:id/receive-items/:action_id` * `POST /admin/returns/:id/dismiss-items` * `POST /admin/returns/:id/dismiss-items/:action_id` * `DELETE /admin/returns/:id/dismiss-items/:action_id` * `POST /admin/returns/:id/receive/confirm` CLOSES: CC-190, CC-191, CC-192, CC-193, CC-195, CC-196, CC-197 * Inventory management isn't included yet. Will add it in a next PR
This commit is contained in:
@@ -647,7 +647,7 @@ describe("Total calculation", function () {
|
||||
return_requested_quantity: 0,
|
||||
return_received_quantity: 1,
|
||||
return_dismissed_quantity: 1,
|
||||
written_off_quantity: 0,
|
||||
written_off_quantity: 1,
|
||||
},
|
||||
tax_lines: [
|
||||
{
|
||||
@@ -690,7 +690,7 @@ describe("Total calculation", function () {
|
||||
return_received_quantity: 1,
|
||||
return_requested_quantity: 0,
|
||||
shipped_quantity: 2,
|
||||
written_off_quantity: 0,
|
||||
written_off_quantity: 1,
|
||||
},
|
||||
subtotal: 100,
|
||||
total: 88,
|
||||
@@ -704,7 +704,7 @@ describe("Total calculation", function () {
|
||||
return_requested_total: 0,
|
||||
return_received_total: 44,
|
||||
return_dismissed_total: 44,
|
||||
write_off_total: 0,
|
||||
write_off_total: 44,
|
||||
refundable_total: 0,
|
||||
refundable_total_per_unit: 0,
|
||||
},
|
||||
@@ -727,7 +727,7 @@ describe("Total calculation", function () {
|
||||
return_requested_total: 0,
|
||||
return_received_total: 44,
|
||||
return_dismissed_total: 44,
|
||||
write_off_total: 0,
|
||||
write_off_total: 44,
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user