working on entry form
Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user