mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-28 21:07:16 +00:00
add :originator_type to Invoice::AdjustmentSerializer
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
class Invoice
|
||||
class AdjustmentSerializer < ActiveModel::Serializer
|
||||
attributes :adjustable_type, :label, :included_tax_total, :additional_tax_total, :amount,
|
||||
:currency
|
||||
:currency, :originator_type
|
||||
has_many :tax_rates, serializer: Invoice::TaxRateSerializer
|
||||
|
||||
def tax_rates
|
||||
|
||||
Reference in New Issue
Block a user