Sha256: 9be1818b24814716ce734e584ea7edca738d42d52599846429a34fb053d7c426

Contents?: true

Size: 485 Bytes

Versions: 11

Compression:

Stored size: 485 Bytes

Contents

module Comee
  module Core
    class SalesOrderSerializer < ActiveModel::Serializer
      attributes :id, :order_number, :payment_penalty, :status, :total_price, :payment_term, :delivery_term, :amount_paid,
                 :pallete_note, :handover_date, :remark, :parent_client_name, :created_by, :files_url, :customs_detail, :consignee
      belongs_to :customer_order
      belongs_to :client
      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.2.11 app/serializers/comee/core/sales_order_serializer.rb
comee_core-0.2.10 app/serializers/comee/core/sales_order_serializer.rb
comee_core-0.2.9 app/serializers/comee/core/sales_order_serializer.rb
comee_core-0.2.8 app/serializers/comee/core/sales_order_serializer.rb
comee_core-0.2.7 app/serializers/comee/core/sales_order_serializer.rb
comee_core-0.2.6 app/serializers/comee/core/sales_order_serializer.rb
comee_core-0.2.5 app/serializers/comee/core/sales_order_serializer.rb
comee_core-0.2.4 app/serializers/comee/core/sales_order_serializer.rb
comee_core-0.2.3 app/serializers/comee/core/sales_order_serializer.rb
comee_core-0.2.2 app/serializers/comee/core/sales_order_serializer.rb
comee_core-0.2.1 app/serializers/comee/core/sales_order_serializer.rb