| {#each COLONNE as c (c.chiave)} {#if (mostraPagato || !c.soloAcquisti) && (conListino || !c.vuoleListino)} | {/if} {/each} | |||||
|---|---|---|---|---|---|---|
|
{#if r.thumbnail}
|
{r.nome} | {#if conListino}{r.listino === null ? '—' : EURO.format(r.listino)} | {/if} {#if mostraPagato}{EURO.format(r.pagato ?? 0)} | {#if conListino}{sconto(r) === null ? '—' : EURO.format(sconto(r)!)} | {scontoPercento(r) === null ? '—' : `${PERCENTO.format(scontoPercento(r)!)}%`} | {/if} {/if}{r.annoAcquisto ?? '—'} |
| Totale | {#if conListino}{EURO.format(totListino)} | {/if} {#if mostraPagato}{EURO.format(totPagato)} | {#if conListino}{EURO.format(totListino - totPagato)} | {totListino ? `${PERCENTO.format(((totListino - totPagato) / totListino) * 100)}%` : '—'} | {/if} {/if}