{$t("invoice.invoice")}
{$t("payments.type")}
{$t("invoice.invoice")}
{$t("payments.received")} / {$t("payments.amount")}
{#each invoices as i, idx} {@const memo = memoText(i.memo)}
toggle(idx)} >
{#if i.type === types.lightning || i.type === types.bolt12}
{:else if i.type === types.bitcoin}
{:else if i.type === types.liquid}
{:else if i.type === types.ecash}
{/if}
{i.type}
{i.hash}
{#if memo}
{memo}
{/if} {#if open[idx]}
{ e.stopPropagation(); copy(i.hash); }} >
{$t("payments.copy")}
{/if}
{s(i.received, locale)}
/
{s(i.amount, locale)}
{:else}
{$t("payments.empty")}
{/each}