started to implement updates on transactions

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2026-04-10 09:23:26 +02:00
parent ec3add70c6
commit 90a7c5dd18
21 changed files with 215 additions and 68 deletions
+1 -1
View File
@@ -263,7 +263,7 @@
<div class="items">
{#if location}
<h3>
<LineEditor editable={true} bind:value={location.name} type="span" onSet={newName => patchLocation(location,'name',newName)} />
<LineEditor editable={true} bind:value={location.name} wrapper="span" onSet={newName => patchLocation(location,'name',newName)} />
<button class="symbol" title={t('delete_object',{object:t('location')})} onclick={e => deleteLocation(location)}></button>
{#if location.parent_location_id}
<button class="symbol" title={t('move_to_top')} onclick={e => moveToTop(location)}></button>
+2 -2
View File
@@ -68,7 +68,7 @@
</script>
{#if item}
<LineEditor type="h3" editable={true} value={item.name} onSet={v => update('name',v)} />
<LineEditor wrapper="h3" editable={true} value={item.name} onSet={v => update('name',v)} />
<button class="clone symbol" title={t('clone')} onclick={doClone}></button>
<div>
{@html item.description.rendered}
@@ -80,7 +80,7 @@
{t('ID')}
</td>
<td>
<LineEditor type="span" editable={true} value={item.code} onSet={v => update('code',v)} />
<LineEditor wrapper="span" editable={true} value={item.code} onSet={v => update('code',v)} />
</td>
</tr>
{#each item.properties.toSorted(byName) as prop}