Sha256: 79f988de64cb55676d1bc826d6b6c7b7ec2a9035f603c463869cff7f2ca6a00f

Contents?: true

Size: 753 Bytes

Versions: 14

Compression:

Stored size: 753 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, :purchase_status, :total_price, :amount_paid, :pallete_note,
                 :vat, :consolidator_date, :voyage_no, :shipping_arrangement, :remark, :created_by, :files_url, :created_at
      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

14 entries across 14 versions & 1 rubygems

Version Path
comee_core-0.3.28 app/serializers/comee/core/sales_order_serializer.rb
comee_core-0.3.27 app/serializers/comee/core/sales_order_serializer.rb
comee_core-0.3.26 app/serializers/comee/core/sales_order_serializer.rb
comee_core-0.3.25 app/serializers/comee/core/sales_order_serializer.rb
comee_core-0.3.24 app/serializers/comee/core/sales_order_serializer.rb
comee_core-0.3.23 app/serializers/comee/core/sales_order_serializer.rb
comee_core-0.3.22 app/serializers/comee/core/sales_order_serializer.rb
comee_core-0.3.21 app/serializers/comee/core/sales_order_serializer.rb
comee_core-0.3.20 app/serializers/comee/core/sales_order_serializer.rb
comee_core-0.3.19 app/serializers/comee/core/sales_order_serializer.rb
comee_core-0.3.18 app/serializers/comee/core/sales_order_serializer.rb
comee_core-0.3.17 app/serializers/comee/core/sales_order_serializer.rb
comee_core-0.3.16 app/serializers/comee/core/sales_order_serializer.rb
comee_core-0.3.15 app/serializers/comee/core/sales_order_serializer.rb