{#if !rows}

Loading

{:else if rows.length === 0}

No activity was recorded on account {account?.name} between {formatDate(p.start, "long")} and {formatDate(p.end, "long")}.

{:else}

Account balance of {account?.name} at the end of {formatDate(addDays(p.start, -1), "long")} was: {money(code, before ?? 0)}

{#if show("icon")} {/if} {#if show("description")} {/if} {#if show("balance_before")} {/if} {#if show("amount")} {/if} {#if show("balance_after")} {/if} {#if show("date")} {/if} {#if show("from")} {/if} {#if show("to")} {/if} {#if show("budget")} {/if} {#if show("category")} {/if} {#if show("bill")} {/if} {#if show("created_at")} {/if} {#if show("updated_at")} {/if} {#if show("notes")} {/if} {#each dateColumns as key (key)} {/each} {#each rows as row (row.split.transaction_journal_id)} {@const s = row.split} {@const Icon = ICONS[s.type as keyof typeof ICONS] ?? ArrowLeftRight} {#if show("icon")} {/if} {#if show("description")} {/if} {#if show("balance_before")} {/if} {#if show("amount")} {/if} {#if show("balance_after")} {/if} {#if show("date")} {/if} {#if show("from")} {/if} {#if show("to")} {/if} {#if show("budget")} {/if} {#if show("category")} {/if} {#if show("bill")} {/if} {#if show("created_at")} {/if} {#if show("updated_at")} {/if} {#if show("notes")} {/if} {#each dateColumns as key (key)} {/each} {/each}
TypeDescriptionBalance beforeAmountBalance afterDateFromToBudgetCategorySubscriptionCreated atUpdated atNotes {key.replace("_date", "").replace("process", "processing")} date
{#if row.title} {row.title} ({s.description}) {:else} {s.description} {/if} {money(code, row.before)} {money(code, row.amount)} {money(code, row.after)} {formatDate(s.date, "medium")} {s.source_name} {s.destination_name} {s.budget_name ?? ""}{s.category_name ?? ""}{s.bill_name ?? ""} {formatDateTime(row.created)} {formatDateTime(row.updated)} {s.notes ?? ""} {formatDate(s[key] ?? null, "medium")}

Account balance of {account?.name} at the end of {formatDate(p.end, "long")} was: {money(code, after ?? 0)}

{/if}