working on entry form

Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
2026-04-01 23:26:04 +02:00
parent 5dcd8be93a
commit 71f91f0f61
5 changed files with 124 additions and 3 deletions

View File

@@ -1 +1,16 @@
<h1>Accounts</h1>
<script>
import { useTinyRouter } from 'svelte-tiny-router';
import { t } from '../../translations.svelte';
const router = useTinyRouter();
function newAccount(){
router.navigate('/accounting/new');
}
</script>
<fieldset>
<legend>{t('accounts')}</legend>
<button onclick={newAccount}>{t('create_new_object',{'object':t('account')})}</button>
</fieldset>