Fixed leftover

This commit is contained in:
Elias Jansson
2025-07-24 11:18:51 +02:00
parent cbcaea41a5
commit 846a42f9e7

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) {