dashboard screen changes

This commit is contained in:
gandhimathi 2018-10-12 12:21:50 +05:30
parent 252244d582
commit fe920a55fc
12 changed files with 3491 additions and 429 deletions

View File

@ -160,6 +160,23 @@ $route['getTotalEmployee'] = 'Dashboard_Controller/getTotalEmployee';
$route['getTotalUsers'] = 'Dashboard_Controller/getTotalUsers';
$route['getUniversityRegisteredStudent'] = 'Dashboard_Controller/getUniversityRegisteredStudent';
$route['getDashboradStudentPendingFees'] = 'Dashboard_Controller/getDashboradStudentPendingFees';
$route['getleadCountToday'] = 'Dashboard_Controller/getleadCountToday';
$route['getleadCountMonth'] = 'Dashboard_Controller/getleadCountMonth';
$route['getleadCountDayClosed'] = 'Dashboard_Controller/getleadCountDayClosed';
$route['getleadCountMonthClosed'] = 'Dashboard_Controller/getleadCountMonthClosed';
$route['getadmimssionMonth'] = 'Dashboard_Controller/getadmimssionMonth';
$route['getadmimssionYear'] = 'Dashboard_Controller/getadmimssionYear';
$route['getfupToday'] = 'Dashboard_Controller/getfupToday';
$route['getfupMonth'] = 'Dashboard_Controller/getfupMonth';
$route['leadToday'] = 'Dashboard_Controller/leadToday';
$route['leadMonth'] = 'Dashboard_Controller/leadMonth';
$route['leadTodayClosed'] = 'Dashboard_Controller/leadTodayClosed';
$route['leadMonthClosed'] = 'Dashboard_Controller/leadMonthClosed';
$route['admissionMonth'] = 'Dashboard_Controller/admissionMonth';
$route['admissionYear'] = 'Dashboard_Controller/admissionYear';
$route['feeOutstanding'] = 'Dashboard_Controller/feeOutstanding';
$route['followupsToday'] = 'Dashboard_Controller/followupsToday';
$route['followupsPending'] = 'Dashboard_Controller/followupsPending';
/*login page announcement*/
$route['getLoginAnnouncementDetails'] = 'Login_Controller/getLoginAnnouncementDetails';

View File

@ -109,5 +109,298 @@ class Dashboard_Controller extends REST_Controller {
'status' => REST_Controller::HTTP_NOT_FOUND
], REST_Controller::HTTP_NOT_FOUND); // NOT_FOUND (404) being the HTTP response code
}
}
/*
* get Admission and Lead summary details for dash board
* created by Tamilarasan
* */
public function getleadCountToday_post(){
$branchId = $this->post('branchId');
$getleadCountToday = $this->dashboard_model->leadCountDay($branchId);
if ($getleadCountToday) {
$getleadCountToday['status'] = REST_Controller::HTTP_OK;
// Set the response and exit
$this->response($getleadCountToday, REST_Controller::HTTP_OK); // OK (200) being the HTTP response code
}
else
{
// Set the response and exit
$this->response([
'message' => 'No users were found',
'status' => REST_Controller::HTTP_NOT_FOUND
], REST_Controller::HTTP_NOT_FOUND); // NOT_FOUND (404) being the HTTP response code
}
}
public function getleadCountMonth_post(){
$data = $this->post('data');
$getleadCountMonth = $this->dashboard_model->leadCountMonth();
if ($getleadCountMonth) {
$getleadCountMonth['status'] = REST_Controller::HTTP_OK;
// Set the response and exit
$this->response($getleadCountMonth, REST_Controller::HTTP_OK); // OK (200) being the HTTP response code
}
else
{
// Set the response and exit
$this->response([
'message' => 'No users were found',
'status' => REST_Controller::HTTP_NOT_FOUND
], REST_Controller::HTTP_NOT_FOUND); // NOT_FOUND (404) being the HTTP response code
}
}
public function getleadCountDayClosed_post(){
$data = $this->post('data');
$getleadCountDayClosed = $this->dashboard_model->leadCountDayClosed();
if ($getleadCountDayClosed) {
$getleadCountDayClosed['status'] = REST_Controller::HTTP_OK;
// Set the response and exit
$this->response($getleadCountDayClosed, REST_Controller::HTTP_OK); // OK (200) being the HTTP response code
}
else
{
// Set the response and exit
$this->response([
'message' => 'No users were found',
'status' => REST_Controller::HTTP_NOT_FOUND
], REST_Controller::HTTP_NOT_FOUND); // NOT_FOUND (404) being the HTTP response code
}
}
public function getleadCountMonthClosed_post(){
$data = $this->post('data');
$getleadCountMonthClosed = $this->dashboard_model->leadCountMonthClosed();
if ($getleadCountMonthClosed) {
$getleadCountMonthClosed['status'] = REST_Controller::HTTP_OK;
// Set the response and exit
$this->response($getleadCountMonthClosed, REST_Controller::HTTP_OK); // OK (200) being the HTTP response code
}
else
{
// Set the response and exit
$this->response([
'message' => 'No users were found',
'status' => REST_Controller::HTTP_NOT_FOUND
], REST_Controller::HTTP_NOT_FOUND); // NOT_FOUND (404) being the HTTP response code
}
}
public function getadmimssionMonth_post(){
$data = $this->post('data');
$getadmimssionMonth = $this->dashboard_model->admissionCountMonth();
if ($getadmimssionMonth) {
$getadmimssionMonth['status'] = REST_Controller::HTTP_OK;
// Set the response and exit
$this->response($getadmimssionMonth, REST_Controller::HTTP_OK); // OK (200) being the HTTP response code
}
else
{
// Set the response and exit
$this->response([
'message' => 'No users were found',
'status' => REST_Controller::HTTP_NOT_FOUND
], REST_Controller::HTTP_NOT_FOUND); // NOT_FOUND (404) being the HTTP response code
}
}
public function getadmimssionYear_post(){
$data = $this->post('data');
$getadmimssionYear = $this->dashboard_model->admissionCountYear();
if ($getadmimssionYear) {
$getadmimssionYear['status'] = REST_Controller::HTTP_OK;
// Set the response and exit
$this->response($getadmimssionYear, REST_Controller::HTTP_OK); // OK (200) being the HTTP response code
}
else
{
// Set the response and exit
$this->response([
'message' => 'No users were found',
'status' => REST_Controller::HTTP_NOT_FOUND
], REST_Controller::HTTP_NOT_FOUND); // NOT_FOUND (404) being the HTTP response code
}
}
public function getfupToday_post(){
$data = $this->post('data');
$getfupToday = $this->dashboard_model->followupsCountToday();
if ($getfupToday) {
$getfupToday['status'] = REST_Controller::HTTP_OK;
// Set the response and exit
$this->response($getfupToday, REST_Controller::HTTP_OK); // OK (200) being the HTTP response code
}
else
{
// Set the response and exit
$this->response([
'message' => 'No users were found',
'status' => REST_Controller::HTTP_NOT_FOUND
], REST_Controller::HTTP_NOT_FOUND); // NOT_FOUND (404) being the HTTP response code
}
}
public function getfupMonth_post(){
$data = $this->post('data');
$getfupMonth = $this->dashboard_model->followupsCountMonth();
if ($getfupMonth) {
$getfupMonth['status'] = REST_Controller::HTTP_OK;
// Set the response and exit
$this->response($getfupMonth, REST_Controller::HTTP_OK); // OK (200) being the HTTP response code
}
else
{
// Set the response and exit
$this->response([
'message' => 'No users were found',
'status' => REST_Controller::HTTP_NOT_FOUND
], REST_Controller::HTTP_NOT_FOUND); // NOT_FOUND (404) being the HTTP response code
}
}
public function leadToday_post(){
$data = $this->post('data');
$leadToday = $this->dashboard_model->leadToday();
if ($leadToday) {
$leadToday['status'] = REST_Controller::HTTP_OK;
// Set the response and exit
$this->response($leadToday, REST_Controller::HTTP_OK); // OK (200) being the HTTP response code
}
else
{
// Set the response and exit
$this->response([
'message' => 'No records were found',
'status' => REST_Controller::HTTP_NOT_FOUND
], REST_Controller::HTTP_NOT_FOUND); // NOT_FOUND (404) being the HTTP response code
}
}
public function leadMonth_post(){
$data = $this->post('data');
$leadMonth = $this->dashboard_model->leadMonth();
if ($leadMonth) {
$leadMonth['status'] = REST_Controller::HTTP_OK;
// Set the response and exit
$this->response($leadMonth, REST_Controller::HTTP_OK); // OK (200) being the HTTP response code
}
else
{
// Set the response and exit
$this->response([
'message' => 'No records were found',
'status' => REST_Controller::HTTP_NOT_FOUND
], REST_Controller::HTTP_NOT_FOUND); // NOT_FOUND (404) being the HTTP response code
}
}
public function leadTodayClosed_post(){
$data = $this->post('data');
$leadTodayClosed = $this->dashboard_model->leadTodayClosed();
if ($leadTodayClosed) {
$leadTodayClosed['status'] = REST_Controller::HTTP_OK;
// Set the response and exit
$this->response($leadTodayClosed, REST_Controller::HTTP_OK); // OK (200) being the HTTP response code
}
else
{
// Set the response and exit
$this->response([
'message' => 'No records were found',
'status' => REST_Controller::HTTP_NOT_FOUND
], REST_Controller::HTTP_NOT_FOUND); // NOT_FOUND (404) being the HTTP response code
}
}
public function leadMonthClosed_post(){
$data = $this->post('data');
$leadMonthClosed = $this->dashboard_model->leadMonthClosed();
if ($leadMonthClosed) {
$leadMonthClosed['status'] = REST_Controller::HTTP_OK;
// Set the response and exit
$this->response($leadMonthClosed, REST_Controller::HTTP_OK); // OK (200) being the HTTP response code
}
else
{
// Set the response and exit
$this->response([
'message' => 'No records were found',
'status' => REST_Controller::HTTP_NOT_FOUND
], REST_Controller::HTTP_NOT_FOUND); // NOT_FOUND (404) being the HTTP response code
}
}
public function admissionMonth_post(){
$data = $this->post('data');
$admissionMonth = $this->dashboard_model->admissionMonth();
if ($admissionMonth) {
$admissionMonth['status'] = REST_Controller::HTTP_OK;
// Set the response and exit
$this->response($admissionMonth, REST_Controller::HTTP_OK); // OK (200) being the HTTP response code
}
else
{
// Set the response and exit
$this->response([
'message' => 'No records were found',
'status' => REST_Controller::HTTP_NOT_FOUND
], REST_Controller::HTTP_NOT_FOUND); // NOT_FOUND (404) being the HTTP response code
}
}
public function admissionYear_post(){
$data = $this->post('data');
$admissionYear = $this->dashboard_model->admissionYear();
if ($admissionYear) {
$admissionYear['status'] = REST_Controller::HTTP_OK;
// Set the response and exit
$this->response($admissionYear, REST_Controller::HTTP_OK); // OK (200) being the HTTP response code
}
else
{
// Set the response and exit
$this->response([
'message' => 'No records were found',
'status' => REST_Controller::HTTP_NOT_FOUND
], REST_Controller::HTTP_NOT_FOUND); // NOT_FOUND (404) being the HTTP response code
}
}
public function feeOutstanding_post(){
$data = $this->post('data');
$feeOutstanding = $this->dashboard_model->feeOutstanding();
if ($feeOutstanding) {
$feeOutstanding['status'] = REST_Controller::HTTP_OK;
// Set the response and exit
$this->response($feeOutstanding, REST_Controller::HTTP_OK); // OK (200) being the HTTP response code
}
else
{
// Set the response and exit
$this->response([
'message' => 'No records were found',
'status' => REST_Controller::HTTP_NOT_FOUND
], REST_Controller::HTTP_NOT_FOUND); // NOT_FOUND (404) being the HTTP response code
}
}
public function followupsToday_post(){
$data = $this->post('data');
$followupsToday = $this->dashboard_model->followupsToday();
if ($followupsToday) {
$followupsToday['status'] = REST_Controller::HTTP_OK;
// Set the response and exit
$this->response($followupsToday, REST_Controller::HTTP_OK); // OK (200) being the HTTP response code
}
else
{
// Set the response and exit
$this->response([
'message' => 'No records were found',
'status' => REST_Controller::HTTP_NOT_FOUND
], REST_Controller::HTTP_NOT_FOUND); // NOT_FOUND (404) being the HTTP response code
}
}
public function followupsPending_post(){
$data = $this->post('data');
$followupsPending = $this->dashboard_model->followupsPending();
if ($followupsPending) {
$followupsPending['status'] = REST_Controller::HTTP_OK;
// Set the response and exit
$this->response($followupsPending, REST_Controller::HTTP_OK); // OK (200) being the HTTP response code
}
else
{
// Set the response and exit
$this->response([
'message' => 'No records were found',
'status' => REST_Controller::HTTP_NOT_FOUND
], REST_Controller::HTTP_NOT_FOUND); // NOT_FOUND (404) being the HTTP response code
}
}
}

View File

@ -212,7 +212,357 @@ class Dashboard_model extends CI_Model
}
public function leadCountDay($branchId){
$ltsql = "select count(distinct TrackingID) as count from T_Lead_Tracking_Followup ltf
join T_PickListDetails list on list.ListCode=ltf.StatusName
where date(ltf.CreatedOn) = date(now()) and ltf.IsActive = 1 and InteractionID in (select max(InteractionID) from T_Lead_Tracking_Followup group by TrackingID) ";
$ltCount=$this->db->query($ltsql);
$lcount = $ltCount->result();
//print_r($lcount);
if (count($lcount) > 0) {
$results['leadList'] = true;
$results['lead_data'] = $lcount;
} else {
$results['leadList'] = false;
$results['message'] = 'No record found';
}
return $results;
}
public function leadCountMonth(){
$ltsql = "select count(distinct TrackingID) as count from T_Lead_Tracking_Followup ltf
join T_PickListDetails list on list.ListCode=ltf.StatusName
where month(ltf.CreatedOn) = month(now()) and ltf.IsActive = 1 and InteractionID in (select max(InteractionID) from T_Lead_Tracking_Followup group by TrackingID)";
$ltCount=$this->db->query($ltsql);
$lcount = $ltCount->result();
if (count($lcount) > 0) {
$results['leadList'] = true;
$results['lead_data'] = $lcount;
} else {
$results['leadList'] = false;
$results['message'] = 'No record found';
}
return $results;
}
public function leadCountDayClosed(){
$ltsql = "select count(distinct TrackingID) as count from T_Lead_Tracking_Followup ltf
join T_PickListDetails list on list.ListCode=ltf.StatusName
where date(ltf.CreatedOn) = date(now()) and ltf.IsActive = 1 and list.ListName like 'CLOSE' and InteractionID in (select max(InteractionID) from T_Lead_Tracking_Followup group by TrackingID)";
$ltCount=$this->db->query($ltsql);
$lcount = $ltCount->result();
if (count($lcount) > 0) {
$results['leadList'] = true;
$results['lead_data'] = $lcount;
} else {
$results['leadList'] = false;
$results['message'] = 'No record found';
}
return $results;
}
public function leadCountMonthClosed(){
$ltsql = "select count(distinct TrackingID) as count from T_Lead_Tracking_Followup ltf
join T_PickListDetails list on list.ListCode=ltf.StatusName
where month(ltf.CreatedOn) = month(now()) and ltf.IsActive = 1 and list.ListName like 'CLOSE' and InteractionID in (select max(InteractionID) from T_Lead_Tracking_Followup group by TrackingID)";
$ltCount=$this->db->query($ltsql);
$lcount = $ltCount->result();
if (count($lcount) > 0) {
$results['leadList'] = true;
$results['lead_data'] = $lcount;
} else {
$results['leadList'] = false;
$results['message'] = 'No record found';
}
return $results;
}
public function admissionCountMonth(){
$sql = "select sum(total) as total from admission_month";
$admissionCount=$this->db->query($sql);
$acount = $admissionCount->result();
if (count($acount) > 0) {
$results['ad_List'] = true;
$results['ad_data'] = $acount;
} else {
$results['ad_List'] = false;
$results['message'] = 'No record found';
}
return $results;
}
public function admissionCountYear(){
$sql = "select sum(tot_cnt) as total from admission_year";
$admissionCount=$this->db->query($sql);
$acount = $admissionCount->result();
if (count($acount) > 0) {
$results['ad_List'] = true;
$results['ad_data'] = $acount;
} else {
$results['ad_List'] = false;
$results['message'] = 'No record found';
}
return $results;
}
public function followupsCountToday(){
$sql = "select count(distinct TrackingID) as count from T_Lead_Tracking_Followup ltf
join T_PickListDetails list on list.ListCode=ltf.StatusName
where day(STR_TO_DATE(ltf.FollowupOn,'%d-%m-%Y')) = day(now()) and ltf.IsActive = 1 ";
$followupsCount=$this->db->query($sql);
$fcount = $followupsCount->result();
if (count($fcount) > 0) {
$results['fUpList'] = true;
$results['fUp_data'] = $fcount;
} else {
$results['fUpList'] = false;
$results['message'] = 'No record found';
}
return $results;
}
public function followupsCountMonth(){
$sql = "select count(distinct TrackingID) as count from T_Lead_Tracking_Followup ltf
join T_PickListDetails list on list.ListCode=ltf.StatusName
where month(STR_TO_DATE(ltf.FollowupOn,'%d-%m-%Y')) = month(now()) and ltf.IsActive = 1 ";
$followupsCount=$this->db->query($sql);
$fcount = $followupsCount->result();
if (count($fcount) > 0) {
$results['fUpList'] = true;
$results['fUp_data'] = $fcount;
} else {
$results['fUpList'] = false;
$results['message'] = 'No record found';
}
return $results;
}
public function leadToday(){
$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
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";
$ltd=$this->db->query($sql);
$tlead = $ltd->result();
if (count($tlead) > 0) {
$results['lList'] = true;
$results['l_data'] = $tlead;
} else {
$results['lList'] = false;
$results['message'] = 'No record found';
}
return $results;
}
public function leadMonth(){
$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
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";
$ltd=$this->db->query($sql);
$tlead = $ltd->result();
if (count($tlead) > 0) {
$results['lList'] = true;
$results['l_data'] = $tlead;
} else {
$results['lList'] = false;
$results['message'] = 'No record found';
}
return $results;
}
public function leadTodayClosed(){
$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
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'";
$ltd=$this->db->query($sql);
$tlead = $ltd->result();
if (count($tlead) > 0) {
$results['lList'] = true;
$results['l_data'] = $tlead;
} else {
$results['lList'] = false;
$results['message'] = 'No record found';
}
return $results;
}
public function leadMonthClosed(){
$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
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'";
$ltd=$this->db->query($sql);
$tlead = $ltd->result();
if (count($tlead) > 0) {
$results['lList'] = true;
$results['l_data'] = $tlead;
} else {
$results['lList'] = false;
$results['message'] = 'No record found';
}
return $results;
}
public function admissionMonth(){
$sql = "SELECT * FROM admission_month ";
$ltd=$this->db->query($sql);
$tlead = $ltd->result();
if (count($tlead) > 0) {
$results['lList'] = true;
$results['l_data'] = $tlead;
} else {
$results['lList'] = false;
$results['message'] = 'No record found';
}
return $results;
}
public function admissionYear(){
if (date('m') >= 4) {
$yearl = date('Y').'-'.(date('Y')+1);
} else {
$yearl = (date('Y')-1).'-'.date('Y');
}
$ab=$yearl;
$fa=substr($ab,0,-5);
$aa=substr($ab,5,5);
$sql = "SELECT month(std.CreatedOn),
std.AdmittedBy AS AdmittedBy,
um.UniversityName AS university,
SUM(IF((MONTH(std.CreatedOn) = 6), 1, 0)) AS June,
SUM(IF((MONTH(std.CreatedOn) = 7), 1, 0)) AS July,
SUM(IF((MONTH(std.CreatedOn) = 8), 1, 0)) AS August,
SUM(IF((MONTH(std.CreatedOn) = 9), 1, 0)) AS September,
SUM(IF((MONTH(std.CreatedOn) = 10), 1, 0)) AS October,
SUM(IF((MONTH(std.CreatedOn) = 11), 1, 0)) AS November,
SUM(IF((MONTH(std.CreatedOn) = 12), 1, 0)) AS December,
SUM(IF((MONTH(std.CreatedOn) = 1), 1, 0)) AS January,
SUM(IF((MONTH(std.CreatedOn) = 2), 1, 0)) AS February,
SUM(IF((MONTH(std.CreatedOn) = 3), 1, 0)) AS March,
SUM(IF((MONTH(std.CreatedOn) = 4), 1, 0)) AS April,
SUM(IF((MONTH(std.CreatedOn) = 5), 1, 0)) AS May,
COUNT(DISTINCT std.StudentID) AS total,
GROUP_CONCAT(DISTINCT sc.sname, '-', sc.cnt SEPARATOR ';') AS AdmissionTakenBy
FROM
T_StudentDetails std
JOIN getUniYear scd ON scd.StudentID = std.StudentID
JOIN staff_count sc ON sc.UniversityID = scd.UniversityID
AND sc.AdmittedBy = std.AdmittedBy
LEFT JOIN T_UniversityMaster um ON um.UniversityID = scd.UniversityID
WHERE
std.AdmittedBy IS NOT NULL and (date(std.CreatedOn) >= '".$fa."-06-01' and date(std.CreatedOn) <= '".$aa."-05-31')";
$sql.=" GROUP BY scd.UniversityID";
$ltd=$this->db->query($sql);
$tlead = $ltd->result();
if (count($tlead) > 0) {
$results['lList'] = true;
$results['l_data'] = $tlead;
} else {
$results['lList'] = false;
$results['message'] = 'No record found';
}
return $results;
}
public function feeOutstanding(){
$sql = "select b.bcode,bm.BatchName as Batches,sum(b.totalpayable) as TotalPayableFee,sum(b.totalpaid) as TotalPaidFee,sum(b.balpayable) as TotalBalance,round(ifnull(((sum(b.balpayable)/sum(b.totalpayable))*100),0),2) as BalancePercentage,
group_concat(scb.staff,'-',bal_percentage) as BalancePercentageByStaff
from BalFees b
left join staff_count_batch scb on scb.bcode = b.bcode
left join T_BatchMaster bm on bm.BatchCode = b.bcode
group by b.bcode ";
$ltd=$this->db->query($sql);
$tlead = $ltd->result();
if (count($tlead) > 0) {
$results['lList'] = true;
$results['l_data'] = $tlead;
} else {
$results['lList'] = false;
$results['message'] = 'No record found';
}
return $results;
}
public function followupsToday(){
$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
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()) ";
$ltd=$this->db->query($sql);
$tlead = $ltd->result();
if (count($tlead) > 0) {
$results['lList'] = true;
$results['l_data'] = $tlead;
} else {
$results['lList'] = false;
$results['message'] = 'No record found';
}
return $results;
}
public function followupsPending(){
$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
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' ";
$ltd=$this->db->query($sql);
$tlead = $ltd->result();
if (count($tlead) > 0) {
$results['lList'] = true;
$results['l_data'] = $tlead;
} else {
$results['lList'] = false;
$results['message'] = 'No record found';
}
return $results;
}
}

View File

@ -20,5 +20,6 @@ angular.module("clip-two", [
'angularUtils.directives.dirPagination',
'htmlToPdfSave',
'ui.select2',
'dx',
]);

View File

@ -70,6 +70,38 @@ app.config(['$stateProvider', '$urlRouterProvider', '$controllerProvider', '$com
ncyBreadcrumb: {
label: 'Dashboard'
}
}).state('app.dashboard_tile1', {
url: "/dashboard_tile1",
templateUrl: "assets/views/dashboard_tile1.html",
resolve: loadSequence('spin', 'ladda', 'angular-ladda', 'dashboardCtrl','ngTable'),
title: 'Dashboard',
ncyBreadcrumb: {
label: 'Dashboard'
}
}).state('app.dashboard_tile2', {
url: "/dashboard_tile2",
templateUrl: "assets/views/dashboard_tile2.html",
resolve: loadSequence('spin', 'ladda', 'angular-ladda', 'dashboardCtrl','ngTable'),
title: 'Dashboard',
ncyBreadcrumb: {
label: 'Dashboard'
}
}).state('app.dashboard_tile3', {
url: "/dashboard_tile3",
templateUrl: "assets/views/dashboard_tile3.html",
resolve: loadSequence('spin', 'ladda', 'angular-ladda', 'dashboardCtrl','ngTable'),
title: 'Dashboard',
ncyBreadcrumb: {
label: 'Dashboard'
}
}).state('app.dashboard_tile4', {
url: "/dashboard_tile4",
templateUrl: "assets/views/dashboard_tile4.html",
resolve: loadSequence('spin', 'ladda', 'angular-ladda', 'dashboardCtrl','ngTable'),
title: 'Dashboard',
ncyBreadcrumb: {
label: 'Dashboard'
}
}).state('app.studentView', {
url: "/studentview",
templateUrl: "assets/views/student/studentView.html",

File diff suppressed because it is too large Load Diff

View File

@ -20,252 +20,125 @@
<div class="col-sm-12" ng-controller="studentModalDemoCtrl">
<div class="panel panel-white no-radius">
<div class="panel-body no-padding">
<tabset class="tabbable no-padding no-margin">
<!-- start today followup details tab-->
<tab heading="Follow Ups For Today : {{todayFolloupDetails.length}}" class="padding-top-5 padding-left-5">
<div ng-if="getLoginType!='R004'" class="panel-scroll height-200" perfect-scrollbar wheel-propagation="false" suppress-scroll-x="true">
<div ng-if="emptyDataToday==true">
<center>
<h5 class="text-dark">No Followup!</h5>
</center>
<div class="panel-body">
<div class="row">
<div class="col-md-3">
<div class="panel panel-white no-radius text-center">
<div class="panel-body">
<!-- <span class="fa-stack fa-2x">
<i class="fa fa-square fa-stack-2x text-primary"></i>
<i class="fa fa-smile-o fa-stack-1x fa-inverse">T</i>
</span> -->
<h3 class="StepTitle">Leads Created</h3>
<div class="row">
<div class="col-md-6">
<p class="text-large">
Today
</p>{{lead_dataToday || 0}}
</div>
<div class="col-md-6">
<p class="text-large">
This month
</p>{{lead_dataMonth || 0}}
</div>
</div>
<p class="links cl-effect-1">
<a href="#/app/dashboard_tile1">
view more
</a>
</p>
</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>
<div ng-if="getLoginType=='R004'" class="panel-scroll height-350" perfect-scrollbar wheel-propagation="false" suppress-scroll-x="true">
<div ng-if="emptyDataToday==true">
<center>
<h5 class="text-dark">No Followup!</h5>
</center>
</div>
<div class="col-md-3">
<div class="panel panel-white no-radius text-center">
<div class="panel-body">
<!-- <span class="fa-stack fa-2x">
<i class="fa fa-square fa-stack-2x text-primary"></i>
<i class="fa fa-smile-o fa-stack-1x fa-inverse">T</i>
</span> -->
<h3 class="StepTitle">Leads Closed</h3>
<div class="row">
<div class="col-md-6">
<p class="text-large">
Today
</p>{{leadCountDayClosed || 0}}
</div>
<div class="col-md-6">
<p class="text-large">
This month
</p>{{leadCountMonthClosed || 0}}
</div>
</div>
<p class="links cl-effect-1">
<a href="#/app/dashboard_tile2">
view more
</a>
</p>
</div>
</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>
</tab>
<!-- end today followup details tab-->
<!-- end pending track details tab-->
<tab heading="Pending Follow Ups : {{pendingFolloupDetails.length}}" class="padding-top-5">
<div ng-if="getLoginType!='R004'" class="panel-scroll height-200" 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 class="col-md-3">
<div class="panel panel-white no-radius text-center">
<div class="panel-body">
<!-- <span class="fa-stack fa-2x">
<i class="fa fa-square fa-stack-2x text-primary"></i>
<i class="fa fa-smile-o fa-stack-1x fa-inverse">T</i>
</span> -->
<h3 class="StepTitle">Admissions</h3>
<div class="row">
<div class="col-md-6">
<p class="text-large">
This month
</p>{{ad_data || 0}}
</div>
<div class="col-md-6">
<p class="text-large">
This Year
</p>{{ad_dataYear || 0}}
</div>
</div>
<p class="links cl-effect-1">
<a href="#/app/dashboard_tile3">
view more
</a>
</p>
</div>
</div>
</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>
<div class="col-md-3">
<div class="panel panel-white no-radius text-center">
<div class="panel-body">
<!-- <span class="fa-stack fa-2x">
<i class="fa fa-square fa-stack-2x text-primary"></i>
<i class="fa fa-smile-o fa-stack-1x fa-inverse">T</i>
</span> -->
<h3 class="StepTitle">Follow Ups</h3>
<div class="row">
<div class="col-md-6">
<p class="text-large">
Today
</p>{{fup_today || 0}}
</div>
<div class="col-md-6">
<p class="text-large">
This month
</p>{{fup_month || 0}}
</div>
</div>
<p class="links cl-effect-1">
<a href="#/app/dashboard_tile4">
view more
</a>
</p>
</div>
</div>
</div>
</div>
</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>
</tab>
<!-- end pending track details tab-->
<!-- start today lead details tab-->
<tab heading="Leads Created Today : {{leadDetails.length}}" class="padding-top-5">
<div ng-if="getLoginType!='R004'" class="panel-scroll height-200" perfect-scrollbar wheel-propagation="false" suppress-scroll-x="true">
<div ng-if="emptyDataLead==true">
<center>
<h5 class="text-dark">No Lead Created By Today!</h5>
</center>
</div>
<div class="cl-effect-13" style="float: right" ng-if="emptyDataLead==false && getLoginType=='R004' || getLoginType=='R003'">
<a ui-sref="app.call.lead">
view more
</a>
</div>
<table class="table table-hover" ng-if="emptyDataLead==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>
<div ng-if="getLoginType=='R004'" class="panel-scroll height-350" perfect-scrollbar wheel-propagation="false" suppress-scroll-x="true">
<div ng-if="emptyDataLead==true">
<center>
<h5 class="text-dark">No Lead Created By Today!</h5>
</center>
</div>
<div class="cl-effect-13" style="float: right" ng-if="emptyDataLead==false && getLoginType=='R004' || getLoginType=='R003'">
<a ui-sref="app.call.lead">
view more
</a>
</div>
<table class="table table-hover" ng-if="emptyDataLead==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 lead details tab-->
</tabset>
</div>
</div>
</div>
@ -295,12 +168,21 @@
<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 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>
</tr>
</tbody>
</table>
</div>
@ -322,14 +204,29 @@
</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 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>
</tr>
</tbody>
</table>
</div>
@ -351,14 +248,29 @@
</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 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>
</tr>
</tbody>
</table>
</div>
@ -370,4 +282,4 @@
</div>
</div>
</div>
</div>
</div>

View File

@ -0,0 +1,374 @@
<style>
a {
color: #5b5b60;
}
</style>
<!-- start: DASHBOARD TITLE -->
<!--<section id="page-title" class="padding-top-15 padding-bottom-15">
<div class="row">
<div class="col-sm-7">
<h1 class="mainTitle" translate="dashboard.WELCOME" translate-values="{ appName: app.name }">{{ mainTitle }}</h1>
<span class="mainDescription"></span>
</div>
</div>
</section> -->
<!-- end: DASHBOARD TITLE -->
<!-- start: FEATURED BOX LINKS -->
<div ng-controller="dashboardCtrl">
<div class="container-fluid container-fullw padding-bottom-10">
<div class="row" data-ng-init="initDashboardDetails()">
<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="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">
<div ng-if="lt==true">
<center>
<h5 class="text-dark">No Leads!</h5>
</center>
</div>
<!-- <div class="cl-effect-13" style="float: right" ng-if="lt==false">
<a ui-sref="app.call.tracking">
view more
</a>
</div><br> -->
<div dx-data-grid="todayLead" ng-if="lt==false"></div>
<!-- <table class="table table-hover no-margin" ng-if="lt==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_dataToday">
<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">
<center>
<h5 class="text-dark">No Leads!</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>
</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">
<div ng-if="lm==true">
<center>
<h5 class="text-dark">No Leads!</h5>
</center>
</div>
<!-- <div class="cl-effect-13" style="float: right" ng-if="lm==false">
<a ui-sref="app.call.tracking">
view more
</a>
</div> -->
<div dx-data-grid="monthLead" ng-if="lm==false"></div>
<!-- <table class="table table-hover no-margin" ng-if="lm==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_dataMonth">
<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">
<center>
<h5 class="text-dark">No Leads!</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>
</tab>
<!-- end pending track details tab-->
</tabset>
</div>
</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>

View File

@ -0,0 +1,374 @@
<style>
a {
color: #5b5b60;
}
</style>
<!-- start: DASHBOARD TITLE -->
<!--<section id="page-title" class="padding-top-15 padding-bottom-15">
<div class="row">
<div class="col-sm-7">
<h1 class="mainTitle" translate="dashboard.WELCOME" translate-values="{ appName: app.name }">{{ mainTitle }}</h1>
<span class="mainDescription"></span>
</div>
</div>
</section> -->
<!-- end: DASHBOARD TITLE -->
<!-- start: FEATURED BOX LINKS -->
<div ng-controller="dashboardCtrl">
<div class="container-fluid container-fullw padding-bottom-10">
<div class="row" data-ng-init="initDashboardDetails()">
<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="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">
<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">
<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>
</tab>
<!-- end today followup details tab-->
<!-- end pending track details tab-->
<tab heading="Leads Closed This Month : {{l_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="cm==true">
<center>
<h5 class="text-dark">No Leads!</h5>
</center>
</div>
<!-- <div class="cl-effect-13" style="float: right" ng-if="cm==false">
<a ui-sref="app.call.tracking">
view more
</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="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>
</tab>
<!-- end pending track details tab-->
</tabset>
</div>
</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>

View File

@ -0,0 +1,561 @@
<style>
a {
color: #5b5b60;
}
</style>
<!-- start: DASHBOARD TITLE -->
<!--<section id="page-title" class="padding-top-15 padding-bottom-15">
<div class="row">
<div class="col-sm-7">
<h1 class="mainTitle" translate="dashboard.WELCOME" translate-values="{ appName: app.name }">{{ mainTitle }}</h1>
<span class="mainDescription"></span>
</div>
</div>
</section> -->
<!-- end: DASHBOARD TITLE -->
<!-- start: FEATURED BOX LINKS -->
<div ng-controller="dashboardCtrl">
<div class="container-fluid container-fullw padding-bottom-10">
<div class="row" data-ng-init="initDashboardDetails()">
<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="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 ng-if="ad==true">
<center>
<h5 class="text-dark">No Admissions!</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> -->
<div dx-data-grid="admgrid" ng-if="ad==false"></div>
<!-- <table class="table table-hover no-margin" ng-if="ad==false">
<thead>
<tr>
<tr>
<th> University</th>
<th>1st Week</th>
<th>2nd Week </th>
<th>3rd Week</th>
<th>4th Week</th>
<th>Total </th>
<th>Admissions Taken By & Count</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="today in adMonth">
<td>{{today.university}}</td>
<td>{{today.w1}}</td>
<td>{{today.w2}}</td>
<td>{{today.w3}}</td>
<td>{{today.w4}}</td>
<td>{{today.total}}</td>
<td>{{today.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="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 : {{pendingFolloupDetails.length}}" class="padding-top-5">
<div ng-if="getLoginType!='R004'" class="panel-scroll height-200" 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>
<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>
</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="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> -->
<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="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> -->
<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>
</div>
</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>

View File

@ -0,0 +1,376 @@
<style>
a {
color: #5b5b60;
}
</style>
<!-- start: DASHBOARD TITLE -->
<!--<section id="page-title" class="padding-top-15 padding-bottom-15">
<div class="row">
<div class="col-sm-7">
<h1 class="mainTitle" translate="dashboard.WELCOME" translate-values="{ appName: app.name }">{{ mainTitle }}</h1>
<span class="mainDescription"></span>
</div>
</div>
</section> -->
<!-- end: DASHBOARD TITLE -->
<!-- start: FEATURED BOX LINKS -->
<div ng-controller="dashboardCtrl">
<div class="container-fluid container-fullw padding-bottom-10">
<div class="row" data-ng-init="initDashboardDetails()">
<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="row">
<tabset class="tabbable no-padding no-margin">
<!-- 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="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="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> -->
<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>
</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="fp==true">
<center>
<h5 class="text-dark">No Pending followup!</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>
<div ng-if="getLoginType!='R004'" class="panel-scroll height-350" perfect-scrollbar wheel-propagation="false" suppress-scroll-x="true">
<div ng-if="fp==true">
<center>
<h5 class="text-dark">No Pending followup!</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>
</tab>
<!-- end FollowUps-Pending Calls tab-->
</tabset>
</div>
</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>

View File

@ -34,6 +34,9 @@
<!-- <link rel="stylesheet" data-ng-href="assets/css/themes/{{ app.layout.theme }}.css" /> -->
<link rel="stylesheet" data-ng-href="assets/css/themes/theme-5.css" />
<!-- DevExtreme themes -->
<link rel="stylesheet" type="text/css" href="https://cdn3.devexpress.com/jslib/18.1.6/css/dx.common.css" />
<link rel="stylesheet" type="text/css" href="https://cdn3.devexpress.com/jslib/18.1.6/css/dx.light.css" />
</head>
<body ng-controller="AppCtrl">
<div ui-view id="app" ng-class="{'app-mobile' : app.isMobile, 'app-navbar-fixed' : app.layout.isNavbarFixed, 'app-sidebar-fixed' : app.layout.isSidebarFixed, 'app-sidebar-closed':app.layout.isSidebarClosed, 'app-footer-fixed':app.layout.isFooterFixed}"></div>
@ -134,7 +137,8 @@
<!--xlsx to json convert-->
<script src="bower_components/js-xlsx/dist/xlsx.core.min.js"></script>
<script src="assets/js/directives/convert_Json/convertJson.js"></script>
<!-- DevExtreme library -->
<script type="text/javascript" src="https://cdn3.devexpress.com/jslib/18.1.6/js/dx.all.js"></script>
</body>
</html>