scinote-web/app/models/repository_ledger_record.rb
artoscinote 95a36b6870
Implemented stock management modal [SCI-6417] (#3788)
* Implement inventory stock management modal [SCI-6417]

* Add generalized validation mechanic, some bugfixes [SCI-6417]

* Fix permission check and method name in RepositoryStockValue [SCI-6417]
2022-01-20 12:44:57 +01:00

7 lines
199 B
Ruby

# frozen_string_literal: true
class RepositoryLedgerRecord < ApplicationRecord
belongs_to :repository_stock_value, optional: true
belongs_to :reference, polymorphic: true
belongs_to :user
end