Manual Ledger Entry
{#each teamNames as team}
{ inputPoints[team] = (e.target as HTMLInputElement).value; }}
class="border rounded px-2 py-1 w-20"
/>
{/each}
{#snippet header()}
| ID |
Type |
Event |
{#each teamNames as team}
{team} |
{/each}
Time |
{/snippet}
{#snippet row(entry: LedgerEntry)}
{entry.id} |
{entry.type} |
{entry.eventName} |
{#each teamNames as team}
{entry.teamPoints[team] !== undefined ? formatPoints(entry.teamPoints[team]) : ''}
|
{/each}
{formatTime(entry.timestamp)} |
{/snippet}
{entries.length} entries shown