Class: Comee::Core::ShipmentItem

Inherits:
ApplicationRecord show all
Defined in:
app/models/comee/core/shipment_item.rb

Class Method Summary collapse

Class Method Details

.ransackable_associations(_auth_object = nil) ⇒ Object



17
18
19
# File 'app/models/comee/core/shipment_item.rb', line 17

def self.ransackable_associations(_auth_object = nil)
  ["sales_order_item"]
end

.ransackable_attributes(_auth_object = nil) ⇒ Object



13
14
15
# File 'app/models/comee/core/shipment_item.rb', line 13

def self.ransackable_attributes(_auth_object = nil)
  %w[id delivery_date handover_date pallet_no quantity sales_order_item_id shipment_status]
end