Sha256: 1ee69639c902903c7c315cdeb5ba74eb14c58e343ffef0189ca3d418ff98760f
Contents?: true
Size: 629 Bytes
Versions: 15
Compression:
Stored size: 629 Bytes
Contents
module Comee module Core class CustomsDetail < ApplicationRecord belongs_to :sales_order def self.ransackable_attributes(_auth_object = nil) %w[id sales_order_id] end def self.ransackable_associations(_auth_object = nil) %w[sales_order] end validates :registration_type, :export_declaration_type, :participant_constellation, :mode_of_transport_type, :destination_country, :additional_identifier, :packaging_type, :export_customs_office, :customs_office_of_exit, :mode_of_transport, :delivery_term_code, presence: true end end end
Version data entries
15 entries across 15 versions & 1 rubygems