mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Update EnterpriseFee#clear_all_adjustments
This commit is contained in:
@@ -41,7 +41,7 @@ class EnterpriseFee < ActiveRecord::Base
|
||||
}
|
||||
|
||||
def self.clear_all_adjustments(order)
|
||||
order.adjustments.enterprise_fee.destroy_all
|
||||
order.all_adjustments.enterprise_fee.destroy_all
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
Reference in New Issue
Block a user