{#each board.months as month (month)} {/each} {#each rows as row, i (`${row.code}-${row.kind}`)} {@const first = i === 0 || rows[i - 1].code !== row.code} {#each board.months as month (month)} {@const value = row.byMonth?.get(month) ?? 0} {@const active = report.drill?.box === "currencies" && report.drill.at === month && report.drill.currency === row.code && report.drill.dir === (row.kind === "spent" ? -1 : 1)} {/each} {/each}
{shortMonth(month)} Typical Total
{first ? row.code : ""} {LABELS[row.kind]} {#if value && row.kind !== "moved"} {:else if value} {cell(row.kind, value)} {/if} {row.typical === null ? "" : formatNumber(row.typical, 0)} {cell(row.kind, row.total)}