changes in course
This commit is contained in:
parent
7cf32ca331
commit
3186c8251c
@ -10,6 +10,7 @@ app.controller('dashboardCtrl', ["$scope","toaster", "$filter", "ngTableParams",
|
||||
* this method called from view ng-init directive
|
||||
* created by kms
|
||||
* */
|
||||
$scope.todayFolloupDetails="";
|
||||
$scope.initCallTracking = function () {
|
||||
var getCallTrack = {
|
||||
method: 'POST',
|
||||
@ -25,15 +26,14 @@ app.controller('dashboardCtrl', ["$scope","toaster", "$filter", "ngTableParams",
|
||||
if (response.data.status==200) {
|
||||
if(response.data.todayStatus){
|
||||
$scope.todayFolloupDetails=response.data.todayFolloupDetails;
|
||||
console.log($scope.todayFolloupDetails)
|
||||
}
|
||||
else{
|
||||
$scope.todayFolloupDetails=response.data.todayFolloupDetails;
|
||||
$scope.todayFolloupDetails='EMPTY';
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
$scope.todayFolloupDetails="No Folloups today!";
|
||||
$scope.todayFolloupDetails='EMPTY';
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user