Fixed row color on sold under 0 but above account authorized overdraft.
This commit is contained in:
parent
a37a69888d
commit
6281e9357b
@ -128,7 +128,7 @@ var EntryController = function($scope, $http, $rootScope, $filter) {
|
||||
$scope.entryRowClass = function(sold) {
|
||||
if(sold < $scope.account.authorized_overdraft) {
|
||||
return 'error';
|
||||
} else if (entry.sold < 0) {
|
||||
} else if (esold < 0) {
|
||||
return 'warning';
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user