Class: Comee::Core::ShipmentInstructionItem
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Comee::Core::ShipmentInstructionItem
- Defined in:
- app/models/comee/core/shipment_instruction_item.rb
Instance Method Summary collapse
Instance Method Details
#set_details ⇒ Object
15 16 17 18 19 20 21 22 |
# File 'app/models/comee/core/shipment_instruction_item.rb', line 15 def set_details self.details = { customer_item_no: shipment_item.sales_order_item.customer_item_no, customer_item_description: shipment_item.sales_order_item.customer_item_description, customer_item_alias: shipment_item.sales_order_item.customer_item_alias, use_alias: shipment_item.sales_order_item.use_alias } end |