mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
feat: disaply grossAmount in payment history
This commit is contained in:
1 parent
626010f131
commit
d983d1a096
1 file changed
+4
-3
@@ -20,6 +20,7 @@
|
||||
import { paymentMethods } from '$lib/stores/billing';
|
||||
import { onMount } from 'svelte';
|
||||
import { sdk } from '$lib/stores/sdk';
|
||||
import { formatCurrency } from '$lib/helpers/numbers';
|
||||
|
||||
const endpoint = VARS.APPWRITE_ENDPOINT ?? `${$page.url.origin}/v1`;
|
||||
export let show = false;
|
||||
@@ -122,9 +123,9 @@
|
||||
title="Retry payment">
|
||||
<!-- TODO: format currency -->
|
||||
<p class="text">
|
||||
Your payment of <span class="inline-tag">${invoice.amount}</span> due on {toLocaleDate(
|
||||
invoice.dueAt
|
||||
)} has failed. Retry your payment to avoid service interruptions with your projects.
|
||||
Your payment of <span class="inline-tag">${formatCurrency(invoice.grossAmount)}</span> due
|
||||
on {toLocaleDate(invoice.dueAt)} has failed. Retry your payment to avoid service interruptions
|
||||
with your projects.
|
||||
</p>
|
||||
|
||||
<Button
|
||||
|
||||
Reference in new issue
Block a user