{$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} Liquid {:else if i.type === types.ecash} Ecash {/if} {i.type}
{i.hash}
{#if memo}
{memo}
{/if} {#if open[idx]} {/if}
{s(i.received, locale)} / {s(i.amount, locale)}
{:else}

{$t("payments.empty")}

{/each}