diff options
| author | Adam Soltys <[email protected]> | 2023-03-13 13:19:35 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-03-13 13:19:35 -0700 |
| commit | 77219cc4fa9e75d2ca2f740f024c17aa5dda9129 (patch) | |
| tree | 8c8d8b9a85536b40f9278ff62c80826e7bf522b7 /src | |
| parent | e060d628c03cce102ecdc5dd77b0d2b7a7634eae (diff) | |
| download | coinos-ui-77219cc4fa9e75d2ca2f740f024c17aa5dda9129.tar.gz coinos-ui-77219cc4fa9e75d2ca2f740f024c17aa5dda9129.zip | |
fix tip display
Diffstat (limited to 'src')
| -rw-r--r-- | src/routes/(app)/[username]/invoice/[hash]/paid/+page.svelte | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/routes/(app)/[username]/invoice/[hash]/paid/+page.svelte b/src/routes/(app)/[username]/invoice/[hash]/paid/+page.svelte index 3a281728..4d7aae51 100644 --- a/src/routes/(app)/[username]/invoice/[hash]/paid/+page.svelte +++ b/src/routes/(app)/[username]/invoice/[hash]/paid/+page.svelte @@ -21,7 +21,7 @@ {#if received} <h1 class="text-3xl md:text-4xl font-bold mb-6">{$t('invoice.paymentSuccessful')}</h1> <h2 class="text-2xl md:text-3xl font-semibold"> - {f(fiat(received - tip, rate), currency)} + {f(fiat(received, rate), currency)} {#if tip} <span class="text-lg"> + {f(fiat(tip, rate), currency)} @@ -29,7 +29,7 @@ {/if} </h2> <h3 class="text-secondary md:text-lg mb-6 mt-1"> - ⚡️{s(received - tip)} + ⚡️{s(received)} {#if tip} <span class="text-lg"> @@ -48,7 +48,7 @@ {/if} </h2> <h3 class="text-secondary md:text-lg mb-6 mt-1"> - ⚡️{s(pending - tip)} + ⚡️{s(pending)} {#if tip} <span class="text-lg"> + ⚡️{s(tip)} |
