Dashboard issues
This commit is contained in:
parent
3a752ce495
commit
e7e5562f83
@ -251,8 +251,9 @@ class Dashboard_Controller extends REST_Controller {
|
||||
}
|
||||
}
|
||||
public function leadToday_post(){
|
||||
$data = $this->post('data');
|
||||
$leadToday = $this->dashboard_model->leadToday();
|
||||
$branchId = $this->post('branchId');
|
||||
$requestedBy = $this->post('requestedBy');
|
||||
$leadToday = $this->dashboard_model->leadToday($branchId,$requestedBy);
|
||||
if ($leadToday) {
|
||||
$leadToday['status'] = REST_Controller::HTTP_OK;
|
||||
// Set the response and exit
|
||||
@ -268,8 +269,9 @@ class Dashboard_Controller extends REST_Controller {
|
||||
}
|
||||
}
|
||||
public function leadMonth_post(){
|
||||
$data = $this->post('data');
|
||||
$leadMonth = $this->dashboard_model->leadMonth();
|
||||
$branchId = $this->post('branchId');
|
||||
$requestedBy = $this->post('requestedBy');
|
||||
$leadMonth = $this->dashboard_model->leadMonth($branchId,$requestedBy);
|
||||
if ($leadMonth) {
|
||||
$leadMonth['status'] = REST_Controller::HTTP_OK;
|
||||
// Set the response and exit
|
||||
@ -285,8 +287,9 @@ class Dashboard_Controller extends REST_Controller {
|
||||
}
|
||||
}
|
||||
public function leadTodayClosed_post(){
|
||||
$data = $this->post('data');
|
||||
$leadTodayClosed = $this->dashboard_model->leadTodayClosed();
|
||||
$branchId = $this->post('branchId');
|
||||
$requestedBy = $this->post('requestedBy');
|
||||
$leadTodayClosed = $this->dashboard_model->leadTodayClosed($branchId,$requestedBy);
|
||||
if ($leadTodayClosed) {
|
||||
$leadTodayClosed['status'] = REST_Controller::HTTP_OK;
|
||||
// Set the response and exit
|
||||
@ -302,8 +305,9 @@ class Dashboard_Controller extends REST_Controller {
|
||||
}
|
||||
}
|
||||
public function leadMonthClosed_post(){
|
||||
$data = $this->post('data');
|
||||
$leadMonthClosed = $this->dashboard_model->leadMonthClosed();
|
||||
$branchId = $this->post('branchId');
|
||||
$requestedBy = $this->post('requestedBy');
|
||||
$leadMonthClosed = $this->dashboard_model->leadMonthClosed($branchId,$requestedBy);
|
||||
if ($leadMonthClosed) {
|
||||
$leadMonthClosed['status'] = REST_Controller::HTTP_OK;
|
||||
// Set the response and exit
|
||||
@ -371,8 +375,9 @@ class Dashboard_Controller extends REST_Controller {
|
||||
}
|
||||
}
|
||||
public function followupsToday_post(){
|
||||
$data = $this->post('data');
|
||||
$followupsToday = $this->dashboard_model->followupsToday();
|
||||
$branchId = $this->post('branchId');
|
||||
$requestedBy = $this->post('requestedBy');
|
||||
$followupsToday = $this->dashboard_model->followupsToday( $branchId, $requestedBy);
|
||||
if ($followupsToday) {
|
||||
$followupsToday['status'] = REST_Controller::HTTP_OK;
|
||||
// Set the response and exit
|
||||
@ -388,8 +393,9 @@ class Dashboard_Controller extends REST_Controller {
|
||||
}
|
||||
}
|
||||
public function followupsPending_post(){
|
||||
$data = $this->post('data');
|
||||
$followupsPending = $this->dashboard_model->followupsPending();
|
||||
$branchId = $this->post('branchId');
|
||||
$requestedBy = $this->post('requestedBy');
|
||||
$followupsPending = $this->dashboard_model->followupsPending( $branchId, $requestedBy);
|
||||
if ($followupsPending) {
|
||||
$followupsPending['status'] = REST_Controller::HTTP_OK;
|
||||
// Set the response and exit
|
||||
|
||||
@ -357,7 +357,7 @@ public function leadCountMonth(){
|
||||
return $results;
|
||||
}
|
||||
|
||||
public function leadToday(){
|
||||
public function leadToday($branchId = null,$requestedBy = null){
|
||||
$sql = "select InteractionID,ifnull(date_format(ltf.CreatedOn,'%d-%m-%Y'),'-') as date,ltf.TrackingID as TrackingId,ifnull(ltf.FollowupOn,'-') as followUpDate,ld.LeadName as name,ifnull(ld.MobileNumber,'-') as mobileNo,lt.University as university,lt.Course as course,list.ListName as status,ltf.FollowupComments as cmnts,ifnull(am.ActivityName,'-') as activity,sd.FirstName as AssignTo
|
||||
from T_Lead_Tracking_Followup as ltf
|
||||
left join T_Lead_Tracking lt on lt.TrackingID=ltf.TrackingID
|
||||
@ -367,12 +367,28 @@ public function leadCountMonth(){
|
||||
left join T_ActivityMaster am on am.ActivityID=lt.ActivityStatus
|
||||
join T_PickListDetails list on list.ListCode=ltf.StatusName
|
||||
where InteractionID in (select max(InteractionID) from T_Lead_Tracking_Followup group by TrackingID)
|
||||
and date(ltf.CreatedOn) = date(now()) and ltf.IsActive = 1";
|
||||
and date(ltf.CreatedOn) = date(now()) and ltf.IsActive = 1 and sd.BranchCode = '".$branchId."' ";
|
||||
$ltd=$this->db->query($sql);
|
||||
$tlead = $ltd->result();
|
||||
//print_r($sql);
|
||||
//to staff/trainee
|
||||
$ssql = "select InteractionID,ifnull(date_format(ltf.CreatedOn,'%d-%m-%Y'),'-') as date,ltf.TrackingID as TrackingId,ifnull(ltf.FollowupOn,'-') as followUpDate,ld.LeadName as name,ifnull(ld.MobileNumber,'-') as mobileNo,lt.University as university,lt.Course as course,list.ListName as status,ltf.FollowupComments as cmnts,ifnull(am.ActivityName,'-') as activity,sd.FirstName as AssignTo
|
||||
from T_Lead_Tracking_Followup as ltf
|
||||
left join T_Lead_Tracking lt on lt.TrackingID=ltf.TrackingID
|
||||
join T_Login l on l.ID=lt.AssignedTo
|
||||
join T_StaffDetails sd on sd.StaffID=l.StaffID
|
||||
left join T_Lead_Details ld on ld.LeadID=lt.LeadID
|
||||
left join T_ActivityMaster am on am.ActivityID=lt.ActivityStatus
|
||||
join T_PickListDetails list on list.ListCode=ltf.StatusName
|
||||
where InteractionID in (select max(InteractionID) from T_Lead_Tracking_Followup group by TrackingID)
|
||||
and date(ltf.CreatedOn) = date(now()) and ltf.IsActive = 1 and sd.BranchCode = '".$branchId."' and sd.StaffID = '".$requestedBy."' ";
|
||||
$sltd=$this->db->query($ssql);
|
||||
$stlead = $sltd->result();
|
||||
// print_r($ssql);
|
||||
if (count($tlead) > 0) {
|
||||
$results['lList'] = true;
|
||||
$results['l_data'] = $tlead;
|
||||
$results['sl_data'] = $stlead;
|
||||
} else {
|
||||
$results['lList'] = false;
|
||||
$results['message'] = 'No record found';
|
||||
@ -380,7 +396,7 @@ public function leadCountMonth(){
|
||||
|
||||
return $results;
|
||||
}
|
||||
public function leadMonth(){
|
||||
public function leadMonth($branchId = null,$requestedBy = null){
|
||||
$sql = "select InteractionID,ifnull(date_format(ltf.CreatedOn,'%d-%m-%Y'),'-') as date,ltf.TrackingID as TrackingId,ifnull(ltf.FollowupOn,'-') as followUpDate,ld.LeadName as name,ifnull(ld.MobileNumber,'-') as mobileNo,lt.University as university,lt.Course as course,list.ListName as status,ltf.FollowupComments as cmnts,ifnull(am.ActivityName,'-') as activity,sd.FirstName as AssignTo
|
||||
from T_Lead_Tracking_Followup as ltf
|
||||
left join T_Lead_Tracking lt on lt.TrackingID=ltf.TrackingID
|
||||
@ -390,12 +406,26 @@ public function leadCountMonth(){
|
||||
left join T_ActivityMaster am on am.ActivityID=lt.ActivityStatus
|
||||
join T_PickListDetails list on list.ListCode=ltf.StatusName
|
||||
where InteractionID in (select max(InteractionID) from T_Lead_Tracking_Followup group by TrackingID)
|
||||
and month(ltf.CreatedOn) = month(now()) and ltf.IsActive = 1";
|
||||
and month(ltf.CreatedOn) = month(now()) and ltf.IsActive = 1 and sd.BranchCode = '".$branchId."' ";
|
||||
$ltd=$this->db->query($sql);
|
||||
$tlead = $ltd->result();
|
||||
//to staff/trainee
|
||||
$ssql = "select InteractionID,ifnull(date_format(ltf.CreatedOn,'%d-%m-%Y'),'-') as date,ltf.TrackingID as TrackingId,ifnull(ltf.FollowupOn,'-') as followUpDate,ld.LeadName as name,ifnull(ld.MobileNumber,'-') as mobileNo,lt.University as university,lt.Course as course,list.ListName as status,ltf.FollowupComments as cmnts,ifnull(am.ActivityName,'-') as activity,sd.FirstName as AssignTo
|
||||
from T_Lead_Tracking_Followup as ltf
|
||||
left join T_Lead_Tracking lt on lt.TrackingID=ltf.TrackingID
|
||||
join T_Login l on l.ID=lt.AssignedTo
|
||||
join T_StaffDetails sd on sd.StaffID=l.StaffID
|
||||
left join T_Lead_Details ld on ld.LeadID=lt.LeadID
|
||||
left join T_ActivityMaster am on am.ActivityID=lt.ActivityStatus
|
||||
join T_PickListDetails list on list.ListCode=ltf.StatusName
|
||||
where InteractionID in (select max(InteractionID) from T_Lead_Tracking_Followup group by TrackingID)
|
||||
and month(ltf.CreatedOn) = month(now()) and ltf.IsActive = 1 and sd.BranchCode = '".$branchId."' and sd.StaffID = '".$requestedBy."' ";
|
||||
$sltd=$this->db->query($ssql);
|
||||
$stlead = $sltd->result();
|
||||
if (count($tlead) > 0) {
|
||||
$results['lList'] = true;
|
||||
$results['l_data'] = $tlead;
|
||||
$results['sl_data'] = $stlead;
|
||||
} else {
|
||||
$results['lList'] = false;
|
||||
$results['message'] = 'No record found';
|
||||
@ -403,7 +433,7 @@ public function leadCountMonth(){
|
||||
|
||||
return $results;
|
||||
}
|
||||
public function leadTodayClosed(){
|
||||
public function leadTodayClosed($branchId = null,$requestedBy = null){
|
||||
$sql = "select InteractionID,ifnull(date_format(ltf.CreatedOn,'%d-%m-%Y'),'-') as date,ltf.TrackingID as TrackingId,ifnull(ltf.FollowupOn,'-') as followUpDate,ld.LeadName as name,ifnull(ld.MobileNumber,'-') as mobileNo,lt.University as university,lt.Course as course,list.ListName as status,ltf.FollowupComments as cmnts,ifnull(am.ActivityName,'-') as activity,sd.FirstName as AssignTo
|
||||
from T_Lead_Tracking_Followup as ltf
|
||||
left join T_Lead_Tracking lt on lt.TrackingID=ltf.TrackingID
|
||||
@ -413,12 +443,26 @@ public function leadCountMonth(){
|
||||
left join T_ActivityMaster am on am.ActivityID=lt.ActivityStatus
|
||||
join T_PickListDetails list on list.ListCode=ltf.StatusName
|
||||
where InteractionID in (select max(InteractionID) from T_Lead_Tracking_Followup group by TrackingID)
|
||||
and date(ltf.CreatedOn) = date(now()) and ltf.IsActive = 1 and list.ListName like 'CLOSE'";
|
||||
and date(ltf.CreatedOn) = date(now()) and ltf.IsActive = 1 and list.ListName like 'CLOSE' and sd.BranchCode = '".$branchId."' ";
|
||||
$ltd=$this->db->query($sql);
|
||||
$tlead = $ltd->result();
|
||||
//to staff
|
||||
$ssql = "select InteractionID,ifnull(date_format(ltf.CreatedOn,'%d-%m-%Y'),'-') as date,ltf.TrackingID as TrackingId,ifnull(ltf.FollowupOn,'-') as followUpDate,ld.LeadName as name,ifnull(ld.MobileNumber,'-') as mobileNo,lt.University as university,lt.Course as course,list.ListName as status,ltf.FollowupComments as cmnts,ifnull(am.ActivityName,'-') as activity,sd.FirstName as AssignTo
|
||||
from T_Lead_Tracking_Followup as ltf
|
||||
left join T_Lead_Tracking lt on lt.TrackingID=ltf.TrackingID
|
||||
join T_Login l on l.ID=lt.AssignedTo
|
||||
join T_StaffDetails sd on sd.StaffID=l.StaffID
|
||||
left join T_Lead_Details ld on ld.LeadID=lt.LeadID
|
||||
left join T_ActivityMaster am on am.ActivityID=lt.ActivityStatus
|
||||
join T_PickListDetails list on list.ListCode=ltf.StatusName
|
||||
where InteractionID in (select max(InteractionID) from T_Lead_Tracking_Followup group by TrackingID)
|
||||
and date(ltf.CreatedOn) = date(now()) and ltf.IsActive = 1 and list.ListName like 'CLOSE' and sd.BranchCode = '".$branchId."' and sd.StaffID = '".$requestedBy."' ";
|
||||
$sltd=$this->db->query($ssql);
|
||||
$stlead = $sltd->result();
|
||||
if (count($tlead) > 0) {
|
||||
$results['lList'] = true;
|
||||
$results['l_data'] = $tlead;
|
||||
$results['sl_data'] = $stlead;
|
||||
} else {
|
||||
$results['lList'] = false;
|
||||
$results['message'] = 'No record found';
|
||||
@ -426,7 +470,7 @@ public function leadCountMonth(){
|
||||
|
||||
return $results;
|
||||
}
|
||||
public function leadMonthClosed(){
|
||||
public function leadMonthClosed($branchId = null,$requestedBy = null){
|
||||
$sql = "select InteractionID,ifnull(date_format(ltf.CreatedOn,'%d-%m-%Y'),'-') as date,ltf.TrackingID as TrackingId,ifnull(ltf.FollowupOn,'-') as followUpDate,ld.LeadName as name,ifnull(ld.MobileNumber,'-') as mobileNo,lt.University as university,lt.Course as course,list.ListName as status,ltf.FollowupComments as cmnts,ifnull(am.ActivityName,'-') as activity,sd.FirstName as AssignTo
|
||||
from T_Lead_Tracking_Followup as ltf
|
||||
left join T_Lead_Tracking lt on lt.TrackingID=ltf.TrackingID
|
||||
@ -436,12 +480,27 @@ public function leadCountMonth(){
|
||||
left join T_ActivityMaster am on am.ActivityID=lt.ActivityStatus
|
||||
join T_PickListDetails list on list.ListCode=ltf.StatusName
|
||||
where InteractionID in (select max(InteractionID) from T_Lead_Tracking_Followup group by TrackingID)
|
||||
and month(ltf.CreatedOn) = month(now()) and ltf.IsActive = 1 and list.ListName like 'CLOSE'";
|
||||
and month(ltf.CreatedOn) = month(now()) and ltf.IsActive = 1 and list.ListName like 'CLOSE' and sd.BranchCode = '".$branchId."' ";
|
||||
$ltd=$this->db->query($sql);
|
||||
$tlead = $ltd->result();
|
||||
//to staff
|
||||
$ssql = "select InteractionID,ifnull(date_format(ltf.CreatedOn,'%d-%m-%Y'),'-') as date,ltf.TrackingID as TrackingId,ifnull(ltf.FollowupOn,'-') as followUpDate,ld.LeadName as name,ifnull(ld.MobileNumber,'-') as mobileNo,lt.University as university,lt.Course as course,list.ListName as status,ltf.FollowupComments as cmnts,ifnull(am.ActivityName,'-') as activity,sd.FirstName as AssignTo
|
||||
from T_Lead_Tracking_Followup as ltf
|
||||
left join T_Lead_Tracking lt on lt.TrackingID=ltf.TrackingID
|
||||
join T_Login l on l.ID=lt.AssignedTo
|
||||
join T_StaffDetails sd on sd.StaffID=l.StaffID
|
||||
left join T_Lead_Details ld on ld.LeadID=lt.LeadID
|
||||
left join T_ActivityMaster am on am.ActivityID=lt.ActivityStatus
|
||||
join T_PickListDetails list on list.ListCode=ltf.StatusName
|
||||
where InteractionID in (select max(InteractionID) from T_Lead_Tracking_Followup group by TrackingID)
|
||||
and month(ltf.CreatedOn) = month(now()) and ltf.IsActive = 1 and list.ListName like 'CLOSE' and sd.BranchCode = '".$branchId."' and sd.StaffID = '".$requestedBy."' ";
|
||||
$sltd=$this->db->query($ssql);
|
||||
$stlead = $sltd->result();
|
||||
|
||||
if (count($tlead) > 0) {
|
||||
$results['lList'] = true;
|
||||
$results['l_data'] = $tlead;
|
||||
$results['sl_data'] = $stlead;
|
||||
} else {
|
||||
$results['lList'] = false;
|
||||
$results['message'] = 'No record found';
|
||||
@ -518,7 +577,7 @@ public function leadCountMonth(){
|
||||
from BalFees b
|
||||
left join (select bcode,sum(totalpayable) as tot,sum(totalpaid) as paid,sum(balpayable) as balance,((sum(balpayable)/sum(totalpayable)) * 100) as balPercentage,group_concat(staff,'-',bal_percentage) as staff from staff_count_batch
|
||||
group by bcode) scb on scb.bcode = b.bcode
|
||||
group by b.bcode; ";
|
||||
group by b.bcode ";
|
||||
$ltd=$this->db->query($sql);
|
||||
$tlead = $ltd->result();
|
||||
if (count($tlead) > 0) {
|
||||
@ -531,7 +590,7 @@ group by bcode) scb on scb.bcode = b.bcode
|
||||
|
||||
return $results;
|
||||
}
|
||||
public function followupsToday(){
|
||||
public function followupsToday($branchId = null, $requestedBy = null){
|
||||
$sql = "select InteractionID,ifnull(date_format(ltf.CreatedOn,'%d-%m-%Y'),'-') as date,ltf.TrackingID as TrackingId,ifnull(ltf.FollowupOn,'-') as FollowUpDate,ld.LeadName as name,ifnull(ld.MobileNumber,'-') as mobileNo,lt.University as university,lt.Course as course,list.ListName as status,ltf.FollowupComments as cmnts,ifnull(am.ActivityName,'-') as activity,sd.FirstName as AssignTo
|
||||
from T_Lead_Tracking_Followup as ltf
|
||||
left join T_Lead_Tracking lt on lt.TrackingID=ltf.TrackingID
|
||||
@ -541,12 +600,27 @@ group by bcode) scb on scb.bcode = b.bcode
|
||||
left join T_ActivityMaster am on am.ActivityID=lt.ActivityStatus
|
||||
join T_PickListDetails list on list.ListCode=ltf.StatusName
|
||||
where InteractionID in (select max(InteractionID) from T_Lead_Tracking_Followup group by TrackingID)
|
||||
and STR_TO_DATE(ltf.FollowupOn,'%d-%m-%Y') = date(now()) ";
|
||||
and STR_TO_DATE(ltf.FollowupOn,'%d-%m-%Y') = date(now()) and sd.BranchCode = '".$branchId."' ";
|
||||
$ltd=$this->db->query($sql);
|
||||
$tlead = $ltd->result();
|
||||
//to staff
|
||||
$ssql = "select InteractionID,ifnull(date_format(ltf.CreatedOn,'%d-%m-%Y'),'-') as date,ltf.TrackingID as TrackingId,ifnull(ltf.FollowupOn,'-') as FollowUpDate,ld.LeadName as name,ifnull(ld.MobileNumber,'-') as mobileNo,lt.University as university,lt.Course as course,list.ListName as status,ltf.FollowupComments as cmnts,ifnull(am.ActivityName,'-') as activity,sd.FirstName as AssignTo
|
||||
from T_Lead_Tracking_Followup as ltf
|
||||
left join T_Lead_Tracking lt on lt.TrackingID=ltf.TrackingID
|
||||
join T_Login l on l.ID=lt.AssignedTo
|
||||
join T_StaffDetails sd on sd.StaffID=l.StaffID
|
||||
left join T_Lead_Details ld on ld.LeadID=lt.LeadID
|
||||
left join T_ActivityMaster am on am.ActivityID=lt.ActivityStatus
|
||||
join T_PickListDetails list on list.ListCode=ltf.StatusName
|
||||
where InteractionID in (select max(InteractionID) from T_Lead_Tracking_Followup group by TrackingID)
|
||||
and STR_TO_DATE(ltf.FollowupOn,'%d-%m-%Y') = date(now()) and sd.BranchCode = '".$branchId."' and sd.StaffID = '".$requestedBy."' ";
|
||||
$sltd=$this->db->query($ssql);
|
||||
$stlead = $sltd->result();
|
||||
|
||||
if (count($tlead) > 0) {
|
||||
$results['lList'] = true;
|
||||
$results['l_data'] = $tlead;
|
||||
$results['sl_data'] = $stlead;
|
||||
} else {
|
||||
$results['lList'] = false;
|
||||
$results['message'] = 'No record found';
|
||||
@ -554,7 +628,7 @@ group by bcode) scb on scb.bcode = b.bcode
|
||||
|
||||
return $results;
|
||||
}
|
||||
public function followupsPending(){
|
||||
public function followupsPending($branchId = null, $requestedBy = null){
|
||||
$sql = "select InteractionID,ifnull(date_format(ltf.CreatedOn,'%d-%m-%Y'),'-') as date,ltf.TrackingID as TrackingId,ifnull(ltf.FollowupOn,'-') as FollowUpDate,ld.LeadName as name,ifnull(ld.MobileNumber,'-') as mobileNo,lt.University as university,lt.Course as course,list.ListName as status,ltf.FollowupComments as cmnts,ifnull(am.ActivityName,'-') as activity,sd.FirstName as AssignTo
|
||||
from T_Lead_Tracking_Followup as ltf
|
||||
left join T_Lead_Tracking lt on lt.TrackingID=ltf.TrackingID
|
||||
@ -564,12 +638,27 @@ group by bcode) scb on scb.bcode = b.bcode
|
||||
left join T_ActivityMaster am on am.ActivityID=lt.ActivityStatus
|
||||
join T_PickListDetails list on list.ListCode=ltf.StatusName
|
||||
where InteractionID in (select max(InteractionID) from T_Lead_Tracking_Followup group by TrackingID)
|
||||
and list.ListName not like 'CLOSE' and list.ListName like 'PENDING' ";
|
||||
and list.ListName not like 'CLOSE' and list.ListName like 'PENDING' and sd.BranchCode = '".$branchId."' ";
|
||||
$ltd=$this->db->query($sql);
|
||||
$tlead = $ltd->result();
|
||||
if (count($tlead) > 0) {
|
||||
//To staff
|
||||
$ssql = "select InteractionID,ifnull(date_format(ltf.CreatedOn,'%d-%m-%Y'),'-') as date,ltf.TrackingID as TrackingId,ifnull(ltf.FollowupOn,'-') as FollowUpDate,ld.LeadName as name,ifnull(ld.MobileNumber,'-') as mobileNo,lt.University as university,lt.Course as course,list.ListName as status,ltf.FollowupComments as cmnts,ifnull(am.ActivityName,'-') as activity,sd.FirstName as AssignTo
|
||||
from T_Lead_Tracking_Followup as ltf
|
||||
left join T_Lead_Tracking lt on lt.TrackingID=ltf.TrackingID
|
||||
join T_Login l on l.ID=lt.AssignedTo
|
||||
join T_StaffDetails sd on sd.StaffID=l.StaffID
|
||||
left join T_Lead_Details ld on ld.LeadID=lt.LeadID
|
||||
left join T_ActivityMaster am on am.ActivityID=lt.ActivityStatus
|
||||
join T_PickListDetails list on list.ListCode=ltf.StatusName
|
||||
where InteractionID in (select max(InteractionID) from T_Lead_Tracking_Followup group by TrackingID)
|
||||
and list.ListName not like 'CLOSE' and list.ListName like 'PENDING' and sd.BranchCode = '".$branchId."' and sd.StaffID = '".$requestedBy."' ";
|
||||
$sltd=$this->db->query($ssql);
|
||||
$stlead = $sltd->result();
|
||||
|
||||
if ((count($tlead) > 0) or (count($stlead) > 0)) {
|
||||
$results['lList'] = true;
|
||||
$results['l_data'] = $tlead;
|
||||
$results['sl_data'] = $stlead;
|
||||
} else {
|
||||
$results['lList'] = false;
|
||||
$results['message'] = 'No record found';
|
||||
|
||||
@ -145,16 +145,28 @@ app.controller('dashboardCtrl', ["$scope", "$rootScope", "toaster", "$filter", "
|
||||
|
||||
//End of filters
|
||||
$scope.l_dataToday = '';
|
||||
$scope.sl_dataToday = '';
|
||||
$scope.l_dataMonth = '';
|
||||
$scope.sl_dataMonth = '';
|
||||
$scope.l_dataDayClosed = '';
|
||||
$scope.sl_dataDayClosed = '';
|
||||
$scope.l_dataMonthClosed = '';
|
||||
$scope.sl_dataMonthClosed = '';
|
||||
$scope.adMonth = '';
|
||||
$scope.adYear = '';
|
||||
$scope.fout = '';
|
||||
$scope.ftoday = '';
|
||||
$scope.sftoday = '';
|
||||
$scope.fpending = '';
|
||||
$scope.sfpending = '';
|
||||
$scope.adBatch = '';
|
||||
$scope.adBatchfilter = '';
|
||||
$scope.Dt_leadtoday = '';
|
||||
$scope.Dt_leadmonth = '';
|
||||
$scope.Dt_dataDayClosed = '';
|
||||
$scope.Dt_dataMonthClosed = '';
|
||||
$scope.Dt_ftoday = '';
|
||||
$scope.Dt_fpending = '';
|
||||
$scope.initDashboardDetails = function () {
|
||||
//lead today
|
||||
var leadToday = {
|
||||
@ -170,18 +182,36 @@ app.controller('dashboardCtrl', ["$scope", "$rootScope", "toaster", "$filter", "
|
||||
|
||||
}
|
||||
};
|
||||
|
||||
$http(leadToday).then(function (response) {
|
||||
if (response.data.lList == true) {
|
||||
$scope.l_dataToday = response.data.l_data;
|
||||
for(var i=0;i<$scope.l_dataToday.length;i++)
|
||||
$scope.l_dataToday[i].Sl_No = i+1;
|
||||
$scope.lt = false;
|
||||
//console.log($scope.l_dataToday);
|
||||
//To staff
|
||||
$scope.sl_dataToday = response.data.sl_data;
|
||||
for(var i=0;i<$scope.sl_dataToday.length;i++)
|
||||
$scope.sl_dataToday[i].Sl_No = i+1;
|
||||
$scope.ltl = false;
|
||||
|
||||
if($scope.l_dataToday == ''){
|
||||
$scope.Dt_leadtoday = $scope.sl_dataToday;
|
||||
// console.log($scope.Dt_leadtoday);
|
||||
// console.log('if');
|
||||
}
|
||||
else{
|
||||
$scope.Dt_leadtoday = $scope.l_dataToday;
|
||||
// console.log($scope.Dt_leadtoday);
|
||||
// console.log('else');
|
||||
}
|
||||
} else {
|
||||
$scope.ltl = true;
|
||||
$scope.lt = true;
|
||||
$scope.message = response.data.message;
|
||||
}
|
||||
});
|
||||
|
||||
//Data grid
|
||||
$scope.showColumnLines = true;
|
||||
$scope.showRowLines = true;
|
||||
@ -206,7 +236,7 @@ app.controller('dashboardCtrl', ["$scope", "$rootScope", "toaster", "$filter", "
|
||||
showColumnLines: "showColumnLines",
|
||||
showRowLines: "showRowLines",
|
||||
rowAlternationEnabled: "rowAlternationEnabled",
|
||||
dataSource: 'l_dataToday'
|
||||
dataSource: 'Dt_leadtoday'
|
||||
},
|
||||
columns: ['TrackingId', 'name', 'mobileNo', 'course', 'university', 'activity', 'AssignTo', 'followUpDate', 'status']
|
||||
};
|
||||
@ -231,9 +261,24 @@ app.controller('dashboardCtrl', ["$scope", "$rootScope", "toaster", "$filter", "
|
||||
for(var i=0;i<$scope.l_dataMonth.length;i++)
|
||||
$scope.l_dataMonth[i].Sl_No = i+1;
|
||||
$scope.lm = false;
|
||||
|
||||
//to staff
|
||||
$scope.sl_dataMonth = response.data.sl_data;
|
||||
for(var i=0;i<$scope.sl_dataMonth.length;i++)
|
||||
$scope.sl_dataMonth[i].Sl_No = i+1;
|
||||
$scope.lml = false;
|
||||
if($scope.l_dataMonth == ''){
|
||||
$scope.Dt_leadmonth = $scope.sl_dataMonth;
|
||||
// console.log($scope.Dt_leadmonth);
|
||||
// console.log('if');
|
||||
}
|
||||
else{
|
||||
$scope.Dt_leadmonth = $scope.l_dataMonth;
|
||||
// console.log($scope.Dt_leadmonth);
|
||||
// console.log('else');
|
||||
}
|
||||
} else {
|
||||
$scope.lm = true;
|
||||
$scope.lml = true;
|
||||
$scope.message = response.data.message;
|
||||
}
|
||||
});
|
||||
@ -261,7 +306,7 @@ app.controller('dashboardCtrl', ["$scope", "$rootScope", "toaster", "$filter", "
|
||||
showColumnLines: "showColumnLines",
|
||||
showRowLines: "showRowLines",
|
||||
rowAlternationEnabled: "rowAlternationEnabled",
|
||||
dataSource: 'l_dataMonth'
|
||||
dataSource: 'Dt_leadmonth'
|
||||
},
|
||||
columns: ['TrackingId', 'name', 'mobileNo', 'course', 'university', 'activity', 'AssignTo', 'followUpDate', 'status']
|
||||
};
|
||||
@ -285,9 +330,25 @@ app.controller('dashboardCtrl', ["$scope", "$rootScope", "toaster", "$filter", "
|
||||
for(var i=0;i<$scope.l_dataDayClosed.length;i++)
|
||||
$scope.l_dataDayClosed[i].Sl_No = i+1;
|
||||
$scope.cd = false;
|
||||
//to staff
|
||||
$scope.sl_dataDayClosed = response.data.sl_data;
|
||||
for(var i=0;i<$scope.sl_dataDayClosed.length;i++)
|
||||
$scope.sl_dataDayClosed[i].Sl_No = i+1;
|
||||
$scope.cdl = false;
|
||||
if($scope.l_dataDayClosed == ''){
|
||||
$scope.Dt_dataDayClosed = $scope.sl_dataDayClosed;
|
||||
// console.log($scope.Dt_dataDayClosed);
|
||||
// console.log('if');
|
||||
}
|
||||
else{
|
||||
$scope.Dt_dataDayClosed = $scope.l_dataDayClosed;
|
||||
// console.log($scope.Dt_dataDayClosed);
|
||||
// console.log('else');
|
||||
}
|
||||
// console.log($scope.l_dataDayClosed);
|
||||
} else {
|
||||
$scope.cd = true;
|
||||
$scope.cd1 = true;
|
||||
$scope.message = response.data.message;
|
||||
}
|
||||
});
|
||||
@ -315,7 +376,7 @@ app.controller('dashboardCtrl', ["$scope", "$rootScope", "toaster", "$filter", "
|
||||
showColumnLines: "showColumnLines",
|
||||
showRowLines: "showRowLines",
|
||||
rowAlternationEnabled: "rowAlternationEnabled",
|
||||
dataSource: 'l_dataDayClosed'
|
||||
dataSource: 'Dt_dataDayClosed'
|
||||
},
|
||||
columns: ['TrackingId', 'name', 'mobileNo', 'course', 'university', 'activity', 'AssignTo', 'followUpDate', 'status']
|
||||
};
|
||||
@ -339,9 +400,25 @@ app.controller('dashboardCtrl', ["$scope", "$rootScope", "toaster", "$filter", "
|
||||
for(var i=0;i<$scope.l_dataMonthClosed.length;i++)
|
||||
$scope.l_dataMonthClosed[i].Sl_No = i+1;
|
||||
$scope.cm = false;
|
||||
//to Staff
|
||||
$scope.sl_dataMonthClosed = response.data.sl_data;
|
||||
for(var i=0;i<$scope.sl_dataMonthClosed.length;i++)
|
||||
$scope.sl_dataMonthClosed[i].Sl_No = i+1;
|
||||
$scope.cml = false;
|
||||
if($scope.l_dataMonthClosed == ''){
|
||||
$scope.Dt_dataMonthClosed = $scope.sl_dataMonthClosed;
|
||||
// console.log($scope.Dt_dataMonthClosed);
|
||||
// console.log('if');
|
||||
}
|
||||
else{
|
||||
$scope.Dt_dataMonthClosed = $scope.l_dataMonthClosed;
|
||||
// console.log($scope.Dt_dataMonthClosed);
|
||||
// console.log('else');
|
||||
}
|
||||
// console.log($scope.l_dataMonthClosed);
|
||||
} else {
|
||||
$scope.cm = true;
|
||||
$scope.cml = true;
|
||||
$scope.message = response.data.message;
|
||||
}
|
||||
});
|
||||
@ -660,9 +737,25 @@ app.controller('dashboardCtrl', ["$scope", "$rootScope", "toaster", "$filter", "
|
||||
for(var i=0;i<$scope.ftoday.length;i++)
|
||||
$scope.ftoday[i].Sl_No = i+1;
|
||||
$scope.fut = false;
|
||||
//to staff
|
||||
$scope.sftoday = response.data.sl_data;
|
||||
for(var i=0;i<$scope.sftoday.length;i++)
|
||||
$scope.sftoday[i].Sl_No = i+1;
|
||||
$scope.futl = false;
|
||||
// console.log($scope.ftoday);
|
||||
if($scope.ftoday == ''){
|
||||
$scope.Dt_ftoday = $scope.sftoday;
|
||||
// console.log($scope.Dt_dataMonthClosed);
|
||||
// console.log('if');
|
||||
}
|
||||
else{
|
||||
$scope.Dt_ftoday = $scope.ftoday;
|
||||
// console.log($scope.Dt_dataMonthClosed);
|
||||
// console.log('else');
|
||||
}
|
||||
} else {
|
||||
$scope.fut = true;
|
||||
$scope.futl = true;
|
||||
$scope.message = response.data.message;
|
||||
}
|
||||
});
|
||||
@ -690,7 +783,7 @@ app.controller('dashboardCtrl', ["$scope", "$rootScope", "toaster", "$filter", "
|
||||
showColumnLines: "showColumnLines",
|
||||
showRowLines: "showRowLines",
|
||||
rowAlternationEnabled: "rowAlternationEnabled",
|
||||
dataSource: 'ftoday'
|
||||
dataSource: 'Dt_ftoday'
|
||||
},
|
||||
columns: ['TrackingId', 'name', 'mobileNo', 'course', 'university', 'activity', 'AssignTo', 'FollowUpDate', 'status']
|
||||
};
|
||||
@ -714,9 +807,25 @@ app.controller('dashboardCtrl', ["$scope", "$rootScope", "toaster", "$filter", "
|
||||
for(var i=0;i<$scope.fpending.length;i++)
|
||||
$scope.fpending[i].Sl_No = i+1;
|
||||
$scope.fp = false;
|
||||
//to staff
|
||||
$scope.fpl = false;
|
||||
$scope.sfpending = response.data.sl_data;
|
||||
for(var i=0;i<$scope.sfpending.length;i++)
|
||||
$scope.sfpending[i].Sl_No = i+1;
|
||||
//console.log($scope.fpending);
|
||||
if($scope.fpending == ''){
|
||||
$scope.Dt_fpending = $scope.sfpending;
|
||||
// console.log($scope.Dt_dataMonthClosed);
|
||||
// console.log('if');
|
||||
}
|
||||
else{
|
||||
$scope.Dt_fpending = $scope.fpending;
|
||||
// console.log($scope.Dt_dataMonthClosed);
|
||||
// console.log('else');
|
||||
}
|
||||
} else {
|
||||
$scope.fp = true;
|
||||
$scope.fp1 = true;
|
||||
$scope.message = response.data.message;
|
||||
}
|
||||
});
|
||||
@ -744,7 +853,7 @@ app.controller('dashboardCtrl', ["$scope", "$rootScope", "toaster", "$filter", "
|
||||
showColumnLines: "showColumnLines",
|
||||
showRowLines: "showRowLines",
|
||||
rowAlternationEnabled: "rowAlternationEnabled",
|
||||
dataSource: 'fpending'
|
||||
dataSource: 'Dt_fpending'
|
||||
},
|
||||
columns: ['TrackingId', 'name', 'mobileNo', 'course', 'university', 'activity', 'AssignTo', 'FollowUpDate', 'status']
|
||||
};
|
||||
@ -769,18 +878,22 @@ app.controller('dashboardCtrl', ["$scope", "$rootScope", "toaster", "$filter", "
|
||||
$scope.adBatch[i].Sl_No = i+1;
|
||||
// var gridData = $scope.adBatch;
|
||||
$scope.adb = false;
|
||||
console.log($scope.adBatch);
|
||||
//console.log($scope.adBatch);
|
||||
$scope.adBatchgrid = {
|
||||
|
||||
allowSortingBySummary: true,
|
||||
allowSorting: true,
|
||||
allowFiltering: true,
|
||||
allowExpandAll: true,
|
||||
wordWrapEnabled: true,
|
||||
height: 440,
|
||||
showBorders: true,
|
||||
fieldChooser: {
|
||||
enabled: false
|
||||
},
|
||||
// scrolling: {
|
||||
// mode: "virtual"
|
||||
// },
|
||||
"export": {
|
||||
enabled: true,
|
||||
fileName: "AdmissionsBatch"
|
||||
@ -788,18 +901,21 @@ app.controller('dashboardCtrl', ["$scope", "$rootScope", "toaster", "$filter", "
|
||||
dataSource: {
|
||||
fields: [{
|
||||
caption: "Batches",
|
||||
width: 100,
|
||||
width: 100,
|
||||
dataField: "Batches",
|
||||
area: "row"
|
||||
}, {
|
||||
caption: "Staff",
|
||||
caption: "staff",
|
||||
dataField: "Staff",
|
||||
dataType: "string",
|
||||
width: 200,
|
||||
area: "column"
|
||||
}, {
|
||||
caption: "TotalNoOfAdmissions",
|
||||
dataField: "TotalNoOfAdmissions",
|
||||
dataType: "number",
|
||||
summaryType: "sum",
|
||||
width: 100,
|
||||
area: "data"
|
||||
}],
|
||||
store: $scope.adBatch
|
||||
|
||||
@ -26,8 +26,8 @@
|
||||
<div class="row">
|
||||
<tabset class="tabbable no-padding no-margin">
|
||||
<!-- start today followup details tab-->
|
||||
<tab heading="Leads Created Today : {{l_dataToday.length}}" class="padding-top-5 padding-left-5">
|
||||
<div ng-if="getLoginType=='R004'" class="panel-scroll height-600" perfect-scrollbar wheel-propagation="false" suppress-scroll-x="true">
|
||||
<tab heading="Leads Created Today : {{l_dataToday.length || sl_dataToday.length}}" class="padding-top-5 padding-left-5">
|
||||
<div ng-if="getLoginType=='R004' || getLoginType=='R003'" class="panel-scroll height-600" perfect-scrollbar wheel-propagation="false" suppress-scroll-x="true">
|
||||
|
||||
<div ng-if="lt==true">
|
||||
<center>
|
||||
@ -79,56 +79,24 @@
|
||||
</table> -->
|
||||
|
||||
</div>
|
||||
<div ng-if="getLoginType!='R004'" class="panel-scroll height-350" perfect-scrollbar wheel-propagation="false" suppress-scroll-x="true">
|
||||
<div ng-if="emptyDataToday==true">
|
||||
<div ng-if="getLoginType=='R002' || getLoginType=='R005'" class="panel-scroll height-350" perfect-scrollbar wheel-propagation="false" suppress-scroll-x="true">
|
||||
<div ng-if="ltl==true">
|
||||
<center>
|
||||
<h5 class="text-dark">No Leads!</h5>
|
||||
</center>
|
||||
</div>
|
||||
<div class="cl-effect-13" style="float: right" ng-if="emptyDataToday==false">
|
||||
<!-- <div class="cl-effect-13" style="float: right" ng-if="ltl==false">
|
||||
<a ui-sref="app.call.tracking">
|
||||
view more
|
||||
</a>
|
||||
</div>
|
||||
<table class="table table-hover no-margin" ng-if="emptyDataToday==false">
|
||||
<thead>
|
||||
<tr>
|
||||
<!--<td colspan="5" style="background:#1FBBA6;color:#fff !important">Total Entries :{{todayFolloupDetails.length}}</td></tr>-->
|
||||
<tr>
|
||||
<th> ID</th>
|
||||
<th> Name</th>
|
||||
<th>Mobile </th>
|
||||
<th>Activity</th>
|
||||
<th class="hidden-xs">Status</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
<tr ng-repeat="today in todayFolloupDetails">
|
||||
<td>{{today.TrackingID}}</td>
|
||||
<td>
|
||||
<a tooltip="View Student" class="text-dark" ng-click="open(today);">{{today.LeadName}}</a>
|
||||
</td>
|
||||
<td>
|
||||
<a tooltip="View Student" class="text-dark" ng-click="open(today);">{{today.MobileNumber}}</a>
|
||||
</td>
|
||||
<td>{{today.ActivityName}}</td>
|
||||
<td class="hidden-xs" ng-if="today.statusName=='CLOSE'">
|
||||
<span class="label label-sm label-success">{{today.statusName}}</span>
|
||||
</td>
|
||||
<td class="hidden-xs" ng-if="today.statusName!='CLOSE'">
|
||||
<span class="label label-sm label-warning">{{today.statusName}}</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div><br> -->
|
||||
<div dx-data-grid="todayLead" ng-if="ltl==false"></div>
|
||||
</div>
|
||||
</tab>
|
||||
<!-- end today followup details tab-->
|
||||
<!-- end pending track details tab-->
|
||||
<tab heading="Leads Created This Month : {{l_dataMonth.length}}" class="padding-top-5 padding-left-5">
|
||||
<div ng-if="getLoginType=='R004'" class="panel-scroll height-500" perfect-scrollbar wheel-propagation="false" suppress-scroll-x="true">
|
||||
<tab heading="Leads Created This Month : {{l_dataMonth.length || sl_dataMonth.length}}" class="padding-top-5 padding-left-5">
|
||||
<div ng-if="getLoginType=='R004' || getLoginType=='R003'" class="panel-scroll height-500" perfect-scrollbar wheel-propagation="false" suppress-scroll-x="true">
|
||||
<div ng-if="lm==true">
|
||||
<center>
|
||||
<h5 class="text-dark">No Leads!</h5>
|
||||
@ -177,50 +145,18 @@
|
||||
</tbody>
|
||||
</table> -->
|
||||
</div>
|
||||
<div ng-if="getLoginType!='R004'" class="panel-scroll height-350" perfect-scrollbar wheel-propagation="false" suppress-scroll-x="true">
|
||||
<div ng-if="emptyDataToday==true">
|
||||
<div ng-if="getLoginType=='R002' || getLoginType=='R005'" class="panel-scroll height-350" perfect-scrollbar wheel-propagation="false" suppress-scroll-x="true">
|
||||
<div ng-if="lml==true">
|
||||
<center>
|
||||
<h5 class="text-dark">No Leads!</h5>
|
||||
</center>
|
||||
</div>
|
||||
<div class="cl-effect-13" style="float: right" ng-if="emptyDataToday==false">
|
||||
<!-- <div class="cl-effect-13" style="float: right" ng-if="emptyDataToday==false">
|
||||
<a ui-sref="app.call.tracking">
|
||||
view more
|
||||
</a>
|
||||
</div>
|
||||
<table class="table table-hover no-margin" ng-if="emptyDataToday==false">
|
||||
<thead>
|
||||
<tr>
|
||||
<!--<td colspan="5" style="background:#1FBBA6;color:#fff !important">Total Entries :{{todayFolloupDetails.length}}</td></tr>-->
|
||||
<tr>
|
||||
<th> ID</th>
|
||||
<th> Name</th>
|
||||
<th>Mobile </th>
|
||||
<th>Activity</th>
|
||||
<th class="hidden-xs">Status</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
<tr ng-repeat="today in todayFolloupDetails">
|
||||
<td>{{today.TrackingID}}</td>
|
||||
<td>
|
||||
<a tooltip="View Student" class="text-dark" ng-click="open(today);">{{today.LeadName}}</a>
|
||||
</td>
|
||||
<td>
|
||||
<a tooltip="View Student" class="text-dark" ng-click="open(today);">{{today.MobileNumber}}</a>
|
||||
</td>
|
||||
<td>{{today.ActivityName}}</td>
|
||||
<td class="hidden-xs" ng-if="today.statusName=='CLOSE'">
|
||||
<span class="label label-sm label-success">{{today.statusName}}</span>
|
||||
</td>
|
||||
<td class="hidden-xs" ng-if="today.statusName!='CLOSE'">
|
||||
<span class="label label-sm label-warning">{{today.statusName}}</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div> -->
|
||||
<div dx-data-grid="monthLead" ng-if="lml==false"></div>
|
||||
</div>
|
||||
</tab>
|
||||
<!-- end pending track details tab-->
|
||||
@ -234,142 +170,6 @@
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="row" ng-if="getLoginType!='R004'" ng-controller="OnotherCtrl" data-ng-init="init()">
|
||||
<div class="col-sm-12">
|
||||
<div class="panel panel-white no-radius">
|
||||
|
||||
<div class="panel-body no-padding">
|
||||
|
||||
<tabset class="tabbable no-padding no-margin">
|
||||
<!-- start university registration details tab-->
|
||||
<tab heading="University Registration" class="padding-top-5 padding-left-5">
|
||||
<div class="panel-scroll height-200" perfect-scrollbar wheel-propagation="false" suppress-scroll-x="true">
|
||||
<div class="cl-effect-13" style="float: right" ng-if="getLoginType=='R004' && registerdStudentDetails!=false">
|
||||
<a ui-sref="app.student.studentDetailsSuperAdmin">
|
||||
view more
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="cl-effect-13" style="float: right" ng-if="registerdStudentDetails!='R004' && registerdStudentDetails!=false">
|
||||
<a ui-sref="app.student.studentDetails">
|
||||
view more
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<table class="table no-margin">
|
||||
<tbody>
|
||||
<tr ng-repeat="registration in registerdStudentDetails">
|
||||
<td>
|
||||
<span class="text-small block text-light">University ID</span>
|
||||
<span>{{registration.UniversityID}}</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-small block text-light">University Name</span>
|
||||
<span>{{registration.UniversityName | uppercase}}</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-small block text-light">No of Registration</span>
|
||||
<span>{{registration.StudentCounts}}</span>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</tab>
|
||||
<!-- end university registration details tab-->
|
||||
<!-- start university fees details tab-->
|
||||
<tab heading="University Pending Fees" class="padding-top-5">
|
||||
<div class="panel-scroll height-200" perfect-scrollbar wheel-propagation="false" suppress-scroll-x="true">
|
||||
<div class="cl-effect-13" style="float: right" ng-if="getLoginType=='R004' && universityFeesDetails!=false">
|
||||
<a ui-sref="app.reports.balfee">
|
||||
view more
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="cl-effect-13" style="float: right" ng-if="getLoginType=='R003' && universityFeesDetails!=false">
|
||||
<a ui-sref="app.reports.balfee">
|
||||
view more
|
||||
</a>
|
||||
</div>
|
||||
<table class="table no-margin">
|
||||
<tbody>
|
||||
<tr ng-repeat="univFees in universityFeesDetails">
|
||||
<td>
|
||||
<span class="text-small block text-light">University ID</span>
|
||||
<span>{{univFees.UniversityID}}</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-small block text-light">University Name</span>
|
||||
<span>{{univFees.UniversityName}}</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-small block text-light">Payable Fees</span>
|
||||
<span>{{univFees.PayableFees}}</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-small block text-light">Paid Fees</span>
|
||||
<span>{{univFees.PaidFees}}</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-small block text-light">Balance Fees</span>
|
||||
<span>{{univFees.PayableFees-univFees.PaidFees}}</span>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</tab>
|
||||
<!-- end university fees details tab-->
|
||||
<!--start batch fees details tab-->
|
||||
<tab heading="Batch Pending Fees" class="padding-top-5">
|
||||
<div class="panel-scroll height-200" perfect-scrollbar wheel-propagation="false" suppress-scroll-x="true">
|
||||
<div class="cl-effect-13" style="float: right" ng-if="getLoginType=='R004' && batchFeesDetails!=false">
|
||||
<a ui-sref="app.reports.balfee">
|
||||
view more
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="cl-effect-13" style="float: right" ng-if="getLoginType=='R003' && batchFeesDetails!=false">
|
||||
<a ui-sref="app.reports.balfee">
|
||||
view more
|
||||
</a>
|
||||
</div>
|
||||
<table class="table no-margin">
|
||||
<tbody>
|
||||
<tr ng-repeat="batchFees in batchFeesDetails">
|
||||
<td>
|
||||
<span class="text-small block text-light">Batch Code</span>
|
||||
<span>{{batchFees.BatchCode}}</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-small block text-light">Batch Name</span>
|
||||
<span>{{batchFees.BatchName}}</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-small block text-light">Payable Fees</span>
|
||||
<span>{{batchFees.PayableFees}}</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-small block text-light">Paid Fees</span>
|
||||
<span>{{batchFees.PaidFees}}</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-small block text-light">Balance Fees</span>
|
||||
<span>{{batchFees.PayableFees-batchFees.PaidFees}}</span>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</tab>
|
||||
<!-- end batch fees details tab-->
|
||||
</tabset>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@ -26,107 +26,32 @@
|
||||
<div class="row">
|
||||
<tabset class="tabbable no-padding no-margin">
|
||||
<!-- start today followup details tab-->
|
||||
<tab heading="Leads Closed Today : {{l_dataDayClosed.length}}" class="padding-top-5 padding-left-5">
|
||||
<div ng-if="getLoginType=='R004'" class="panel-scroll height-500" perfect-scrollbar wheel-propagation="false" suppress-scroll-x="true">
|
||||
<tab heading="Leads Closed Today : {{l_dataDayClosed.length || sl_dataDayClosed.length}}" class="padding-top-5 padding-left-5">
|
||||
<div ng-if="getLoginType=='R004' || getLoginType=='R003'" class="panel-scroll height-500" perfect-scrollbar wheel-propagation="false" suppress-scroll-x="true">
|
||||
<div ng-if="cd==true">
|
||||
<center>
|
||||
<h5 class="text-dark">No Leads!</h5>
|
||||
</center>
|
||||
</div>
|
||||
<div class="cl-effect-13" style="float: right" ng-if="cd==false">
|
||||
<a ui-sref="app.call.tracking">
|
||||
view more
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div dx-data-grid="todayLeadClosed" ng-if="cd==false"></div>
|
||||
<!-- <table class="table table-hover no-margin" ng-if="cd==false">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>Name</th>
|
||||
<th>Mobile No</th>
|
||||
<th>Course</th>
|
||||
<th>University</th>
|
||||
<th>Activity</th>
|
||||
<th>Assigned To</th>
|
||||
<th>Follow Up Date</th>
|
||||
<th>Status</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
<tr ng-repeat="today in l_dataDayClosed">
|
||||
<td>{{today.tid}}</td>
|
||||
<td>
|
||||
<a tooltip="View Student" class="text-dark" ng-click="open(today);">{{today.name}}</a>
|
||||
</td>
|
||||
<td>
|
||||
<a tooltip="View Student" class="text-dark" ng-click="open(today);">{{today.mobile}}</a>
|
||||
</td>
|
||||
<td>{{today.course}}</td>
|
||||
<td>{{today.univ}}</td>
|
||||
<td>{{today.activity}}</td>
|
||||
<td>{{today.AssignTo}}</td>
|
||||
<td>{{today.fup}}</td>
|
||||
<td>{{today.prsStatus}}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table> -->
|
||||
|
||||
</div>
|
||||
<div ng-if="getLoginType!='R004'" class="panel-scroll height-350" perfect-scrollbar wheel-propagation="false" suppress-scroll-x="true">
|
||||
<div ng-if="emptyDataToday!=true">
|
||||
<div ng-if="getLoginType=='R002' || getLoginType=='R005'" class="panel-scroll height-350" perfect-scrollbar wheel-propagation="false" suppress-scroll-x="true">
|
||||
<div ng-if="cdl!=true">
|
||||
<center>
|
||||
<h5 class="text-dark">No Followup!</h5>
|
||||
</center>
|
||||
</div>
|
||||
<!-- <div class="cl-effect-13" style="float: right" ng-if="emptyDataToday==false">
|
||||
<a ui-sref="app.call.tracking">
|
||||
view more
|
||||
</a>
|
||||
</div> -->
|
||||
<table class="table table-hover no-margin" ng-if="emptyDataToday==false">
|
||||
<thead>
|
||||
<tr>
|
||||
<!--<td colspan="5" style="background:#1FBBA6;color:#fff !important">Total Entries :{{todayFolloupDetails.length}}</td></tr>-->
|
||||
<tr>
|
||||
<th> ID</th>
|
||||
<th> Name</th>
|
||||
<th>Mobile </th>
|
||||
<th>Activity</th>
|
||||
<th class="hidden-xs">Status</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
<tr ng-repeat="today in todayFolloupDetails">
|
||||
<td>{{today.TrackingID}}</td>
|
||||
<td>
|
||||
<a tooltip="View Student" class="text-dark" ng-click="open(today);">{{today.LeadName}}</a>
|
||||
</td>
|
||||
<td>
|
||||
<a tooltip="View Student" class="text-dark" ng-click="open(today);">{{today.MobileNumber}}</a>
|
||||
</td>
|
||||
<td>{{today.ActivityName}}</td>
|
||||
<td class="hidden-xs" ng-if="today.statusName=='CLOSE'">
|
||||
<span class="label label-sm label-success">{{today.statusName}}</span>
|
||||
</td>
|
||||
<td class="hidden-xs" ng-if="today.statusName!='CLOSE'">
|
||||
<span class="label label-sm label-warning">{{today.statusName}}</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div dx-data-grid="todayLeadClosed" ng-if="cdl==false"></div>
|
||||
</div>
|
||||
</tab>
|
||||
<!-- end today followup details tab-->
|
||||
<!-- end pending track details tab-->
|
||||
<tab heading="Leads Closed This Month : {{l_dataMonthClosed.length}}" class="padding-top-5">
|
||||
<tab heading="Leads Closed This Month : {{l_dataMonthClosed.length || sl_dataMonthClosed.length}}" class="padding-top-5">
|
||||
|
||||
<div ng-if="getLoginType=='R004'" class="panel-scroll height-500" perfect-scrollbar wheel-propagation="false" suppress-scroll-x="true">
|
||||
<div ng-if="getLoginType=='R004' || getLoginType=='R003'" class="panel-scroll height-500" perfect-scrollbar wheel-propagation="false" suppress-scroll-x="true">
|
||||
<div ng-if="cm==true">
|
||||
<center>
|
||||
<h5 class="text-dark">No Leads!</h5>
|
||||
@ -138,88 +63,17 @@
|
||||
</a>
|
||||
</div> -->
|
||||
<div dx-data-grid="monthLeadClosed" ng-if="cm==false"></div>
|
||||
<!-- <table class="table table-hover no-margin" ng-if="cm==false">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>Name</th>
|
||||
<th>Mobile No</th>
|
||||
<th>Course</th>
|
||||
<th>University</th>
|
||||
<th>Activity</th>
|
||||
<th>Assigned To</th>
|
||||
<th>Follow Up Date</th>
|
||||
<th>Status</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
<tr ng-repeat="today in l_dataMonthClosed">
|
||||
<td>{{today.tid}}</td>
|
||||
<td>
|
||||
<a tooltip="View Student" class="text-dark" ng-click="open(today);">{{today.name}}</a>
|
||||
</td>
|
||||
<td>
|
||||
<a tooltip="View Student" class="text-dark" ng-click="open(today);">{{today.mobile}}</a>
|
||||
</td>
|
||||
<td>{{today.course}}</td>
|
||||
<td>{{today.univ}}</td>
|
||||
<td>{{today.activity}}</td>
|
||||
<td>{{today.AssignTo}}</td>
|
||||
<td>{{today.fup}}</td>
|
||||
<td>{{today.prsStatus}}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table> -->
|
||||
|
||||
</div>
|
||||
<div ng-if="getLoginType!='R004'" class="panel-scroll height-350" perfect-scrollbar wheel-propagation="false" suppress-scroll-x="true">
|
||||
<div ng-if="getLoginType=='R002' || getLoginType=='R005'" class="panel-scroll height-350" perfect-scrollbar wheel-propagation="false" suppress-scroll-x="true">
|
||||
|
||||
<div ng-if="emptyDataPending==true">
|
||||
<div ng-if="cml==true">
|
||||
<center>
|
||||
<h5 class="text-dark">No Pending Followup!</h5>
|
||||
<h5 class="text-dark">No Leads!</h5>
|
||||
</center>
|
||||
</div>
|
||||
<div class="cl-effect-13" style="float: right" ng-if="emptyDataPending==false">
|
||||
<a ui-sref="app.call.tracking">
|
||||
view more
|
||||
</a>
|
||||
</div>
|
||||
<table class="table table-hover" ng-if="emptyDataPending==false">
|
||||
<thead>
|
||||
<!-- <tr> -->
|
||||
<!-- <td colspan="6" style="background:#C82E29;color:#fff !important">Total Entries :{{pendingFolloupDetails.length}}</td></tr> -->
|
||||
<tr>
|
||||
<th> ID</th>
|
||||
<th> Name</th>
|
||||
<th>Mobile </th>
|
||||
<th>Activity</th>
|
||||
<th>Followup </th>
|
||||
<th class="hidden-xs">Status</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
<tr ng-repeat="pending in pendingFolloupDetails">
|
||||
<td>{{pending.TrackingID}}</td>
|
||||
<td>
|
||||
<a tooltip="View Student" class="text-dark" ng-click="open(pending);">{{pending.LeadName}}</a>
|
||||
</td>
|
||||
<td>
|
||||
<a tooltip="View Student" class="text-dark" ng-click="open(pending);">{{pending.MobileNumber}}</a>
|
||||
</td>
|
||||
<td>{{pending.ActivityName}}</td>
|
||||
<td>{{pending.FollowupOn}}</td>
|
||||
<td class="hidden-xs">
|
||||
<span class="label label-sm label-danger">{{pending.statusName}}</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
|
||||
<div dx-data-grid="monthLeadClosed" ng-if="cml==false"></div>
|
||||
</div>
|
||||
</tab>
|
||||
<!-- end pending track details tab-->
|
||||
@ -233,142 +87,6 @@
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="row" ng-if="getLoginType!='R004'" ng-controller="OnotherCtrl" data-ng-init="init()">
|
||||
<div class="col-sm-12">
|
||||
<div class="panel panel-white no-radius">
|
||||
|
||||
<div class="panel-body no-padding">
|
||||
|
||||
<tabset class="tabbable no-padding no-margin">
|
||||
<!-- start university registration details tab-->
|
||||
<tab heading="University Registration" class="padding-top-5 padding-left-5">
|
||||
<div class="panel-scroll height-200" perfect-scrollbar wheel-propagation="false" suppress-scroll-x="true">
|
||||
<div class="cl-effect-13" style="float: right" ng-if="getLoginType=='R004' && registerdStudentDetails!=false">
|
||||
<a ui-sref="app.student.studentDetailsSuperAdmin">
|
||||
view more
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="cl-effect-13" style="float: right" ng-if="registerdStudentDetails!='R004' && registerdStudentDetails!=false">
|
||||
<a ui-sref="app.student.studentDetails">
|
||||
view more
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<table class="table no-margin">
|
||||
<tbody>
|
||||
<tr ng-repeat="registration in registerdStudentDetails">
|
||||
<td>
|
||||
<span class="text-small block text-light">University ID</span>
|
||||
<span>{{registration.UniversityID}}</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-small block text-light">University Name</span>
|
||||
<span>{{registration.UniversityName | uppercase}}</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-small block text-light">No of Registration</span>
|
||||
<span>{{registration.StudentCounts}}</span>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</tab>
|
||||
<!-- end university registration details tab-->
|
||||
<!-- start university fees details tab-->
|
||||
<tab heading="University Pending Fees" class="padding-top-5">
|
||||
<div class="panel-scroll height-200" perfect-scrollbar wheel-propagation="false" suppress-scroll-x="true">
|
||||
<div class="cl-effect-13" style="float: right" ng-if="getLoginType=='R004' && universityFeesDetails!=false">
|
||||
<a ui-sref="app.reports.balfee">
|
||||
view more
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="cl-effect-13" style="float: right" ng-if="getLoginType=='R003' && universityFeesDetails!=false">
|
||||
<a ui-sref="app.reports.balfee">
|
||||
view more
|
||||
</a>
|
||||
</div>
|
||||
<table class="table no-margin">
|
||||
<tbody>
|
||||
<tr ng-repeat="univFees in universityFeesDetails">
|
||||
<td>
|
||||
<span class="text-small block text-light">University ID</span>
|
||||
<span>{{univFees.UniversityID}}</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-small block text-light">University Name</span>
|
||||
<span>{{univFees.UniversityName}}</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-small block text-light">Payable Fees</span>
|
||||
<span>{{univFees.PayableFees}}</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-small block text-light">Paid Fees</span>
|
||||
<span>{{univFees.PaidFees}}</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-small block text-light">Balance Fees</span>
|
||||
<span>{{univFees.PayableFees-univFees.PaidFees}}</span>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</tab>
|
||||
<!-- end university fees details tab-->
|
||||
<!--start batch fees details tab-->
|
||||
<tab heading="Batch Pending Fees" class="padding-top-5">
|
||||
<div class="panel-scroll height-200" perfect-scrollbar wheel-propagation="false" suppress-scroll-x="true">
|
||||
<div class="cl-effect-13" style="float: right" ng-if="getLoginType=='R004' && batchFeesDetails!=false">
|
||||
<a ui-sref="app.reports.balfee">
|
||||
view more
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="cl-effect-13" style="float: right" ng-if="getLoginType=='R003' && batchFeesDetails!=false">
|
||||
<a ui-sref="app.reports.balfee">
|
||||
view more
|
||||
</a>
|
||||
</div>
|
||||
<table class="table no-margin">
|
||||
<tbody>
|
||||
<tr ng-repeat="batchFees in batchFeesDetails">
|
||||
<td>
|
||||
<span class="text-small block text-light">Batch Code</span>
|
||||
<span>{{batchFees.BatchCode}}</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-small block text-light">Batch Name</span>
|
||||
<span>{{batchFees.BatchName}}</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-small block text-light">Payable Fees</span>
|
||||
<span>{{batchFees.PayableFees}}</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-small block text-light">Paid Fees</span>
|
||||
<span>{{batchFees.PaidFees}}</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-small block text-light">Balance Fees</span>
|
||||
<span>{{batchFees.PayableFees-batchFees.PaidFees}}</span>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</tab>
|
||||
<!-- end batch fees details tab-->
|
||||
</tabset>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@ -2,12 +2,13 @@
|
||||
a {
|
||||
color: #5b5b60;
|
||||
}
|
||||
|
||||
.WrappedColumnClass {
|
||||
white-space: normal;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
white-space: normal;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
</style>
|
||||
<!-- start: DASHBOARD TITLE -->
|
||||
<!-- start: DASHBOARD TITLE -->
|
||||
<!--<section id="page-title" class="padding-top-15 padding-bottom-15">
|
||||
<div class="row">
|
||||
<div class="col-sm-7">
|
||||
@ -24,15 +25,16 @@
|
||||
<div class="col-sm-12" ng-controller="studentModalDemoCtrl">
|
||||
<div class="panel panel-white no-radius">
|
||||
|
||||
<div class="panel-body" style="padding:0px!important">
|
||||
|
||||
|
||||
<div class="panel-body" style="padding:0px!important">
|
||||
|
||||
|
||||
<div class="row">
|
||||
<tabset class="tabbable no-padding no-margin">
|
||||
<!-- start Admissions-Month tab-->
|
||||
<tab heading="Admissions-Month : {{adMonth.length}}" class="padding-top-5 padding-left-5">
|
||||
<div ng-if="getLoginType=='R004'" class="panel-scroll height-500" perfect-scrollbar wheel-propagation="false" suppress-scroll-x="true">
|
||||
<!-- <div class="row">
|
||||
<div ng-if="getLoginType=='R004' || getLoginType=='R003'" class="panel-scroll height-500" perfect-scrollbar wheel-propagation="false"
|
||||
suppress-scroll-x="true">
|
||||
<!-- <div class="row">
|
||||
<div class="col-md-4">
|
||||
<label>
|
||||
Year
|
||||
@ -123,58 +125,15 @@
|
||||
</tbody>
|
||||
</table> -->
|
||||
</div>
|
||||
<div ng-if="getLoginType!='R004'" class="panel-scroll height-350" perfect-scrollbar wheel-propagation="false" suppress-scroll-x="true">
|
||||
<div ng-if="ad==true">
|
||||
<center>
|
||||
<h5 class="text-dark">No Admissions!</h5>
|
||||
</center>
|
||||
</div>
|
||||
<div class="cl-effect-13" style="float: right" ng-if="ad==false">
|
||||
<a ui-sref="app.call.tracking">
|
||||
view more
|
||||
</a>
|
||||
</div>
|
||||
<table class="table table-hover no-margin" ng-if="ad==false">
|
||||
<thead>
|
||||
<tr>
|
||||
<!--<td colspan="5" style="background:#1FBBA6;color:#fff !important">Total Entries :{{todayFolloupDetails.length}}</td></tr>-->
|
||||
<tr>
|
||||
<th> ID</th>
|
||||
<th> Name</th>
|
||||
<th>Mobile </th>
|
||||
<th>Activity</th>
|
||||
<th class="hidden-xs">Status</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
<tr ng-repeat="today in todayFolloupDetails">
|
||||
<td>{{today.TrackingID}}</td>
|
||||
<td>
|
||||
<a tooltip="View Student" class="text-dark" ng-click="open(today);">{{today.LeadName}}</a>
|
||||
</td>
|
||||
<td>
|
||||
<a tooltip="View Student" class="text-dark" ng-click="open(today);">{{today.MobileNumber}}</a>
|
||||
</td>
|
||||
<td>{{today.ActivityName}}</td>
|
||||
<td class="hidden-xs" ng-if="today.statusName=='CLOSE'">
|
||||
<span class="label label-sm label-success">{{today.statusName}}</span>
|
||||
</td>
|
||||
<td class="hidden-xs" ng-if="today.statusName!='CLOSE'">
|
||||
<span class="label label-sm label-warning">{{today.statusName}}</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</tab>
|
||||
<!-- end Admissions-Month tab-->
|
||||
<!-- end Admissions-Batch tab-->
|
||||
<tab heading="Admissions-Batch : {{adBatch.length || adBatchfilter.length}}" class="padding-top-5">
|
||||
|
||||
<div ng-if="getLoginType=='R004'" class="panel-scroll height-500" perfect-scrollbar wheel-propagation="false" suppress-scroll-x="true">
|
||||
<!-- <div class="row">
|
||||
<div ng-if="getLoginType=='R004' || getLoginType=='R003'" class="panel-scroll height-500" perfect-scrollbar wheel-propagation="false"
|
||||
suppress-scroll-x="true">
|
||||
<!-- <div class="row">
|
||||
<div class="col-md-4">
|
||||
<label>
|
||||
University
|
||||
@ -202,101 +161,22 @@
|
||||
</div><br> -->
|
||||
<div ng-if="adb==true">
|
||||
<center>
|
||||
<h5 class="text-dark">No Pending Followup!</h5>
|
||||
<h5 class="text-dark">No Admissions!</h5>
|
||||
</center>
|
||||
</div>
|
||||
<!-- <div class="cl-effect-13" style="float: right" ng-if="adb==false">
|
||||
<a ui-sref="app.call.tracking">
|
||||
view more
|
||||
</a>
|
||||
</div> -->
|
||||
<div dx-pivot-grid="adBatchgrid" ng-if="adb==false && fbselect==false"></div>
|
||||
<div dx-pivot-grid="adBatchgrid1" ng-if="fbselect==true"></div>
|
||||
<div dx-button="buttonOptions"></div>
|
||||
<!-- <table class="table table-hover" ng-if="emptyDataPending==false">
|
||||
<thead>
|
||||
|
||||
<tr>
|
||||
<th> ID</th>
|
||||
<th> Name</th>
|
||||
<th>Mobile </th>
|
||||
<th>Activity</th>
|
||||
<th>Followup </th>
|
||||
<th class="hidden-xs">Status</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
<tr ng-repeat="pending in pendingFolloupDetails">
|
||||
<td>{{pending.TrackingID}}</td>
|
||||
<td>
|
||||
<a tooltip="View Student" class="text-dark" ng-click="open(pending);">{{pending.LeadName}}</a>
|
||||
</td>
|
||||
<td>
|
||||
<a tooltip="View Student" class="text-dark" ng-click="open(pending);">{{pending.MobileNumber}}</a>
|
||||
</td>
|
||||
<td>{{pending.ActivityName}}</td>
|
||||
<td>{{pending.FollowupOn}}</td>
|
||||
<td class="hidden-xs">
|
||||
<span class="label label-sm label-danger">{{pending.statusName}}</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
</table> -->
|
||||
</div>
|
||||
<div ng-if="getLoginType!='R004'" class="panel-scroll height-350" perfect-scrollbar wheel-propagation="false" suppress-scroll-x="true">
|
||||
|
||||
<div ng-if="emptyDataPending==true">
|
||||
<center>
|
||||
<h5 class="text-dark">No Pending Followup!</h5>
|
||||
</center>
|
||||
</div>
|
||||
<div class="cl-effect-13" style="float: right" ng-if="emptyDataPending==false">
|
||||
<a ui-sref="app.call.tracking">
|
||||
view more
|
||||
</a>
|
||||
</div>
|
||||
<table class="table table-hover" ng-if="emptyDataPending==false">
|
||||
<thead>
|
||||
<!-- <tr> -->
|
||||
<!-- <td colspan="6" style="background:#C82E29;color:#fff !important">Total Entries :{{pendingFolloupDetails.length}}</td></tr> -->
|
||||
<tr>
|
||||
<th> ID</th>
|
||||
<th> Name</th>
|
||||
<th>Mobile </th>
|
||||
<th>Activity</th>
|
||||
<th>Followup </th>
|
||||
<th class="hidden-xs">Status</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
<tr ng-repeat="pending in pendingFolloupDetails">
|
||||
<td>{{pending.TrackingID}}</td>
|
||||
<td>
|
||||
<a tooltip="View Student" class="text-dark" ng-click="open(pending);">{{pending.LeadName}}</a>
|
||||
</td>
|
||||
<td>
|
||||
<a tooltip="View Student" class="text-dark" ng-click="open(pending);">{{pending.MobileNumber}}</a>
|
||||
</td>
|
||||
<td>{{pending.ActivityName}}</td>
|
||||
<td>{{pending.FollowupOn}}</td>
|
||||
<td class="hidden-xs">
|
||||
<span class="label label-sm label-danger">{{pending.statusName}}</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
|
||||
<div dx-pivot-grid="adBatchgrid" ng-if="adb==false && fbselect==false"></div>
|
||||
<div style="width:600px;display:block;overflow: auto" dx-pivot-grid="adBatchgrid1" ng-if="fbselect==true"></div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</tab>
|
||||
<!-- end Admissions-Batch tab-->
|
||||
<!-- start Admissions-Yearly tab-->
|
||||
<tab heading="Admissions-Yearly : {{adYear.length}}" class="padding-top-5">
|
||||
<div ng-if="getLoginType=='R004'" class="panel-scroll height-500" perfect-scrollbar wheel-propagation="false" suppress-scroll-x="true">
|
||||
<div ng-if="getLoginType=='R004' || getLoginType=='R003'" class="panel-scroll height-500" perfect-scrollbar wheel-propagation="false"
|
||||
suppress-scroll-x="true">
|
||||
<div ng-if="ady==true">
|
||||
<center>
|
||||
<h5 class="text-dark">No Admissions!</h5>
|
||||
@ -308,103 +188,15 @@
|
||||
</a>
|
||||
</div> -->
|
||||
<div dx-data-grid="adYeargrid" ng-if="ady==false"></div>
|
||||
<!-- <table class="table table-hover" ng-if="ady==false">
|
||||
<thead>
|
||||
|
||||
<tr>
|
||||
<th> University</th>
|
||||
<th> June</th>
|
||||
<th>July </th>
|
||||
<th>August</th>
|
||||
<th>September </th>
|
||||
<th>October</th>
|
||||
<th>November</th>
|
||||
<th>December</th>
|
||||
<th>January</th>
|
||||
<th>February</th>
|
||||
<th>March</th>
|
||||
<th>April</th>
|
||||
<th>May</th>
|
||||
<th>Total</th>
|
||||
<th>Admissions Taken By & Count</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
<tr ng-repeat="lead in adYear">
|
||||
<td>{{lead.university}}</td>
|
||||
<td>{{lead.June}}</td>
|
||||
<td>{{lead.July}}</td>
|
||||
<td>{{lead.August}}</td>
|
||||
<td>{{lead.September}}</td>
|
||||
<td>{{lead.October}}</td>
|
||||
<td>{{lead.November}}</td>
|
||||
<td>{{lead.December}}</td>
|
||||
<td>{{lead.January}}</td>
|
||||
<td>{{lead.February}}</td>
|
||||
<td>{{lead.March}}</td>
|
||||
<td>{{lead.April}}</td>
|
||||
<td>{{lead.May}}</td>
|
||||
<td>{{lead.tot_cnt}}</td>
|
||||
<td>{{lead.gad}}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
</table> -->
|
||||
</div>
|
||||
<div ng-if="getLoginType!='R004'" class="panel-scroll height-350" perfect-scrollbar wheel-propagation="false" suppress-scroll-x="true">
|
||||
<div ng-if="ady==true">
|
||||
<center>
|
||||
<h5 class="text-dark">No Admissions!</h5>
|
||||
</center>
|
||||
</div>
|
||||
<div class="cl-effect-13" style="float: right" ng-if="ady==false && getLoginType=='R004' || getLoginType=='R003'">
|
||||
<a ui-sref="app.call.lead">
|
||||
view more
|
||||
</a>
|
||||
</div>
|
||||
<table class="table table-hover" ng-if="ady==false">
|
||||
<thead>
|
||||
<!-- <tr><td colspan="6" style="background:#DD5A82;color:#fff !important">Total Entries :{{leadDetails.length}}</td></tr> -->
|
||||
<tr>
|
||||
<th> ID</th>
|
||||
<th> Name</th>
|
||||
<th>Mobile </th>
|
||||
<th>Activity</th>
|
||||
<th>Followup </th>
|
||||
<th class="hidden-xs">Status</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
<tr ng-repeat="lead in leadDetails">
|
||||
<td>{{lead.TrackingID}}</td>
|
||||
<td>
|
||||
<a tooltip="View Student" class="text-dark" ng-click="open(lead);">{{lead.LeadName}}</a>
|
||||
</td>
|
||||
<td>
|
||||
<a tooltip="View Student" class="text-dark" ng-click="open(lead);">{{lead.MobileNumber}}</a>
|
||||
</td>
|
||||
<td>{{lead.ActivityName}}</td>
|
||||
<td>{{lead.FollowupOn}}</td>
|
||||
<td class="hidden-xs" ng-if="lead.statusName=='CLOSE'">
|
||||
<span class="label label-sm label-info">{{lead.statusName}}</span>
|
||||
</td>
|
||||
<td class="hidden-xs" ng-if="lead.statusName!='CLOSE'">
|
||||
<span class="label label-sm label-info">{{lead.statusName}}</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
</tab>
|
||||
<!-- end today Admissions-Yearly tab-->
|
||||
<!-- start fee outstanding tab-->
|
||||
<tab heading="Fees Outstanding : {{fout.length}}" class="padding-top-5">
|
||||
<div ng-if="getLoginType=='R004'" class="panel-scroll height-500" perfect-scrollbar wheel-propagation="false" suppress-scroll-x="true">
|
||||
<div ng-if="getLoginType=='R004' || getLoginType=='R003'" class="panel-scroll height-500" perfect-scrollbar wheel-propagation="false"
|
||||
suppress-scroll-x="true">
|
||||
<div ng-if="fo==true">
|
||||
<center>
|
||||
<h5 class="text-dark">No Outstanding Fee!</h5>
|
||||
@ -416,80 +208,9 @@
|
||||
</a>
|
||||
</div> -->
|
||||
<div dx-data-grid="FeeOut" ng-if="fo==false"></div>
|
||||
<!-- <table class="table table-hover" ng-if="fo==false">
|
||||
<thead>
|
||||
|
||||
<tr>
|
||||
<th> Batches</th>
|
||||
<th> Total Payable Fee</th>
|
||||
<th>Total Fee Paid </th>
|
||||
<th>Total Balance</th>
|
||||
<th>Balance in % </th>
|
||||
<th>Balance % by Staff</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
<tr ng-repeat="lead in fout">
|
||||
<td>{{lead.batch}}</td>
|
||||
<td>{{lead.tot_payable}}</td>
|
||||
<td>{{lead.tot_paid}}</td>
|
||||
<td>{{lead.balance}}</td>
|
||||
<td>{{lead.bal_percentage}}</td>
|
||||
<td>{{lead.staff_percent}}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
</table> -->
|
||||
</div>
|
||||
<div ng-if="getLoginType!='R004'" class="panel-scroll height-350" perfect-scrollbar wheel-propagation="false" suppress-scroll-x="true">
|
||||
<div ng-if="fo==true">
|
||||
<center>
|
||||
<h5 class="text-dark">No Outstanding Fee!</h5>
|
||||
</center>
|
||||
</div>
|
||||
<div class="cl-effect-13" style="float: right" ng-if="fo==false && getLoginType=='R004' || getLoginType=='R003'">
|
||||
<a ui-sref="app.call.lead">
|
||||
view more
|
||||
</a>
|
||||
</div>
|
||||
<table class="table table-hover" ng-if="fo==false">
|
||||
<thead>
|
||||
<!-- <tr><td colspan="6" style="background:#DD5A82;color:#fff !important">Total Entries :{{leadDetails.length}}</td></tr> -->
|
||||
<tr>
|
||||
<th> ID</th>
|
||||
<th> Name</th>
|
||||
<th>Mobile </th>
|
||||
<th>Activity</th>
|
||||
<th>Followup </th>
|
||||
<th class="hidden-xs">Status</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
<tr ng-repeat="lead in leadDetails">
|
||||
<td>{{lead.TrackingID}}</td>
|
||||
<td>
|
||||
<a tooltip="View Student" class="text-dark" ng-click="open(lead);">{{lead.LeadName}}</a>
|
||||
</td>
|
||||
<td>
|
||||
<a tooltip="View Student" class="text-dark" ng-click="open(lead);">{{lead.MobileNumber}}</a>
|
||||
</td>
|
||||
<td>{{lead.ActivityName}}</td>
|
||||
<td>{{lead.FollowupOn}}</td>
|
||||
<td class="hidden-xs" ng-if="lead.statusName=='CLOSE'">
|
||||
<span class="label label-sm label-info">{{lead.statusName}}</span>
|
||||
</td>
|
||||
<td class="hidden-xs" ng-if="lead.statusName!='CLOSE'">
|
||||
<span class="label label-sm label-info">{{lead.statusName}}</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
</tab>
|
||||
<!-- end today fee outstanding tab-->
|
||||
</tabset>
|
||||
@ -499,144 +220,6 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="row" ng-if="getLoginType!='R004'" ng-controller="OnotherCtrl" data-ng-init="init()">
|
||||
<div class="col-sm-12">
|
||||
<div class="panel panel-white no-radius">
|
||||
|
||||
<div class="panel-body no-padding">
|
||||
|
||||
<tabset class="tabbable no-padding no-margin">
|
||||
<!-- start university registration details tab-->
|
||||
<tab heading="University Registration" class="padding-top-5 padding-left-5">
|
||||
<div class="panel-scroll height-200" perfect-scrollbar wheel-propagation="false" suppress-scroll-x="true">
|
||||
<div class="cl-effect-13" style="float: right" ng-if="getLoginType=='R004' && registerdStudentDetails!=false">
|
||||
<a ui-sref="app.student.studentDetailsSuperAdmin">
|
||||
view more
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="cl-effect-13" style="float: right" ng-if="registerdStudentDetails!='R004' && registerdStudentDetails!=false">
|
||||
<a ui-sref="app.student.studentDetails">
|
||||
view more
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<table class="table no-margin">
|
||||
<tbody>
|
||||
<tr ng-repeat="registration in registerdStudentDetails">
|
||||
<td>
|
||||
<span class="text-small block text-light">University ID</span>
|
||||
<span>{{registration.UniversityID}}</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-small block text-light">University Name</span>
|
||||
<span>{{registration.UniversityName | uppercase}}</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-small block text-light">No of Registration</span>
|
||||
<span>{{registration.StudentCounts}}</span>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</tab>
|
||||
<!-- end university registration details tab-->
|
||||
<!-- start university fees details tab-->
|
||||
<tab heading="University Pending Fees" class="padding-top-5">
|
||||
<div class="panel-scroll height-200" perfect-scrollbar wheel-propagation="false" suppress-scroll-x="true">
|
||||
<div class="cl-effect-13" style="float: right" ng-if="getLoginType=='R004' && universityFeesDetails!=false">
|
||||
<a ui-sref="app.reports.balfee">
|
||||
view more
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="cl-effect-13" style="float: right" ng-if="getLoginType=='R003' && universityFeesDetails!=false">
|
||||
<a ui-sref="app.reports.balfee">
|
||||
view more
|
||||
</a>
|
||||
</div>
|
||||
<table class="table no-margin">
|
||||
<tbody>
|
||||
<tr ng-repeat="univFees in universityFeesDetails">
|
||||
<td>
|
||||
<span class="text-small block text-light">University ID</span>
|
||||
<span>{{univFees.UniversityID}}</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-small block text-light">University Name</span>
|
||||
<span>{{univFees.UniversityName}}</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-small block text-light">Payable Fees</span>
|
||||
<span>{{univFees.PayableFees}}</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-small block text-light">Paid Fees</span>
|
||||
<span>{{univFees.PaidFees}}</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-small block text-light">Balance Fees</span>
|
||||
<span>{{univFees.PayableFees-univFees.PaidFees}}</span>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</tab>
|
||||
<!-- end university fees details tab-->
|
||||
<!--start batch fees details tab-->
|
||||
<tab heading="Batch Pending Fees" class="padding-top-5">
|
||||
<div class="panel-scroll height-200" perfect-scrollbar wheel-propagation="false" suppress-scroll-x="true">
|
||||
<div class="cl-effect-13" style="float: right" ng-if="getLoginType=='R004' && batchFeesDetails!=false">
|
||||
<a ui-sref="app.reports.balfee">
|
||||
view more
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="cl-effect-13" style="float: right" ng-if="getLoginType=='R003' && batchFeesDetails!=false">
|
||||
<a ui-sref="app.reports.balfee">
|
||||
view more
|
||||
</a>
|
||||
</div>
|
||||
<table class="table no-margin">
|
||||
<tbody>
|
||||
<tr ng-repeat="batchFees in batchFeesDetails">
|
||||
<td>
|
||||
<span class="text-small block text-light">Batch Code</span>
|
||||
<span>{{batchFees.BatchCode}}</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-small block text-light">Batch Name</span>
|
||||
<span>{{batchFees.BatchName}}</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-small block text-light">Payable Fees</span>
|
||||
<span>{{batchFees.PayableFees}}</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-small block text-light">Paid Fees</span>
|
||||
<span>{{batchFees.PaidFees}}</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-small block text-light">Balance Fees</span>
|
||||
<span>{{batchFees.PayableFees-batchFees.PaidFees}}</span>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</tab>
|
||||
<!-- end batch fees details tab-->
|
||||
</tabset>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -29,200 +29,48 @@
|
||||
<!-- start FollowUps-Today tab-->
|
||||
<tab heading="FollowUps-Today : {{ftoday.length}}" class="padding-top-5">
|
||||
|
||||
<div ng-if="getLoginType=='R004'" class="panel-scroll height-500" perfect-scrollbar wheel-propagation="false" suppress-scroll-x="true">
|
||||
<div ng-if="getLoginType=='R004' || getLoginType=='R003'" class="panel-scroll height-500" perfect-scrollbar wheel-propagation="false" suppress-scroll-x="true">
|
||||
<div ng-if="fut==true">
|
||||
<center>
|
||||
<h5 class="text-dark">No Followups today!</h5>
|
||||
</center>
|
||||
</div>
|
||||
<!-- <div class="cl-effect-13" style="float: right" ng-if="fut==false">
|
||||
<a ui-sref="app.call.tracking">
|
||||
view more
|
||||
</a>
|
||||
</div> -->
|
||||
|
||||
<div dx-data-grid="FollowToday" ng-if="fut==false"></div>
|
||||
<!-- <table class="table table-hover" ng-if="fut==false">
|
||||
<thead>
|
||||
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>Name</th>
|
||||
<th>Mobile No</th>
|
||||
<th>Course</th>
|
||||
<th>University</th>
|
||||
<th>Activity</th>
|
||||
<th>Assigned To</th>
|
||||
<th>Status</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
<tr ng-repeat="pending in ftoday">
|
||||
<td>{{pending.tid}}</td>
|
||||
<td>
|
||||
<a tooltip="View Student" class="text-dark" ng-click="open(today);">{{pending.name}}</a>
|
||||
</td>
|
||||
<td>
|
||||
<a tooltip="View Student" class="text-dark" ng-click="open(today);">{{pending.mobile}}</a>
|
||||
</td>
|
||||
<td>{{pending.course}}</td>
|
||||
<td>{{pending.univ}}</td>
|
||||
<td>{{pending.activity}}</td>
|
||||
<td>{{pending.AssignTo}}</td>
|
||||
<td>{{pending.prsStatus}}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
</table> -->
|
||||
|
||||
</div>
|
||||
<div ng-if="getLoginType!='R004'" class="panel-scroll height-350" perfect-scrollbar wheel-propagation="false" suppress-scroll-x="true">
|
||||
<div ng-if="getLoginType=='R002' || getLoginType=='R005'" class="panel-scroll height-350" perfect-scrollbar wheel-propagation="false" suppress-scroll-x="true">
|
||||
|
||||
<div ng-if="fut==true">
|
||||
<div ng-if="futl==true">
|
||||
<center>
|
||||
<h5 class="text-dark">No Followups today!</h5>
|
||||
</center>
|
||||
</div>
|
||||
<!-- <div class="cl-effect-13" style="float: right" ng-if="fut==false">
|
||||
<a ui-sref="app.call.tracking">
|
||||
view more
|
||||
</a>
|
||||
</div> -->
|
||||
<table class="table table-hover" ng-if="fut==false">
|
||||
<thead>
|
||||
<!-- <tr> -->
|
||||
<!-- <td colspan="6" style="background:#C82E29;color:#fff !important">Total Entries :{{pendingFolloupDetails.length}}</td></tr> -->
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>Name</th>
|
||||
<th>Mobile No</th>
|
||||
<th>Course</th>
|
||||
<th>University</th>
|
||||
<th>Activity</th>
|
||||
<th>Assigned To</th>
|
||||
<th>Status</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
<tr ng-repeat="pending in pendingFolloupDetails">
|
||||
<td>{{pending.tid}}</td>
|
||||
<td>
|
||||
<a tooltip="View Student" class="text-dark" ng-click="open(today);">{{pending.name}}</a>
|
||||
</td>
|
||||
<td>
|
||||
<a tooltip="View Student" class="text-dark" ng-click="open(today);">{{pending.mobile}}</a>
|
||||
</td>
|
||||
<td>{{pending.course}}</td>
|
||||
<td>{{pending.univ}}</td>
|
||||
<td>{{pending.activity}}</td>
|
||||
<td>{{pending.AssignTo}}</td>
|
||||
<td>{{pending.prsStatus}}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
|
||||
<div dx-data-grid="FollowToday" ng-if="futl==false"></div>
|
||||
</div>
|
||||
</tab>
|
||||
<!-- end FollowUps-Today tab-->
|
||||
<!-- start FollowUps-Pending Calls tab-->
|
||||
<tab heading="FollowUps-Pending Calls : {{fpending.length}}" class="padding-top-5">
|
||||
<div ng-if="getLoginType=='R004'" class="panel-scroll height-500" perfect-scrollbar wheel-propagation="false" suppress-scroll-x="true">
|
||||
<div ng-if="getLoginType=='R004' || getLoginType=='R003'" class="panel-scroll height-500" perfect-scrollbar wheel-propagation="false" suppress-scroll-x="true">
|
||||
<div ng-if="fp==true">
|
||||
<center>
|
||||
<h5 class="text-dark">No Pending followup!</h5>
|
||||
<h5 class="text-dark">No Records!</h5>
|
||||
</center>
|
||||
</div>
|
||||
<!-- <div class="cl-effect-13" style="float: right" ng-if="fp==false && getLoginType=='R004' || getLoginType=='R003'">
|
||||
<a ui-sref="app.call.lead">
|
||||
view more
|
||||
</a>
|
||||
</div> -->
|
||||
<div dx-data-grid="FollowPending" ng-if="fut==false"></div>
|
||||
<!-- <table class="table table-hover" ng-if="fp==false">
|
||||
<thead>
|
||||
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>Name</th>
|
||||
<th>Mobile No</th>
|
||||
<th>Course</th>
|
||||
<th>University</th>
|
||||
<th>Activity</th>
|
||||
<th>Assigned To</th>
|
||||
<th>Follow Up Date</th>
|
||||
<th>Status</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
<tr ng-repeat="lead in fpending">
|
||||
<td>{{lead.tid}}</td>
|
||||
<td>
|
||||
<a tooltip="View Student" class="text-dark" ng-click="open(today);">{{lead.name}}</a>
|
||||
</td>
|
||||
<td>
|
||||
<a tooltip="View Student" class="text-dark" ng-click="open(today);">{{lead.mobile}}</a>
|
||||
</td>
|
||||
<td>{{lead.course}}</td>
|
||||
<td>{{lead.univ}}</td>
|
||||
<td>{{lead.activity}}</td>
|
||||
<td>{{lead.AssignTo}}</td>
|
||||
<td>{{lead.fup}}</td>
|
||||
<td>{{lead.prsStatus}}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
</table> -->
|
||||
|
||||
<div dx-data-grid="FollowPending" ng-if="fp==false"></div>
|
||||
|
||||
</div>
|
||||
<div ng-if="getLoginType!='R004'" class="panel-scroll height-350" perfect-scrollbar wheel-propagation="false" suppress-scroll-x="true">
|
||||
<div ng-if="fp==true">
|
||||
<div ng-if="getLoginType=='R002' || getLoginType=='R005'" class="panel-scroll height-350" perfect-scrollbar wheel-propagation="false" suppress-scroll-x="true">
|
||||
<div ng-if="fpl==true">
|
||||
<center>
|
||||
<h5 class="text-dark">No Pending followup!</h5>
|
||||
<h5 class="text-dark">No Records!</h5>
|
||||
</center>
|
||||
</div>
|
||||
<!-- <div class="cl-effect-13" style="float: right" ng-if="fp==false && getLoginType=='R004' || getLoginType=='R003'">
|
||||
<a ui-sref="app.call.lead">
|
||||
view more
|
||||
</a>
|
||||
</div> -->
|
||||
<table class="table table-hover" ng-if="fp==false">
|
||||
<thead>
|
||||
<!-- <tr><td colspan="6" style="background:#DD5A82;color:#fff !important">Total Entries :{{leadDetails.length}}</td></tr> -->
|
||||
<tr>
|
||||
<th> ID</th>
|
||||
<th> Name</th>
|
||||
<th>Mobile </th>
|
||||
<th>Activity</th>
|
||||
<th>Followup </th>
|
||||
<th class="hidden-xs">Status</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
<tr ng-repeat="lead in leadDetails">
|
||||
<td>{{lead.TrackingID}}</td>
|
||||
<td>
|
||||
<a tooltip="View Student" class="text-dark" ng-click="open(lead);">{{lead.LeadName}}</a>
|
||||
</td>
|
||||
<td>
|
||||
<a tooltip="View Student" class="text-dark" ng-click="open(lead);">{{lead.MobileNumber}}</a>
|
||||
</td>
|
||||
<td>{{lead.ActivityName}}</td>
|
||||
<td>{{lead.FollowupOn}}</td>
|
||||
<td class="hidden-xs" ng-if="lead.statusName=='CLOSE'">
|
||||
<span class="label label-sm label-info">{{lead.statusName}}</span>
|
||||
</td>
|
||||
<td class="hidden-xs" ng-if="lead.statusName!='CLOSE'">
|
||||
<span class="label label-sm label-info">{{lead.statusName}}</span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
|
||||
<div dx-data-grid="FollowPending" ng-if="fpl==false"></div>
|
||||
</div>
|
||||
</tab>
|
||||
<!-- end FollowUps-Pending Calls tab-->
|
||||
@ -235,142 +83,6 @@
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="row" ng-if="getLoginType!='R004'" ng-controller="OnotherCtrl" data-ng-init="init()">
|
||||
<div class="col-sm-12">
|
||||
<div class="panel panel-white no-radius">
|
||||
|
||||
<div class="panel-body no-padding">
|
||||
|
||||
<tabset class="tabbable no-padding no-margin">
|
||||
<!-- start university registration details tab-->
|
||||
<tab heading="University Registration" class="padding-top-5 padding-left-5">
|
||||
<div class="panel-scroll height-200" perfect-scrollbar wheel-propagation="false" suppress-scroll-x="true">
|
||||
<div class="cl-effect-13" style="float: right" ng-if="getLoginType=='R004' && registerdStudentDetails!=false">
|
||||
<a ui-sref="app.student.studentDetailsSuperAdmin">
|
||||
view more
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="cl-effect-13" style="float: right" ng-if="registerdStudentDetails!='R004' && registerdStudentDetails!=false">
|
||||
<a ui-sref="app.student.studentDetails">
|
||||
view more
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<table class="table no-margin">
|
||||
<tbody>
|
||||
<tr ng-repeat="registration in registerdStudentDetails">
|
||||
<td>
|
||||
<span class="text-small block text-light">University ID</span>
|
||||
<span>{{registration.UniversityID}}</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-small block text-light">University Name</span>
|
||||
<span>{{registration.UniversityName | uppercase}}</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-small block text-light">No of Registration</span>
|
||||
<span>{{registration.StudentCounts}}</span>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</tab>
|
||||
<!-- end university registration details tab-->
|
||||
<!-- start university fees details tab-->
|
||||
<tab heading="University Pending Fees" class="padding-top-5">
|
||||
<div class="panel-scroll height-200" perfect-scrollbar wheel-propagation="false" suppress-scroll-x="true">
|
||||
<div class="cl-effect-13" style="float: right" ng-if="getLoginType=='R004' && universityFeesDetails!=false">
|
||||
<a ui-sref="app.reports.balfee">
|
||||
view more
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="cl-effect-13" style="float: right" ng-if="getLoginType=='R003' && universityFeesDetails!=false">
|
||||
<a ui-sref="app.reports.balfee">
|
||||
view more
|
||||
</a>
|
||||
</div>
|
||||
<table class="table no-margin">
|
||||
<tbody>
|
||||
<tr ng-repeat="univFees in universityFeesDetails">
|
||||
<td>
|
||||
<span class="text-small block text-light">University ID</span>
|
||||
<span>{{univFees.UniversityID}}</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-small block text-light">University Name</span>
|
||||
<span>{{univFees.UniversityName}}</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-small block text-light">Payable Fees</span>
|
||||
<span>{{univFees.PayableFees}}</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-small block text-light">Paid Fees</span>
|
||||
<span>{{univFees.PaidFees}}</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-small block text-light">Balance Fees</span>
|
||||
<span>{{univFees.PayableFees-univFees.PaidFees}}</span>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</tab>
|
||||
<!-- end university fees details tab-->
|
||||
<!--start batch fees details tab-->
|
||||
<tab heading="Batch Pending Fees" class="padding-top-5">
|
||||
<div class="panel-scroll height-200" perfect-scrollbar wheel-propagation="false" suppress-scroll-x="true">
|
||||
<div class="cl-effect-13" style="float: right" ng-if="getLoginType=='R004' && batchFeesDetails!=false">
|
||||
<a ui-sref="app.reports.balfee">
|
||||
view more
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="cl-effect-13" style="float: right" ng-if="getLoginType=='R003' && batchFeesDetails!=false">
|
||||
<a ui-sref="app.reports.balfee">
|
||||
view more
|
||||
</a>
|
||||
</div>
|
||||
<table class="table no-margin">
|
||||
<tbody>
|
||||
<tr ng-repeat="batchFees in batchFeesDetails">
|
||||
<td>
|
||||
<span class="text-small block text-light">Batch Code</span>
|
||||
<span>{{batchFees.BatchCode}}</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-small block text-light">Batch Name</span>
|
||||
<span>{{batchFees.BatchName}}</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-small block text-light">Payable Fees</span>
|
||||
<span>{{batchFees.PayableFees}}</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-small block text-light">Paid Fees</span>
|
||||
<span>{{batchFees.PaidFees}}</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-small block text-light">Balance Fees</span>
|
||||
<span>{{batchFees.PayableFees-batchFees.PaidFees}}</span>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</tab>
|
||||
<!-- end batch fees details tab-->
|
||||
</tabset>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
Loading…
Reference in New Issue
Block a user