mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-15 21:56:12 +08:00
95a36b6870
* 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]
7 lines
199 B
Ruby
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
|