Browse Source

implemented display of notes related to stock items

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
module/stock.v2
Stephan Richter 3 weeks ago
parent
commit
5831dbe7fa
  1. 4
      frontend/src/routes/stock/Index.svelte

4
frontend/src/routes/stock/Index.svelte

@ -7,6 +7,7 @@ @@ -7,6 +7,7 @@
import Locations from './Locations.svelte';
import ItemList from './ItemList.svelte';
import ItemProps from './ItemProps.svelte';
import Notes from '../notes/RelatedNotes.svelte';
let items = $derived.by(loadItems);
@ -83,4 +84,7 @@ @@ -83,4 +84,7 @@
<div class="properties">
<ItemProps {item} {properties} />
</div>
{#if item}
<Notes module="stock" entity_id={item.id} />
{/if}
</div>
Loading…
Cancel
Save