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