From d8541a9149b7dd7caee8f958e3993292b792843d Mon Sep 17 00:00:00 2001 From: "venbatechnologies@gmail.com" Date: Sat, 17 Nov 2018 11:33:31 +0530 Subject: [PATCH] student view alignment issue and branch code check in call tracking --- .../application/models/Calltracking_model.php | 3 +- .../views/student/studentDetailsModal.html | 82 +++++++++---------- 2 files changed, 41 insertions(+), 44 deletions(-) diff --git a/Apollo/api/application/models/Calltracking_model.php b/Apollo/api/application/models/Calltracking_model.php index 9ede1145..d3c312ef 100755 --- a/Apollo/api/application/models/Calltracking_model.php +++ b/Apollo/api/application/models/Calltracking_model.php @@ -1681,8 +1681,9 @@ public function GetStaffCountDetails($branchID,$myDate) $this->db->from('T_Lead_Tracking_Followup LTF'); $this->db->join('T_Login L','L.ID=LTF.AssignedStaff'); $this->db->join('T_StaffDetails SD','SD.StaffID=L.StaffID'); + $this->db->join('T_Staff_BranchAccess SBA','SBA.StaffID = SD.StaffID'); $this->db->where("date_format(LTF.CreatedOn,'%Y-%m-%d')=",$myDate); - $this->db->where('SD.BranchCode',$branchID); + $this->db->where('SBA.BranchCode',$branchID); $this->db->group_by('AssignedStaff'); $Details = $this->db->get()->result(); diff --git a/Apollo/assets/views/student/studentDetailsModal.html b/Apollo/assets/views/student/studentDetailsModal.html index 67a967fa..b4a28de3 100755 --- a/Apollo/assets/views/student/studentDetailsModal.html +++ b/Apollo/assets/views/student/studentDetailsModal.html @@ -242,59 +242,55 @@ --> - - - - - - - - - - - - - - +
Sem/YearBatchSession From/Session ToSessionRoll NumberTotal Payable FeesReferral/WaiverPaid FeesBalance Fees
+ + + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - + + - + - + + - -
Sem/YearBatchSession From/Session ToSessionRoll NumberTotal Payable FeesReferral/WaiverPaid FeesBalance Fees
- {{fees.FeesName}} - - {{fees.BatchName}} - {{fees.SessionName}}/{{fees.ToSessionName}}{{fees.SessionName}} {{fees.RollNo}} - {{fees.PayableAmount}} - {{fees.StudentWaiverRefAmount}} -
{{fees.FeesName}}{{fees.BatchName}}{{fees.SessionName}}/{{fees.ToSessionName}}{{fees.SessionName}} {{fees.RollNo}} + {{fees.PayableAmount}} + {{fees.StudentWaiverRefAmount}} + - {{fees.StudentPaidAmount}} - {{fees.BalanceAmount}} + + {{fees.StudentPaidAmount}} + {{fees.BalanceAmount}} - + -
+ +