Class: Cats::Core::TransportRequisitionItem
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Cats::Core::TransportRequisitionItem
- Defined in:
- app/models/cats/core/transport_requisition_item.rb
Instance Method Summary collapse
Instance Method Details
#commodity_name ⇒ Object
15 16 17 |
# File 'app/models/cats/core/transport_requisition_item.rb', line 15 def commodity_name dispatch_plan_item.commodity.name end |
#fdp ⇒ Object
19 20 21 |
# File 'app/models/cats/core/transport_requisition_item.rb', line 19 def fdp dispatch_plan_item.destination.name end |
#region ⇒ Object
31 32 33 |
# File 'app/models/cats/core/transport_requisition_item.rb', line 31 def region dispatch_plan_item.destination.root.name end |
#woreda ⇒ Object
23 24 25 |
# File 'app/models/cats/core/transport_requisition_item.rb', line 23 def woreda dispatch_plan_item.destination.parent.name end |
#zone ⇒ Object
27 28 29 |
# File 'app/models/cats/core/transport_requisition_item.rb', line 27 def zone dispatch_plan_item.destination.parent.parent.name end |