{#each totals as total (total.code)}
{#if tone === "plain"} {formatMoney(total)} {:else} {/if}
{:else} {#if empty} {empty} {/if} {/each}