aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes')
-rw-r--r--src/routes/invoice.svelte10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/routes/invoice.svelte b/src/routes/invoice.svelte
index 40a66a24..7df1cb99 100644
--- a/src/routes/invoice.svelte
+++ b/src/routes/invoice.svelte
@@ -1,5 +1,5 @@
<script>
- import { rate } from '$lib/store';
+ import { rate, user } from '$lib/store';
import { onMount } from 'svelte';
export let text;
@@ -10,3 +10,11 @@ QR code
{text}
{$rate}
+
+{$user?.username}
+
+
+{#each $user.payments as p}
+ {p.amount}<br/>
+{/each}
+