Skip to content

Commit

Permalink
FIXME: Come back to this later
Browse files Browse the repository at this point in the history
  • Loading branch information
forkata committed Nov 8, 2024
1 parent 7ce5874 commit 6d6cc69
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/app/models/spree/in_memory_order_updater.rb
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,10 @@ def determine_shipment_state
# adjustments, update cancellation adjustments, and then update the total
# fields (promo_total, included_tax_total, additional_tax_total, and
# adjustment_total) on the item.
#
# FIXME: Should this be renamed to `update_adjustments` since it persists
# changes to promotion and tax adjustments, and item totals?
#
# @return [void]
def recalculate_adjustments(persist:)
# Promotion adjustments must be applied first, then tax adjustments.
Expand Down

0 comments on commit 6d6cc69

Please sign in to comment.