Sha256: 4240bae12d465bdfb1b84a930bb769a44850ad1820c2782aeb892982f4bf8352
Contents?: true
Size: 912 Bytes
Versions: 33
Compression:
Stored size: 912 Bytes
Contents
module Comee module Core class SalesOrderSerializer < ActiveModel::Serializer attributes :id, :order_number, :order_date, :order_terms, :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 :shipment_address, serializer: ClientAddressSerializer belongs_to :delivery_address, serializer: ClientAddressSerializer belongs_to :invoice_address, serializer: ClientAddressSerializer belongs_to :fulfillment_center has_many :sales_order_items has_one :customs_detail end end end
Version data entries
33 entries across 33 versions & 1 rubygems