Class: Comee::Core::ShipmentItem
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Comee::Core::ShipmentItem
- Defined in:
- app/models/comee/core/shipment_item.rb
Class Method Summary collapse
- .ransackable_associations(_auth_object = nil) ⇒ Object
- .ransackable_attributes(_auth_object = nil) ⇒ Object
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 |