This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user