student university fee details comparition : kdk
This commit is contained in:
parent
5a29f0de32
commit
31a2ead630
@ -736,25 +736,34 @@ class Receive_Enrolment_Fees_Univ_model extends CI_Model {
|
|||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
|
|
||||||
return 'true';
|
$results['stuFeeList'] = true;
|
||||||
|
$results['stuFeeList_details'] = "details updated successfully.";
|
||||||
|
return $results;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getStudentUnivFeeCompareDetails($univCode=null,$courseCode=null){
|
public function getStudentUnivFeeCompareDetails($univCode=null,$courseCode=null){
|
||||||
// echo $univID, $courseID;exit();
|
// echo $univID, $courseID;exit();
|
||||||
|
|
||||||
// $this->db->select('t1.*,t2.EnrolmentNo');
|
$this->db->select('t1.*,t2.EnrolmentNo,t2.CourseName, t4.*,t5.UniversityID, t5.UniversityName');
|
||||||
// $this->db->from('T_FormId_FeeDetails_Received_From_University as t1');
|
$this->db->from('T_FormId_FeeDetails_Received_From_University as t1');
|
||||||
// $this->db->join('T_Enrolment_Received_From_University as t2', 't2.FormID = t1.FormID', 'LEFT');
|
$this->db->join('T_Enrolment_Received_From_University as t2', 't2.FormID = t1.FormID');
|
||||||
// $this->db->join('T_Student_CourseDetails as t3', 't3.EnrollmentID = t2.EnrolmentNo', 'LEFT');
|
$this->db->join('T_Student_CourseDetails as t3', 't3.EnrollmentID = t2.EnrolmentNo');
|
||||||
// $this->db->join('T_StudentDetails as t4', 't4.StudentID = t3.StudentID', 'LEFT');
|
$this->db->join('T_StudentDetails as t4', 't4.StudentID = t3.StudentID');
|
||||||
// // $this->db->where('t2.CourseCode', $courseID);
|
$this->db->join('T_UniversityMaster as t5', 't5.UniversityID = t3.UniversityID');
|
||||||
// // $this->db->where('t2.UniversityCode', $univCode);
|
// $this->db->where('t2.CourseCode', $courseID);
|
||||||
// $details = $this->db->get();
|
// $this->db->where('t2.UniversityCode', $univCode);
|
||||||
// $detailsList = $details->result();
|
$details = $this->db->get();
|
||||||
// print_r($detailsList);exit();
|
$detailsList = $details->result();
|
||||||
|
|
||||||
// return "$roleDetails->Sem_Year $roleDetails->CourseName";
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
if($detailsList){
|
||||||
|
$resultArr['studentFeeCompareDetails'] = $detailsList;
|
||||||
|
$resultArr['formTypeStatus'] = true;
|
||||||
|
$resultArr['message'] = "Successfully data generated";
|
||||||
|
} else {
|
||||||
|
$resultArr['studentFeeCompareDetails'] = [];
|
||||||
|
$resultArr['formTypeStatus'] = false;
|
||||||
|
$resultArr['message'] = "No record found";
|
||||||
|
}
|
||||||
|
return $resultArr;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@ -130,10 +130,10 @@ app.controller('student_university_fee_compareCtrl', ["$scope", "toaster", "$fil
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
$http(empListreq).then(function (response) {
|
$http(empListreq).then(function (response) {
|
||||||
if (response.data.studentList) {
|
if (response.data.formTypeStatus) {
|
||||||
$scope.Searchloader = false;
|
$scope.Searchloader = false;
|
||||||
$scope.studentData = true;
|
$scope.studentData = true;
|
||||||
$scope.data = response.data.student_details;
|
$scope.data = response.data.studentFeeCompareDetails;
|
||||||
$scope.studentListLength = $scope.data.length;
|
$scope.studentListLength = $scope.data.length;
|
||||||
} else {
|
} else {
|
||||||
$scope.Searchloader = false;
|
$scope.Searchloader = false;
|
||||||
|
|||||||
@ -92,6 +92,49 @@
|
|||||||
|
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
<div>
|
||||||
|
<!--{{data | json}}-->
|
||||||
|
|
||||||
|
<div class="table-responsive">
|
||||||
|
<table class="table table-hover">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th> FormID
|
||||||
|
</th>
|
||||||
|
<th> Student Name
|
||||||
|
</th>
|
||||||
|
<th> Father Name
|
||||||
|
</th>
|
||||||
|
<th> University
|
||||||
|
</th>
|
||||||
|
<th> Course
|
||||||
|
</th>
|
||||||
|
<th> Enrolment ID
|
||||||
|
</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody dir-paginate="p in data|orderBy:sortKey:reverse|filter:search:strict|itemsPerPage:10| filter:query as results">
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
{{p.FormID}}
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<a tooltip="View Student" ng-click="open(p);" class="text-dark">
|
||||||
|
{{p.Firstname}} {{p.Lastname}}
|
||||||
|
</a>
|
||||||
|
</td>
|
||||||
|
<td>{{p.Fathername}}</td>
|
||||||
|
<td>{{p.UniversityName}}</td>
|
||||||
|
<td>{{p.CourseName}}</td>
|
||||||
|
<td>{{p.EnrolmentNo}}</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<dir-pagination-controls max-size="10" direction-links="true" boundary-links="true">
|
||||||
|
</dir-pagination-controls>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</tab>
|
</tab>
|
||||||
<tab tabindex="2" active="tabactive2" ng-click="tabActive('tabactive2')" heading="Upload Files" id="uploadFiles">
|
<tab tabindex="2" active="tabactive2" ng-click="tabActive('tabactive2')" heading="Upload Files" id="uploadFiles">
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user