Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implemented: support to display the remaining amount to be collected on the order based on COD payment and the related adjustments(#862) #899

Merged
merged 9 commits into from
Jan 9, 2025

Conversation

ymaheshwari1
Copy link
Contributor

@ymaheshwari1 ymaheshwari1 commented Jan 7, 2025

Related Issues

#862

Short Description and Why It's Useful

  • Added support to display the order level adjustments those needs to be charged in current shipment, where billing shipment is not set.

Screenshots of Visual Changes before/after (If There Are Any)

If the order has COD payment:

image

  • When the adjustments are not charged on any other shipment:

image

  • When there are no more pending adjustments to be charged (means all the adjustments are charged on some other shipment):

image

Contribution and Currently Important Rules Acceptance

@ymaheshwari1 ymaheshwari1 changed the title Implemented: support to display the remaining amount to be collected on the order and the related adjustments(#862) Implemented: support to display the remaining amount to be collected on the order based on COD payment and the related adjustments(#862) Jan 9, 2025
@ymaheshwari1
Copy link
Contributor Author

Following assumptions are made:

  • Order adjustments are not made on shipGroup level in the current flow.
  • The billingShipmentId will always be set on the adjustment. Currently, the billingShipmentId is only set when the adjustment is of type SHIPPING_CHARGES or SHIPPING_SALES_TAX and if the facility is not part of auto_shipping label group, for any other case the billingShipmentId is not set on adjustments.

@ymaheshwari1 ymaheshwari1 merged commit 8fa8ed2 into hotwax:main Jan 9, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant