{#each blocks as block (block.start)} {@const list = (shown.get(block.start) ?? []).filter( (f) => f.earned || f.spent )}
  • {periodLabel(block, view)} {#if list.length === 0} No transactions {/if} {#each list as flow (flow.code)} {@const fmt = money(currency(flow.code))} {@const mark = flow.approx ? "≈" : ""} {#if flow.earned} {mark}+{fmt(flow.earned)} {/if} {#if flow.spent} {mark}−{fmt(flow.spent)} {/if} {#if flow.code === main} {/if} {/each}
  • {/each}