From 59a90341086ef657278e3afb498394f91abed9b0 Mon Sep 17 00:00:00 2001 From: Mohamed ABDELLANI Date: Mon, 19 Feb 2024 12:36:24 +0100 Subject: [PATCH] remove tax rates from line_items data presenter --- app/models/invoice/data_presenter/line_item.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/models/invoice/data_presenter/line_item.rb b/app/models/invoice/data_presenter/line_item.rb index 92ed1cc9f9b..2b55cca9258 100644 --- a/app/models/invoice/data_presenter/line_item.rb +++ b/app/models/invoice/data_presenter/line_item.rb @@ -7,7 +7,6 @@ class LineItem < Invoice::DataPresenter::Base :variant_id, :unit_price_price_and_unit, :unit_presentation, :enterprise_fee_additional_tax, :enterprise_fee_included_tax attributes_with_presenter :variant - array_attribute :tax_rates, class_name: 'TaxRate' invoice_generation_attributes :added_tax, :included_tax, :price_with_adjustments, :quantity, :variant_id