Commit 5967cec
Pass splitExpensesTotal when updating splits after offline deletion
When deleting a split child transaction offline, useDeleteTransactions
calls updateSplitTransactions without splitExpensesTotal. This causes
it to default to 0, making changesInReportTotal equal to the sum of
remaining splits instead of 0. The report total then incorrectly adds
those amounts on top of the existing total.
Co-authored-by: Situ Chandra Shil <situchan@users.noreply.github.com>1 parent a8dad1c commit 5967cec
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
| 161 | + | |
161 | 162 | | |
162 | 163 | | |
163 | 164 | | |
| |||
0 commit comments