mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-05 02:41:33 +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.
8 lines
136 B
Ruby
8 lines
136 B
Ruby
# frozen_string_literal: false
|
|
|
|
class Invoice
|
|
class TaxRateSerializer < ActiveModel::Serializer
|
|
attributes :id, :amount
|
|
end
|
|
end
|