implemented display of notes related to stock items

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2025-10-16 13:36:02 +02:00
parent cfa5dd7ed1
commit 5831dbe7fa

View File

@@ -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 @@
<div class="properties">
<ItemProps {item} {properties} />
</div>
{#if item}
<Notes module="stock" entity_id={item.id} />
{/if}
</div>