Add prepaid plans to home page

This commit is contained in:
Pixeldrain-Server committed 2021-12-03 17:47:11 +01:00
1 parent 10ab97e55a
commit 893163bb4f
4 files changed
+33 -2

No files matched your search

+6 -1
View File
@@ -107,6 +107,7 @@ const load_invoices = async () => {
})
invoices = invoices_tmp
} catch (err) {
console.error(err)
alert(err)
} finally {
loading = false
@@ -170,7 +171,11 @@ onMount(() => {
</thead>
<tbody>
{#each invoices as row (row.id)}
{#if row.status === "InvoiceCreated" || row.status === "InvoiceProcessing" || show_expired}
{#if row.status === "New" ||
row.status === "InvoiceCreated" ||
row.status === "InvoiceProcessing" ||
show_expired
}
<tr>
<td>{formatDate(row.time, true, true, false)}</td>
<td><Euro amount={row.amount}></Euro></td>