mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-13 23:37:47 +00:00
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.
10 lines
165 B
Ruby
10 lines
165 B
Ruby
# frozen_string_literal: false
|
|
|
|
class Invoice
|
|
class DataPresenter
|
|
class TaxRate < Invoice::DataPresenter::Base
|
|
attributes :id, :amount
|
|
end
|
|
end
|
|
end
|