still adding the 'Calculated' column

This commit is contained in:
2025-08-26 18:28:59 +01:00
parent b5d918a873
commit b6d0d98d41
16 changed files with 228 additions and 196 deletions
+2 -6
View File
@@ -204,12 +204,8 @@ func analyzeExpense(e *mod.Expense) {
// Figure out if its evenly shared by the people associated to it
e.SharesEven = ExpenseIsEvenlyShared(e)
// Create the debts
debts, err := CalculateDebts(e)
if err != nil {
// do nothing apparently
}
e.Debts = debts
// Update the calculated fields on the shares
normalizeShares(e)
}
func (s *Service) NewExpense(exp mod.Expense) error {