diff options
| author | Adam Soltys <[email protected]> | 2022-07-25 22:44:21 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-07-25 22:44:21 -0700 |
| commit | 28836fc276a75e71dc556ba42b1b499e260ba175 (patch) | |
| tree | d2c2bf2ff0270dfe5a9973df344bada2fdbaabbb /src/routes | |
| parent | 011ec3a04729104d5d765a868dcbdd5ce1b03916 (diff) | |
| download | coinos-ui-28836fc276a75e71dc556ba42b1b499e260ba175.tar.gz coinos-ui-28836fc276a75e71dc556ba42b1b499e260ba175.zip | |
loop over payments
Diffstat (limited to 'src/routes')
| -rw-r--r-- | src/routes/invoice.svelte | 10 |
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} + |
