- {#each sums as sum, i (sum.code)}
- {@render money(sum)}
- {#if i < sums.length - 1}
- ,
- {/if}
- {/each}
-
+
+ {#each sums as sum (sum.code)}
+
{@render money(sum)}
+ {/each}
{#if accountId}
@@ -484,7 +477,7 @@
{/if}
Type
Description
-
Amount
+
Amount
{#if accountId}
Balance
{/if}
diff --git a/src/routes/transactions/[type=txtype]/ListPage.svelte b/src/routes/transactions/[type=txtype]/ListPage.svelte
index c236ebf..403cc4f 100644
--- a/src/routes/transactions/[type=txtype]/ListPage.svelte
+++ b/src/routes/transactions/[type=txtype]/ListPage.svelte
@@ -9,6 +9,7 @@
import PageHeader from "#lib/components/shell/PageHeader.svelte";
import Pager from "#lib/components/transactions/Pager.svelte";
import PeriodSummary from "#lib/components/transactions/PeriodSummary.svelte";
+ import Periods from "#lib/components/transactions/Periods.svelte";
import QueryInput from "#lib/components/transactions/QueryInput.svelte";
import TransactionTable from "#lib/components/transactions/TransactionTable.svelte";
import Button from "#lib/components/ui/button/button.svelte";
@@ -191,39 +192,48 @@
/>
{/if}
-
- {#snippet tools()}
-
-
-
- {/snippet}
-
- {#snippet footer()}
- {#if everything}
- Show the current period and overview
- {:else}
- Show all transactions without grouping them by date
- {/if}
-
-
-
- {/snippet}
-
+