feat: added totals tests for end 2 end RMA flow (#8906)
what: I've added some specs and comments in the specs for where I think totals are incorrect. Lets get this test merged in as the status quo and proceed to fix these issues one by one. Additionally, this also removes the temporary_difference as its not something we use. RESOLVES CC-346 Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>
This commit is contained in:
@@ -4,7 +4,6 @@ import { setActionReference } from "../set-action-reference"
|
||||
|
||||
OrderChangeProcessing.registerActionType(ChangeActionType.RETURN_ITEM, {
|
||||
isDeduction: true,
|
||||
awaitRequired: true,
|
||||
operation({ action, currentOrder, options }) {
|
||||
const existing = currentOrder.items.find(
|
||||
(item) => item.id === action.details.reference_id
|
||||
|
||||
Reference in New Issue
Block a user