mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-13 12:47:11 +08:00
c22d1e226b
* Add edit fetaure to item card stock field [SCI-9415] * Replace manage stock modal [SCI-9415] * Fix issue displaying item card [SCI-9415] * Minor improvements [SCI-9415] * Enable stock modal in assigned inventories [SCI-9415] * Use toggleable reminder value [SCI-9415]
8 lines
334 B
Ruby
8 lines
334 B
Ruby
# frozen_string_literal: true
|
|
|
|
json.stock_url update_repository_stock_repository_repository_row_url(@repository, @repository_row)
|
|
json.repository_row_name @repository_row.name
|
|
json.stock_value do
|
|
json.decimals @repository_column.metadata['decimals']
|
|
json.units @repository_column.repository_stock_unit_items.pluck(:id, :data)
|
|
end
|