implemented display of notes related to stock items
Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
@@ -7,6 +7,7 @@
|
|||||||
import Locations from './Locations.svelte';
|
import Locations from './Locations.svelte';
|
||||||
import ItemList from './ItemList.svelte';
|
import ItemList from './ItemList.svelte';
|
||||||
import ItemProps from './ItemProps.svelte';
|
import ItemProps from './ItemProps.svelte';
|
||||||
|
import Notes from '../notes/RelatedNotes.svelte';
|
||||||
|
|
||||||
|
|
||||||
let items = $derived.by(loadItems);
|
let items = $derived.by(loadItems);
|
||||||
@@ -83,4 +84,7 @@
|
|||||||
<div class="properties">
|
<div class="properties">
|
||||||
<ItemProps {item} {properties} />
|
<ItemProps {item} {properties} />
|
||||||
</div>
|
</div>
|
||||||
|
{#if item}
|
||||||
|
<Notes module="stock" entity_id={item.id} />
|
||||||
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
Reference in New Issue
Block a user