Skip to content

Commit

Permalink
Added: comment in the code to show that we have not considered adjust…
Browse files Browse the repository at this point in the history
…ments at ship group level(#862)
  • Loading branch information
ymaheshwari1 committed Jan 7, 2025
1 parent 1dc811b commit b21d63c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/views/OrderDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1735,6 +1735,7 @@ export default defineComponent({
if(!hasError(resp) && resp.data?.count) {
this.orderHeaderAdjustmentTotal = 0
this.orderAdjustments = resp.data.docs.filter((adjustment: any) => {
// Considered that the adjustment will not be made at shipGroup level
if((adjustment.orderItemSeqId === "_NA_" || !adjustment.orderItemSeqId) && !adjustment.billingShipmentId) {
this.orderHeaderAdjustmentTotal += adjustment.amount
return true;
Expand Down

0 comments on commit b21d63c

Please sign in to comment.