diff --git a/Apollo/api/application/models/Reports_model.php b/Apollo/api/application/models/Reports_model.php index 3b2bc7e0..986367a5 100755 --- a/Apollo/api/application/models/Reports_model.php +++ b/Apollo/api/application/models/Reports_model.php @@ -1121,6 +1121,10 @@ if($feeDetails) } + //print_r( $this->db->last_query()); + //die(); + + return $result_array; } diff --git a/Apollo/assets/js/controllers/FeeCollected_reportCtrl.js b/Apollo/assets/js/controllers/FeeCollected_reportCtrl.js index 6c4ec3c7..1f173a6b 100644 --- a/Apollo/assets/js/controllers/FeeCollected_reportCtrl.js +++ b/Apollo/assets/js/controllers/FeeCollected_reportCtrl.js @@ -175,9 +175,19 @@ $scope.tod = to_dt; $scope.newreglist = response.data.details; $scope.isShow=true; $scope.isLoaderShow=false; + $scope.Totalfee =0; console.log($scope.newreglist); + + angular.forEach(($scope.newreglist),function(newreglist,key) + { + + console.log(newreglist) + + $scope.Totalfee= parseFloat($scope.Totalfee)+parseFloat(newreglist.Total); + }); + } else diff --git a/Apollo/assets/views/feecollected.html b/Apollo/assets/views/feecollected.html index 13f7a91c..1b8baa2d 100644 --- a/Apollo/assets/views/feecollected.html +++ b/Apollo/assets/views/feecollected.html @@ -172,6 +172,7 @@