report_balfeeCtrl.js removed 0 balance with Bitbucket by sriram
This commit is contained in:
parent
1296275d2f
commit
3aea386e0d
@ -111,10 +111,14 @@ app.controller('report_balfeeCtrl', ["$scope", "$filter","$rootScope","$modal",
|
||||
};
|
||||
|
||||
$http(response_data).then(function (response) {
|
||||
var j =0;
|
||||
if (response.data.balfeeList == true) {
|
||||
$scope.balfee_data = response.data.balfee_data;
|
||||
for(var i=0;i<$scope.balfee_data.length;i++)
|
||||
$scope.balfee_data[i].SL_NO = i+1;
|
||||
if($scope.balfee_data[i].balance !=0){
|
||||
$scope.balfee_data[i].SL_NO = j+1;
|
||||
j++;
|
||||
}
|
||||
|
||||
} else {
|
||||
$scope.message = response.data.message;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user