fix: show positive amount for "gets" in recurring payment splits
All checks were successful
CI / update (push) Successful in 1m33s
All checks were successful
CI / update (push) Successful in 1m33s
This commit is contained in:
@@ -187,7 +187,7 @@
|
||||
{#if split.amount > 0}
|
||||
owes {formatCurrency(split.amount, 'CHF', 'de-CH')}
|
||||
{:else if split.amount < 0}
|
||||
gets {formatCurrency(split.amount, 'CHF', 'de-CH')}
|
||||
gets {formatCurrency(Math.abs(split.amount), 'CHF', 'de-CH')}
|
||||
{:else}
|
||||
owes {formatCurrency(split.amount, 'CHF', 'de-CH')}
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user