Saving converts this {originalType} into a {form.type}.
{/if}
{#if problem}
{problem.from}
to {problem.to.toLowerCase()}
{problem.suggest
? `is a ${problem.suggest}, not a ${form.type}.`
: `does not work as a ${form.type}.`}
{#if problem.suggest}
{@const suggest = problem.suggest}
{/if}
{/if}
{#each form.splits as split, index (split.key)}
removeSplit(split.key)}
bind:form
/>
{/each}
{#if form.splits.length > 1}
Total of {form.splits.length} splits:
{#each totals as entry, index (entry.currency?.code ?? index)}
{money(entry.amount, entry.currency)}
{/each}
{/if}
{#if form.splits.length > 1}
{/if}
{#if editing && journals.length}
{/if}
{#if status}
{status.text}
{#each status.extra ?? [] as line (line)}
{line}
{/each}
{#if status.href}
Open
{/if}