copy(txt)} aria-label="Copy invoice"
class="break-all text-center text-secondary text-xl flex gap-1 items-center justify-center"
>
{txt}
{/if}
{#each invoice.items as i}
{@const itemTotal = i.price * i.quantity}
{i.quantity}
{i.name}
{#if $fiat}
{f(itemTotal, currency)}
{:else}
{sat(btc(itemTotal, rate))}
{/if}
{/each}
{#if amount > 0}