select all option fixed in all reports
This commit is contained in:
parent
49a75d8a4c
commit
d2d4480ad8
@ -166,6 +166,9 @@ app.controller('report_ans_bookletCtrl', ["$scope", "$filter","$rootScope","$mod
|
|||||||
$scope.exportData = function () {
|
$scope.exportData = function () {
|
||||||
alasql('SELECT CAST(SL_NO AS NUMBER) as SLNO,Enrollment_id as EnrollmentID,Student_name as StudentName,Father_name as FatherName,Course_name as CourseName,Sem_year as SemYear,University as University,CAST(balance AS NUMBER) as BalanceFee,issuedate as IssuedToStudentDate,rcvedate as ReceivedFromStudentDate,Status as AnswerBookletStatus,Date as Date INTO XLS("Answer_booklet_status.xls",?) FROM ?',[mystyle,$scope.ans_book_data]);
|
alasql('SELECT CAST(SL_NO AS NUMBER) as SLNO,Enrollment_id as EnrollmentID,Student_name as StudentName,Father_name as FatherName,Course_name as CourseName,Sem_year as SemYear,University as University,CAST(balance AS NUMBER) as BalanceFee,issuedate as IssuedToStudentDate,rcvedate as ReceivedFromStudentDate,Status as AnswerBookletStatus,Date as Date INTO XLS("Answer_booklet_status.xls",?) FROM ?',[mystyle,$scope.ans_book_data]);
|
||||||
};
|
};
|
||||||
|
$scope.$watch(function () {
|
||||||
|
$scope.filteredItems = $scope.$eval(" ans_book_data | filter: search ");
|
||||||
|
});
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Auto Call Tracking Sriram
|
* Auto Call Tracking Sriram
|
||||||
@ -176,14 +179,14 @@ app.controller('report_ans_bookletCtrl', ["$scope", "$filter","$rootScope","$mod
|
|||||||
if(val)
|
if(val)
|
||||||
{
|
{
|
||||||
// $scope.disable = false;
|
// $scope.disable = false;
|
||||||
var len = $scope.ans_book_data.length;
|
var len = $scope.filteredItems.length;
|
||||||
var i = 0;
|
var i = 0;
|
||||||
for(i=0;i<len;i++)
|
for(i=0;i<len;i++)
|
||||||
{
|
{
|
||||||
if($scope.selectedStudentsID.indexOf($scope.ans_book_data[i]) === -1)
|
if($scope.selectedStudentsID.indexOf($scope.filteredItems[i]) === -1)
|
||||||
{
|
{
|
||||||
|
|
||||||
$scope.selectedStudentsID.push($scope.ans_book_data[i]);
|
$scope.selectedStudentsID.push($scope.filteredItems[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -171,7 +171,9 @@ app.controller('report_app_pendingCtrl', ["$scope", "$filter","$rootScope","$mod
|
|||||||
alasql('SELECT CAST(SL_NO AS NUMBER) as SLNO,InitialPayDate as InititalPaymentDate,EnrollmentNumber as EnrollmentID,Student_name as StudentName,FatherName as FatherName,Course_name as CourseName,Sem_Year as SemYear,University as University,FormType as FormType,StatusName as ApplicationPendingStatus,StatusUpdationOn as Date INTO XLS("New_RegFormStatusReport.xls",?) FROM ?',[mystyle,$scope.app_pending_data]);
|
alasql('SELECT CAST(SL_NO AS NUMBER) as SLNO,InitialPayDate as InititalPaymentDate,EnrollmentNumber as EnrollmentID,Student_name as StudentName,FatherName as FatherName,Course_name as CourseName,Sem_Year as SemYear,University as University,FormType as FormType,StatusName as ApplicationPendingStatus,StatusUpdationOn as Date INTO XLS("New_RegFormStatusReport.xls",?) FROM ?',[mystyle,$scope.app_pending_data]);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
$scope.$watch(function () {
|
||||||
|
$scope.filteredItems = $scope.$eval(" app_pending_data | filter: search ");
|
||||||
|
});
|
||||||
/**
|
/**
|
||||||
* Auto Call Tracking Sriram
|
* Auto Call Tracking Sriram
|
||||||
*/
|
*/
|
||||||
@ -181,14 +183,14 @@ app.controller('report_app_pendingCtrl', ["$scope", "$filter","$rootScope","$mod
|
|||||||
if(val)
|
if(val)
|
||||||
{
|
{
|
||||||
// $scope.disable = false;
|
// $scope.disable = false;
|
||||||
var len = $scope.app_pending_data.length;
|
var len = $scope.filteredItems.length;
|
||||||
var i = 0;
|
var i = 0;
|
||||||
for(i=0;i<len;i++)
|
for(i=0;i<len;i++)
|
||||||
{
|
{
|
||||||
if($scope.selectedStudentsID.indexOf($scope.app_pending_data[i]) === -1)
|
if($scope.selectedStudentsID.indexOf($scope.filteredItems[i]) === -1)
|
||||||
{
|
{
|
||||||
|
|
||||||
$scope.selectedStudentsID.push($scope.app_pending_data[i]);
|
$scope.selectedStudentsID.push($scope.filteredItems[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -171,7 +171,9 @@ app.controller('report_app_pending_oldDataCtrl', ["$scope", "$filter","$rootScop
|
|||||||
alasql('SELECT CAST(SL_NO AS NUMBER) as SLNO,init_date as InititalPaymentDate,eid as EnrollmentID,Student_name as StudentName,FatherName as FatherName,Course_name as CourseName,University as University,StatusName as ApplicationPendingStatus,adate as Date INTO XLS("ApplicationStatusReport.xls",?) FROM ?',[mystyle,$scope.app_pending_data]);
|
alasql('SELECT CAST(SL_NO AS NUMBER) as SLNO,init_date as InititalPaymentDate,eid as EnrollmentID,Student_name as StudentName,FatherName as FatherName,Course_name as CourseName,University as University,StatusName as ApplicationPendingStatus,adate as Date INTO XLS("ApplicationStatusReport.xls",?) FROM ?',[mystyle,$scope.app_pending_data]);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
$scope.$watch(function () {
|
||||||
|
$scope.filteredItems = $scope.$eval(" app_pending_data | filter: search ");
|
||||||
|
});
|
||||||
/**
|
/**
|
||||||
* Auto Call Tracking Sriram
|
* Auto Call Tracking Sriram
|
||||||
*/
|
*/
|
||||||
@ -181,14 +183,14 @@ app.controller('report_app_pending_oldDataCtrl', ["$scope", "$filter","$rootScop
|
|||||||
if(val)
|
if(val)
|
||||||
{
|
{
|
||||||
// $scope.disable = false;
|
// $scope.disable = false;
|
||||||
var len = $scope.app_pending_data.length;
|
var len = $scope.filteredItems.length;
|
||||||
var i = 0;
|
var i = 0;
|
||||||
for(i=0;i<len;i++)
|
for(i=0;i<len;i++)
|
||||||
{
|
{
|
||||||
if($scope.selectedStudentsID.indexOf($scope.app_pending_data[i]) === -1)
|
if($scope.selectedStudentsID.indexOf($scope.filteredItems[i]) === -1)
|
||||||
{
|
{
|
||||||
|
|
||||||
$scope.selectedStudentsID.push($scope.app_pending_data[i]);
|
$scope.selectedStudentsID.push($scope.filteredItems[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -47,6 +47,7 @@ app.controller('report_balfeeCtrl', ["$scope", "$filter","$rootScope","$modal",
|
|||||||
// $scope.serial = newPageNumber * $scope.itemPerPage - ($scope.itemPerPage-1);
|
// $scope.serial = newPageNumber * $scope.itemPerPage - ($scope.itemPerPage-1);
|
||||||
// }
|
// }
|
||||||
//to filter labels
|
//to filter labels
|
||||||
|
|
||||||
$scope.univModel = {
|
$scope.univModel = {
|
||||||
"branch": "",
|
"branch": "",
|
||||||
"university": "",
|
"university": "",
|
||||||
@ -196,6 +197,9 @@ app.controller('report_balfeeCtrl', ["$scope", "$filter","$rootScope","$modal",
|
|||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
$scope.$watch(function () {
|
||||||
|
$scope.filteredItems = $scope.$eval(" returnResultData | filter: search ");
|
||||||
|
});
|
||||||
//Export to excel
|
//Export to excel
|
||||||
var mystyle = {
|
var mystyle = {
|
||||||
sheetid: 'FEE BALANCE REPORT',
|
sheetid: 'FEE BALANCE REPORT',
|
||||||
@ -229,14 +233,14 @@ app.controller('report_balfeeCtrl', ["$scope", "$filter","$rootScope","$modal",
|
|||||||
if(val)
|
if(val)
|
||||||
{
|
{
|
||||||
// $scope.disable = false;
|
// $scope.disable = false;
|
||||||
var len = $scope.balfee_data.length;
|
var len = $scope.filteredItems.length;
|
||||||
var i = 0;
|
var i = 0;
|
||||||
for(i=0;i<len;i++)
|
for(i=0;i<len;i++)
|
||||||
{
|
{
|
||||||
if($scope.selectedStudentsID.indexOf($scope.balfee_data[i]) === -1)
|
if($scope.selectedStudentsID.indexOf($scope.filteredItems[i]) === -1)
|
||||||
{
|
{
|
||||||
|
|
||||||
$scope.selectedStudentsID.push($scope.balfee_data[i]);
|
$scope.selectedStudentsID.push($scope.filteredItems[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -167,7 +167,9 @@ app.controller('report_certificateCtrl', ["$scope", "$filter","$rootScope","$mod
|
|||||||
$scope.exportData = function () {
|
$scope.exportData = function () {
|
||||||
alasql('SELECT CAST(SL_NO AS NUMBER) as SLNO,initialPaid as CertificateFeePaidDate,Enrollment_id as EnrollmentID,Student_name as StudentName,Father_name as FatherName,Course_name as CourseName,University as University,CAST(balance AS NUMBER) as Balance,certname as CertificateName,status as CertificateStatus,adate as Date INTO XLS("Certificate_status.xls",?) FROM ?',[mystyle,$scope.cert_data]);
|
alasql('SELECT CAST(SL_NO AS NUMBER) as SLNO,initialPaid as CertificateFeePaidDate,Enrollment_id as EnrollmentID,Student_name as StudentName,Father_name as FatherName,Course_name as CourseName,University as University,CAST(balance AS NUMBER) as Balance,certname as CertificateName,status as CertificateStatus,adate as Date INTO XLS("Certificate_status.xls",?) FROM ?',[mystyle,$scope.cert_data]);
|
||||||
};
|
};
|
||||||
|
$scope.$watch(function () {
|
||||||
|
$scope.filteredItems = $scope.$eval(" cert_data | filter: search ");
|
||||||
|
});
|
||||||
/**
|
/**
|
||||||
* Auto Call Tracking Sriram
|
* Auto Call Tracking Sriram
|
||||||
*/
|
*/
|
||||||
@ -177,14 +179,14 @@ app.controller('report_certificateCtrl', ["$scope", "$filter","$rootScope","$mod
|
|||||||
if(val)
|
if(val)
|
||||||
{
|
{
|
||||||
// $scope.disable = false;
|
// $scope.disable = false;
|
||||||
var len = $scope.cert_data.length;
|
var len = $scope.filteredItems.length;
|
||||||
var i = 0;
|
var i = 0;
|
||||||
for(i=0;i<len;i++)
|
for(i=0;i<len;i++)
|
||||||
{
|
{
|
||||||
if($scope.selectedStudentsID.indexOf($scope.cert_data[i]) === -1)
|
if($scope.selectedStudentsID.indexOf($scope.filteredItems[i]) === -1)
|
||||||
{
|
{
|
||||||
|
|
||||||
$scope.selectedStudentsID.push($scope.cert_data[i]);
|
$scope.selectedStudentsID.push($scope.filteredItems[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -167,7 +167,9 @@ app.controller('report_doc_pendingCtrl', ["$scope", "$filter","$rootScope","$mod
|
|||||||
$scope.exportData = function () {
|
$scope.exportData = function () {
|
||||||
alasql('SELECT CAST(SL_NO AS NUMBER) as SLNO,Admission_date as AdmissionDate,Enrollment_id as EnrollmentID,Student_name as StudentName,Father_name as FatherName,Course_name as CourseName,University as University,fdate as Followupdate,certname as DocumentName INTO XLS("Document_pending_student_list.xls",?) FROM ?',[mystyle,$scope.doc_pending_data]);
|
alasql('SELECT CAST(SL_NO AS NUMBER) as SLNO,Admission_date as AdmissionDate,Enrollment_id as EnrollmentID,Student_name as StudentName,Father_name as FatherName,Course_name as CourseName,University as University,fdate as Followupdate,certname as DocumentName INTO XLS("Document_pending_student_list.xls",?) FROM ?',[mystyle,$scope.doc_pending_data]);
|
||||||
};
|
};
|
||||||
|
$scope.$watch(function () {
|
||||||
|
$scope.filteredItems = $scope.$eval(" doc_pending_data | filter: search ");
|
||||||
|
});
|
||||||
/**
|
/**
|
||||||
* Auto Call Tracking Sriram
|
* Auto Call Tracking Sriram
|
||||||
*/
|
*/
|
||||||
@ -177,14 +179,14 @@ app.controller('report_doc_pendingCtrl', ["$scope", "$filter","$rootScope","$mod
|
|||||||
if(val)
|
if(val)
|
||||||
{
|
{
|
||||||
// $scope.disable = false;
|
// $scope.disable = false;
|
||||||
var len = $scope.doc_pending_data.length;
|
var len = $scope.filteredItems.length;
|
||||||
var i = 0;
|
var i = 0;
|
||||||
for(i=0;i<len;i++)
|
for(i=0;i<len;i++)
|
||||||
{
|
{
|
||||||
if($scope.selectedStudentsID.indexOf($scope.doc_pending_data[i]) === -1)
|
if($scope.selectedStudentsID.indexOf($scope.filteredItems[i]) === -1)
|
||||||
{
|
{
|
||||||
|
|
||||||
$scope.selectedStudentsID.push($scope.doc_pending_data[i]);
|
$scope.selectedStudentsID.push($scope.filteredItems[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -167,7 +167,9 @@ app.controller('report_examfeeCtrl', ["$scope", "$filter","$rootScope","$modal",
|
|||||||
$scope.exportData = function () {
|
$scope.exportData = function () {
|
||||||
alasql('SELECT CAST(SL_NO AS NUMBER) as SLNO,Enrollment_id as EnrollmentID,Student_name as StudentName,Father_name as FatherName,Course_name as CourseName,Sem_year as SemYear,University as University,CAST(Amount AS NUMBER) as ExamWritingFee,Comments as Comments INTO XLS("Exam_writing_fee_report.xls",?) FROM ?',[mystyle,$scope.examfee_data]);
|
alasql('SELECT CAST(SL_NO AS NUMBER) as SLNO,Enrollment_id as EnrollmentID,Student_name as StudentName,Father_name as FatherName,Course_name as CourseName,Sem_year as SemYear,University as University,CAST(Amount AS NUMBER) as ExamWritingFee,Comments as Comments INTO XLS("Exam_writing_fee_report.xls",?) FROM ?',[mystyle,$scope.examfee_data]);
|
||||||
};
|
};
|
||||||
|
$scope.$watch(function () {
|
||||||
|
$scope.filteredItems = $scope.$eval(" examfee_data | filter: search ");
|
||||||
|
});
|
||||||
/**
|
/**
|
||||||
* Auto Call Tracking Sriram
|
* Auto Call Tracking Sriram
|
||||||
*/
|
*/
|
||||||
@ -177,14 +179,14 @@ app.controller('report_examfeeCtrl', ["$scope", "$filter","$rootScope","$modal",
|
|||||||
if(val)
|
if(val)
|
||||||
{
|
{
|
||||||
// $scope.disable = false;
|
// $scope.disable = false;
|
||||||
var len = $scope.examfee_data.length;
|
var len = $scope.filteredItems.length;
|
||||||
var i = 0;
|
var i = 0;
|
||||||
for(i=0;i<len;i++)
|
for(i=0;i<len;i++)
|
||||||
{
|
{
|
||||||
if($scope.selectedStudentsID.indexOf($scope.examfee_data[i]) === -1)
|
if($scope.selectedStudentsID.indexOf($scope.filteredItems[i]) === -1)
|
||||||
{
|
{
|
||||||
|
|
||||||
$scope.selectedStudentsID.push($scope.examfee_data[i]);
|
$scope.selectedStudentsID.push($scope.filteredItems[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -177,6 +177,9 @@ app.controller('report_markcard_certificateCtrl', ["$scope", "$filter","$rootSco
|
|||||||
$scope.exportData = function () {
|
$scope.exportData = function () {
|
||||||
alasql('SELECT CAST(SL_NO AS NUMBER) as SLNO,Student_name as StudentName,Father_name as FatherName,University as University,Course_name as CourseName,Sem_year as SemYear,Certificate_name as CertificateName,rstatus as ReceivedStatus,rdate as ReceivedDate,istatus as IssuedStatus,issuedate as IssuedDate,acmts as CertificateIssuedComments,CAST(Balance_fee AS NUMBER) as BalanceFee INTO XLS("Markcard/Certificate_status.xls",?) FROM ?',[mystyle,$scope.mark_cert_data]);
|
alasql('SELECT CAST(SL_NO AS NUMBER) as SLNO,Student_name as StudentName,Father_name as FatherName,University as University,Course_name as CourseName,Sem_year as SemYear,Certificate_name as CertificateName,rstatus as ReceivedStatus,rdate as ReceivedDate,istatus as IssuedStatus,issuedate as IssuedDate,acmts as CertificateIssuedComments,CAST(Balance_fee AS NUMBER) as BalanceFee INTO XLS("Markcard/Certificate_status.xls",?) FROM ?',[mystyle,$scope.mark_cert_data]);
|
||||||
};
|
};
|
||||||
|
$scope.$watch(function () {
|
||||||
|
$scope.filteredItems = $scope.$eval(" mark_cert_data | filter: search ");
|
||||||
|
});
|
||||||
/**
|
/**
|
||||||
* Auto Call Tracking Sriram
|
* Auto Call Tracking Sriram
|
||||||
*/
|
*/
|
||||||
@ -186,14 +189,14 @@ app.controller('report_markcard_certificateCtrl', ["$scope", "$filter","$rootSco
|
|||||||
if(val)
|
if(val)
|
||||||
{
|
{
|
||||||
// $scope.disable = false;
|
// $scope.disable = false;
|
||||||
var len = $scope.mark_cert_data.length;
|
var len = $scope.filteredItems.length;
|
||||||
var i = 0;
|
var i = 0;
|
||||||
for(i=0;i<len;i++)
|
for(i=0;i<len;i++)
|
||||||
{
|
{
|
||||||
if($scope.selectedStudentsID.indexOf($scope.mark_cert_data[i]) === -1)
|
if($scope.selectedStudentsID.indexOf($scope.filteredItems[i]) === -1)
|
||||||
{
|
{
|
||||||
|
|
||||||
$scope.selectedStudentsID.push($scope.mark_cert_data[i]);
|
$scope.selectedStudentsID.push($scope.filteredItems[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -165,6 +165,9 @@ app.controller('report_markcard_statusCtrl', ["$scope", "$filter","$rootScope",
|
|||||||
$scope.exportData = function () {
|
$scope.exportData = function () {
|
||||||
alasql('SELECT CAST(SL_NO AS NUMBER) as SLNO,Initial_paid_date as InitialPaidDate,Enrollment_id as EnrollmentID,Roll_NO as RollNO,Student_name as StudentName,Father_name as FatherName,Course_name as CourseName,Sem_year as SemYear,University as University,CAST(Balance_Fee AS NUMBER) as BalanceFee,appdate as ApplicationSentDate,ansdate as AnswerBookletSentDate,Status as MarkCardStatus,Date as Date INTO XLS("Markcard_status.xls",?) FROM ?',[mystyle,$scope.markcard_data]);
|
alasql('SELECT CAST(SL_NO AS NUMBER) as SLNO,Initial_paid_date as InitialPaidDate,Enrollment_id as EnrollmentID,Roll_NO as RollNO,Student_name as StudentName,Father_name as FatherName,Course_name as CourseName,Sem_year as SemYear,University as University,CAST(Balance_Fee AS NUMBER) as BalanceFee,appdate as ApplicationSentDate,ansdate as AnswerBookletSentDate,Status as MarkCardStatus,Date as Date INTO XLS("Markcard_status.xls",?) FROM ?',[mystyle,$scope.markcard_data]);
|
||||||
};
|
};
|
||||||
|
$scope.$watch(function () {
|
||||||
|
$scope.filteredItems = $scope.$eval(" markcard_data | filter: search ");
|
||||||
|
});
|
||||||
/**
|
/**
|
||||||
* Auto Call Tracking Sriram
|
* Auto Call Tracking Sriram
|
||||||
*/
|
*/
|
||||||
@ -174,14 +177,14 @@ app.controller('report_markcard_statusCtrl', ["$scope", "$filter","$rootScope",
|
|||||||
if(val)
|
if(val)
|
||||||
{
|
{
|
||||||
// $scope.disable = false;
|
// $scope.disable = false;
|
||||||
var len = $scope.markcard_data.length;
|
var len = $scope.filteredItems.length;
|
||||||
var i = 0;
|
var i = 0;
|
||||||
for(i=0;i<len;i++)
|
for(i=0;i<len;i++)
|
||||||
{
|
{
|
||||||
if($scope.selectedStudentsID.indexOf($scope.markcard_data[i]) === -1)
|
if($scope.selectedStudentsID.indexOf($scope.filteredItems[i]) === -1)
|
||||||
{
|
{
|
||||||
|
|
||||||
$scope.selectedStudentsID.push($scope.markcard_data[i]);
|
$scope.selectedStudentsID.push($scope.filteredItems[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -164,13 +164,9 @@ $scope.exportData = function () {
|
|||||||
alasql('SELECT CAST(SL_NO AS NUMBER) as SLNO,Initial_paid_date as InitialPaidDate,Enrollment_id as EnrollmentId,Student_name as StudentName,Father_name as FatherName,Course_name as CourseName,Sem as SemYear,University,CAST(Balance_fee AS NUMBER) as BalanceFee,appdate as ApplicationSendtoUnivDate,Status as StudyMaterialStatus,Date as Date INTO XLS("Study_material_status.xls",?) FROM ?',[mystyle,$scope.study_mat_data]);
|
alasql('SELECT CAST(SL_NO AS NUMBER) as SLNO,Initial_paid_date as InitialPaidDate,Enrollment_id as EnrollmentId,Student_name as StudentName,Father_name as FatherName,Course_name as CourseName,Sem as SemYear,University,CAST(Balance_fee AS NUMBER) as BalanceFee,appdate as ApplicationSendtoUnivDate,Status as StudyMaterialStatus,Date as Date INTO XLS("Study_material_status.xls",?) FROM ?',[mystyle,$scope.study_mat_data]);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
$scope.$watch(function () {
|
||||||
|
$scope.filteredItems = $scope.$eval(" study_mat_data | filter: search ");
|
||||||
$scope.exportExcel= function () {
|
});
|
||||||
alasql('SELECT * INTO CSV("Study_material_status.csv",{headers:true}) \
|
|
||||||
FROM HTML("#data",{headers:true})');
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Auto Call Tracking Status
|
* Auto Call Tracking Status
|
||||||
*/
|
*/
|
||||||
@ -180,14 +176,14 @@ $scope.exportExcel= function () {
|
|||||||
if(val)
|
if(val)
|
||||||
{
|
{
|
||||||
// $scope.disable = false;
|
// $scope.disable = false;
|
||||||
var len = $scope.study_mat_data.length;
|
var len = $scope.filteredItems.length;
|
||||||
var i = 0;
|
var i = 0;
|
||||||
for(i=0;i<len;i++)
|
for(i=0;i<len;i++)
|
||||||
{
|
{
|
||||||
if($scope.selectedStudentsID.indexOf($scope.study_mat_data[i]) === -1)
|
if($scope.selectedStudentsID.indexOf($scope.filteredItems[i]) === -1)
|
||||||
{
|
{
|
||||||
|
|
||||||
$scope.selectedStudentsID.push($scope.study_mat_data[i]);
|
$scope.selectedStudentsID.push($scope.filteredItems[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user