Fixed leftover

This commit is contained in:
Elias Jansson
2026-01-24 16:52:55 +01:00
parent cbcaea41a5
commit 846a42f9e7
+1 -1
View File
@@ -362,7 +362,7 @@ app.controller('BudgetController', function ($scope, $http) {
}; };
$scope.getLeftover = function () { $scope.getLeftover = function () {
return $scope.getTotalIncome() - $scope.getTotalExpense(); return $scope.getTotalIncome() - $scope.getTotalExpense() - $scope.getTotalSaving();
}; };
function positionAddItemPopup(popup, triggerButton) { function positionAddItemPopup(popup, triggerButton) {