Sha256: 4745054ec4f8ea6d8b8455d6d67e3e5f31c71c52023692521e6252c05b9ebbcb

Contents?: true

Size: 661 Bytes

Versions: 55

Compression:

Stored size: 661 Bytes

Contents

module Comee
  module Core
    class SalesOrderSerializer < ActiveModel::Serializer
      attributes :id, :order_number, :order_date, :order_terms, :shipment_address, :delivery_address, :invoice_address,
                 :destination, :handover_date, :shipping_date, :delivery_date, :consignee, :parent_client_name, :payment_term,
                 :delivery_term, :payment_penalty, :status, :total_price, :amount_paid, :pallete_note, :remark, :created_by,
                 :files_url
      belongs_to :customer_order
      belongs_to :client
      belongs_to :fulfillment_center
      has_many :sales_order_items
      has_one :customs_detail
    end
  end
end

Version data entries

55 entries across 55 versions & 1 rubygems

Version Path
comee_core-0.2.26 app/serializers/comee/core/sales_order_serializer.rb
comee_core-0.2.25 app/serializers/comee/core/sales_order_serializer.rb
comee_core-0.2.24 app/serializers/comee/core/sales_order_serializer.rb
comee_core-0.2.23 app/serializers/comee/core/sales_order_serializer.rb
comee_core-0.2.22 app/serializers/comee/core/sales_order_serializer.rb
comee_core-0.2.21 app/serializers/comee/core/sales_order_serializer.rb
comee_core-0.2.20 app/serializers/comee/core/sales_order_serializer.rb
comee_core-0.2.19 app/serializers/comee/core/sales_order_serializer.rb
comee_core-0.2.18 app/serializers/comee/core/sales_order_serializer.rb
comee_core-0.2.17 app/serializers/comee/core/sales_order_serializer.rb
comee_core-0.2.16 app/serializers/comee/core/sales_order_serializer.rb
comee_core-0.2.15 app/serializers/comee/core/sales_order_serializer.rb
comee_core-0.2.14 app/serializers/comee/core/sales_order_serializer.rb
comee_core-0.2.13 app/serializers/comee/core/sales_order_serializer.rb
comee_core-0.2.12 app/serializers/comee/core/sales_order_serializer.rb