mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Exclude all tax adjustments in item building
Included taxes are ignored here, and the additional tax total is is handled separately.
This commit is contained in:
@@ -8,7 +8,7 @@ class PaypalItemsBuilder
|
||||
def call
|
||||
items = order.line_items.map(&method(:line_item_data))
|
||||
|
||||
tax_adjustments = order.adjustments.tax.additional
|
||||
tax_adjustments = order.adjustments.tax
|
||||
shipping_adjustments = order.adjustments.shipping
|
||||
|
||||
order.adjustments.eligible.each do |adjustment|
|
||||
|
||||
Reference in New Issue
Block a user