Class: Cats::Core::PurchaseOrder

Inherits:
ApplicationRecord show all
Defined in:
app/models/cats/core/purchase_order.rb

Constant Summary collapse

LOCAL =
"Local".freeze
FOREIGN =
"Foreign".freeze
PURCHASE_TYPES =
[LOCAL, FOREIGN].freeze

Instance Method Summary collapse

Instance Method Details

#commodity_nameObject



22
23
24
# File 'app/models/cats/core/purchase_order.rb', line 22

def commodity_name
  commodity_category.name
end