refactored item module → stock, added legacy database creation methods

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2025-10-12 21:51:14 +02:00
parent fea21872e3
commit 74e602eec7
21 changed files with 208 additions and 188 deletions

View File

@@ -3,10 +3,9 @@
</script>
<ul>
<li>
<button>
<span></span>
{t('add_object',{object:'item'})}
</button>
<a>
<span class="symbol"></span> {t('add_object',{object:'item'})}
</a>
</li>
<li>Item 1</li>
<li>Item 2</li>

View File

@@ -1,8 +1,15 @@
<script>
import { t } from '../../translations.svelte';
let { locations } = $props();
</script>
<ul>
<li>
<a>
<span class="symbol"></span> {t('add_object',{object:'location'})}
</a>
</li>
{#each Object.entries(locations) as [k,v]}
<li>
{k}