Sha256: 26b1315f6f68aca547faadd471ef427ccdd894cf34831bdf2055dcc026f82a4d

Contents?: true

Size: 366 Bytes

Versions: 11

Compression:

Stored size: 366 Bytes

Contents

module Comee
  module Core
    class SalesOrderSerializer < ActiveModel::Serializer
      attributes :id, :order_number, :payment_penalty, :status, :total_price,
                 :amount_paid, :pallete_note, :handover_date, :remark, :files_url
      belongs_to :customer_order
      belongs_to :fulfillment_center
      has_many :sales_order_items
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
comee_core-0.1.64 app/serializers/comee/core/sales_order_serializer.rb
comee_core-0.1.63 app/serializers/comee/core/sales_order_serializer.rb
comee_core-0.1.62 app/serializers/comee/core/sales_order_serializer.rb
comee_core-0.1.61 app/serializers/comee/core/sales_order_serializer.rb
comee_core-0.1.60 app/serializers/comee/core/sales_order_serializer.rb
comee_core-0.1.59 app/serializers/comee/core/sales_order_serializer.rb
comee_core-0.1.58 app/serializers/comee/core/sales_order_serializer.rb
comee_core-0.1.57 app/serializers/comee/core/sales_order_serializer.rb
comee_core-0.1.56 app/serializers/comee/core/sales_order_serializer.rb
comee_core-0.1.55 app/serializers/comee/core/sales_order_serializer.rb
comee_core-0.1.54 app/serializers/comee/core/sales_order_serializer.rb