working on update of transactions

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2026-04-10 09:30:41 +02:00
parent 90a7c5dd18
commit 0c6e5850d2
4 changed files with 33 additions and 12 deletions

View File

@@ -15,8 +15,12 @@
return false;
}
async function setDate(newDate){
return await update({date:newDate});
async function setDate(date){
return await update({date});
}
async function setPurpose(purpose){
return await update({purpose});
}
</script>
@@ -42,7 +46,9 @@
{transaction.destination.value}
{/if}
</td>
<td class="purpose">{transaction.purpose}</td>
<td class="purpose">
<LineEditor wrapper="span" editable="true" value={transaction.purpose} onSet={setPurpose} />
</td>
<td class="tags">
{transaction.tags.join(', ')}
</td>