Update EnterpriseFee#clear_all_adjustments

This commit is contained in:
Matt-Yorkley
2021-02-28 14:32:35 +00:00
parent a768cb2510
commit 8d4733b3d5

View File

@@ -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