Files
openfoodnetwork/app/models/invoice/data_presenter/tax_rate.rb
Mohamed ABDELLANI 33826631a3 reimplement the display_line_item_tax_rates helper on the line item presenter
1. reimplment the helper on the LintItem presenter
2. add the tax rate associated to the line items to the list of objects to serialize during the order serialization.
3. implement a presenter for the introducer tax rates.
2023-10-11 09:26:49 +01:00

10 lines
165 B
Ruby

# frozen_string_literal: false
class Invoice
class DataPresenter
class TaxRate < Invoice::DataPresenter::Base
attributes :id, :amount
end
end
end