Fixed leftover
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Elias Jansson
2025-07-24 11:18:51 +02:00
parent 4b8c54d38d
commit 5b0a8386ad

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