This commit is contained in:
gayathri1990 2018-09-06 10:24:13 +05:30
commit 2d5d409c3a
12 changed files with 904 additions and 384 deletions

View File

@ -364,3 +364,6 @@ $route['getUniversitySessionDetails'] = 'Receive_Enrolment_Fees_Univ_Controller/
$route['getUnivCourseFromFileDetails'] = 'Receive_Enrolment_Fees_Univ_Controller/getUnivCourseFromFileDetails'; $route['getUnivCourseFromFileDetails'] = 'Receive_Enrolment_Fees_Univ_Controller/getUnivCourseFromFileDetails';
$route['getExistStudentEnrolmentDetails'] = 'Receive_Enrolment_Fees_Univ_Controller/getExistStudentEnrolmentDetails'; $route['getExistStudentEnrolmentDetails'] = 'Receive_Enrolment_Fees_Univ_Controller/getExistStudentEnrolmentDetails';
$route['addManualEnrolmentDetails'] = 'Receive_Enrolment_Fees_Univ_Controller/addManualEnrolmentDetails'; $route['addManualEnrolmentDetails'] = 'Receive_Enrolment_Fees_Univ_Controller/addManualEnrolmentDetails';
$route['getForFormIdDraftDetails'] = 'Receive_Enrolment_Fees_Univ_Controller/getForFormIdDraftDetails';
$route['addForFormIdDraftDetails'] = 'Receive_Enrolment_Fees_Univ_Controller/addForFormIdDraftDetails';
$route['draftMovetoList'] = 'Receive_Enrolment_Fees_Univ_Controller/draftMovetoList';

View File

@ -107,10 +107,7 @@ class Receive_Enrolment_Fees_Univ_Controller extends REST_Controller {
$searchData = $this->post('search'); $searchData = $this->post('search');
$univID = $searchData['University']; $getUnivStudentFeeCompare = $this->receive_model->getStudentUnivFeeCompareDetails($searchData);// Check if the users data store contains users (in case the database result returns NULL)
$sessionID = $searchData['Session'];
$getUnivStudentFeeCompare = $this->receive_model->getStudentUnivFeeCompareDetails($univID,$sessionID);// Check if the users data store contains users (in case the database result returns NULL)
if ($getUnivStudentFeeCompare) if ($getUnivStudentFeeCompare)
{ {
$getUnivStudentFeeCompare['status'] = REST_Controller::HTTP_OK; $getUnivStudentFeeCompare['status'] = REST_Controller::HTTP_OK;
@ -274,5 +271,52 @@ class Receive_Enrolment_Fees_Univ_Controller extends REST_Controller {
} }
} }
public function getForFormIdDraftDetails_post(){
$reqBranch = $this->post('localDetails');
$getForFormIdDraftDetails = $this->receive_model->getForFormIdDraftDetails(); // Check if the employee exist
if ($getForFormIdDraftDetails) {
$getForFormIdDraftDetails['status'] = REST_Controller::HTTP_OK;
// Set the response and exit
$this->response($getForFormIdDraftDetails, REST_Controller::HTTP_OK); // OK (200) being the HTTP response code
} else {
// Set the response and exit
$this->response(['message' => 'No list were found', 'status' => REST_Controller::HTTP_NOT_FOUND], REST_Controller::HTTP_NOT_FOUND); // NOT_FOUND (404) being the HTTP response code
}
}
public function addForFormIdDraftDetails_post(){
$reqBranch = $this->post('localDetails');
$details = $this->post('details');
$addForFormIdDraftDetails = $this->receive_model->addForFormIdDraftDetails($details, $reqBranch); // Check if the employee exist
if ($addForFormIdDraftDetails) {
$addForFormIdDraftDetails['status'] = REST_Controller::HTTP_OK;
// Set the response and exit
$this->response($addForFormIdDraftDetails, REST_Controller::HTTP_OK); // OK (200) being the HTTP response code
} else {
// Set the response and exit
$this->response(['message' => 'No list were found', 'status' => REST_Controller::HTTP_NOT_FOUND], REST_Controller::HTTP_NOT_FOUND); // NOT_FOUND (404) being the HTTP response code
}
}
public function draftMovetoList_post(){
$reqBranch = $this->post('localDetails');
$details = $this->post('details');
$draftMovetoList = $this->receive_model->draftMovetoList($details, $reqBranch); // Check if the employee exist
if ($draftMovetoList) {
$draftMovetoList['status'] = REST_Controller::HTTP_OK;
// Set the response and exit
$this->response($draftMovetoList, REST_Controller::HTTP_OK); // OK (200) being the HTTP response code
} else {
// Set the response and exit
$this->response(['message' => 'No list were found', 'status' => REST_Controller::HTTP_NOT_FOUND], REST_Controller::HTTP_NOT_FOUND); // NOT_FOUND (404) being the HTTP response code
}
}
} }

View File

@ -26,7 +26,7 @@ class Data_Correction extends CI_Model
Public function GetAllCourseDetails($search) Public function GetAllCourseDetails($search)
{ {
$this->db->select('sd.MobileNumber,sd.Firstname,sd.Lastname,CourseName,UniversityName,scd.CourseID,scd.ID,sd.StudentID,scd.IsActive as IsActive,scd.DeactiveComments as Reason,scd.UniversityID,sfs.FeesID'); $this->db->select('sd.MobileNumber,sd.Firstname,sd.Lastname,CourseName,UniversityName,scd.CourseID,scd.ID,sd.StudentID,scd.IsActive as IsActive,scd.DeactiveComments as Reason,scd.UniversityID,sfs.FeesID,scd.Deactive');
$this->db->from('T_StudentDetails sd'); $this->db->from('T_StudentDetails sd');
$this->db->join('T_Student_CourseDetails scd','scd.StudentID = sd.StudentID'); $this->db->join('T_Student_CourseDetails scd','scd.StudentID = sd.StudentID');
$this->db->join('T_CourseMaster cm','cm.CourseID = scd.CourseID'); $this->db->join('T_CourseMaster cm','cm.CourseID = scd.CourseID');
@ -110,6 +110,7 @@ class Data_Correction extends CI_Model
$coursearr['IsActive'] = $search['IsActive']; $coursearr['IsActive'] = $search['IsActive'];
$coursearr['DeactiveComments'] =$search['Reason']; $coursearr['DeactiveComments'] =$search['Reason'];
$coursearr['Deactive'] = '0';
$this->db->where('StudentID', $search['studentId']); $this->db->where('StudentID', $search['studentId']);
$this->db->where('UniversityID', $search['University']); $this->db->where('UniversityID', $search['University']);
$this->db->where('CourseID', $search['courseId']); $this->db->where('CourseID', $search['courseId']);

View File

@ -18,25 +18,26 @@ class Receive_Enrolment_Fees_Univ_model extends CI_Model {
public function getUnivCourseFromFileDetails(){ public function getUnivCourseFromFileDetails(){
$selectQuery = "SELECT UniversityCode, UniversityName FROM T_Enrolment_Received_From_University GROUP BY UniversityCode"; $selectQuery = "SELECT UniversityCode, UniversityName FROM T_Enrolment_Received_From_University GROUP BY UniversityCode";
$queryDetails = $this->db->query($selectQuery); $queryDetails = $this->db->query($selectQuery);
if($queryDetails->result()){ if($queryDetails->result()){
foreach ($queryDetails->result() as $formIdDetails){ foreach ($queryDetails->result() as $formIdDetails){
$result['univCode'] = $formIdDetails->UniversityCode; $univResult['univCode'] = $formIdDetails->UniversityCode;
$result['univName'] = $formIdDetails->UniversityName; $univResult['univName'] = $formIdDetails->UniversityName;
$selectCourseQuery = "SELECT CourseCode, CourseName FROM T_Enrolment_Received_From_University WHERE UniversityCode = '$formIdDetails->UniversityCode' GROUP BY CourseCode"; $selectCourseQuery = "SELECT CourseCode, CourseName FROM T_Enrolment_Received_From_University WHERE UniversityCode = '$formIdDetails->UniversityCode' GROUP BY CourseCode";
$queryCourseDetails = $this->db->query($selectCourseQuery); $queryCourseDetails = $this->db->query($selectCourseQuery);
$result['univCourseDetails'] = $queryCourseDetails->result(); $univResult['univCourseDetails'] = $queryCourseDetails->result();
$selectSessionQuery = "SELECT SessionName FROM T_Enrolment_Received_From_University WHERE UniversityCode = '$formIdDetails->UniversityCode' GROUP BY CourseCode"; $selectSessionQuery = "SELECT SessionName FROM T_Enrolment_Received_From_University WHERE UniversityCode = '$formIdDetails->UniversityCode' GROUP BY CourseCode";
$querySessionDetails = $this->db->query($selectSessionQuery); $querySessionDetails = $this->db->query($selectSessionQuery);
$result['univSessionDetails'] = $querySessionDetails->result(); $univResult['univSessionDetails'] = $querySessionDetails->result();
$merge[]=$univResult;
} }
$finalArray['status'] = true; $finalArray['status'] = true;
$finalArray['message'] = "Success."; $finalArray['message'] = "Success.";
$finalArray['details'] = $result; $finalArray['details'] = $merge;
} else { } else {
$finalArray['status'] = false; $finalArray['status'] = false;
$finalArray['message'] = "No record found."; $finalArray['message'] = "No record found.";
@ -442,9 +443,9 @@ class Receive_Enrolment_Fees_Univ_model extends CI_Model {
if(count($queryDetails->result()) == 0){ if(count($queryDetails->result()) == 0){
$query = "INSERT INTO T_FormId_FeeDetails_Received_From_University $query = "INSERT INTO T_FormId_FeeDetails_Received_From_University
(FormID, FormType, CentreCode,Session,Year,Semester,Student_Name,Father_Name,CourseCode, ActualCourseFee, CourseFee, ExamFee, EnrollmentFee, ProspectusFee, ReRegFee, CreditTransferFee, LateralEntryFee, DualSpclFee, OtherFee, NRIFEE, ProvisionalFee, MigrationFee, UrgentResultDMCFee, AdditionalFee, Amount, CreatedBy, CreatedOn, BranchCode) (FormID, FormType, CentreCode,Session,Year,Semester,Student_Name,Father_Name,CourseCode, ActualCourseFee, CourseFee, ExamFee, EnrollmentFee, ProspectusFee, ReRegFee, CreditTransferFee, LateralEntryFee, DualSpclFee, OtherFee, NRIFEE, ProvisionalFee, MigrationFee, UrgentResultDMCFee, AdditionalFee, Amount, CreatedBy, CreatedOn, BranchCode, DraftStatus)
VALUES VALUES
( '$formIds', '$formType', '$CentreCode','$Session','$Year','$Semester','$Student_Name','$Father_Name', '$CourseCode', '$ActualCourseFee', '$CourseFee', '$ExamFee', '$EnrollmentFee', '$ProspectusFee', '$ReRegFee', '$CreditTransferFee', '$LateralEntryFee', '$DualSpclFee', '$OtherFee', '$NRIFEE', '$ProvisionalFee', '$MigrationFee', '$UrgentResultDMCFee', '$AdditionalFee', '$Amount', '$localUserID', '$CreatedOn', '$localBranchID' )"; ( '$formIds', '$formType', '$CentreCode','$Session','$Year','$Semester','$Student_Name','$Father_Name', '$CourseCode', '$ActualCourseFee', '$CourseFee', '$ExamFee', '$EnrollmentFee', '$ProspectusFee', '$ReRegFee', '$CreditTransferFee', '$LateralEntryFee', '$DualSpclFee', '$OtherFee', '$NRIFEE', '$ProvisionalFee', '$MigrationFee', '$UrgentResultDMCFee', '$AdditionalFee', '$Amount', '$localUserID', '$CreatedOn', '$localBranchID' , 0)";
$queryDetails = $this->db->query($query); $queryDetails = $this->db->query($query);
} else { } else {
echo 'else con'; echo 'else con';
@ -476,7 +477,7 @@ class Receive_Enrolment_Fees_Univ_model extends CI_Model {
$results['stuFeeList_details'] = "details updated successfully."; $results['stuFeeList_details'] = "details updated successfully.";
return $results; return $results;
} }
public function getStudentUnivFeeCompareDetails($univCode=null,$session=null){ public function getStudentUnivFeeCompareDetails($search=null){
$mergeFormDetails=array(); $mergeFormDetails=array();
$this->db->distinct('ENU.FormID'); $this->db->distinct('ENU.FormID');
$this->db->select('ENU.FormID, ENU.FormType, ENU.SemesterYear, ENU.EnrolmentNo,ENU.RollNo, ST.*,UN.UniversityID, UN.UniversityName,CM.CourseID,CM.CourseCode,CM.CourseName'); $this->db->select('ENU.FormID, ENU.FormType, ENU.SemesterYear, ENU.EnrolmentNo,ENU.RollNo, ST.*,UN.UniversityID, UN.UniversityName,CM.CourseID,CM.CourseCode,CM.CourseName');
@ -485,16 +486,22 @@ class Receive_Enrolment_Fees_Univ_model extends CI_Model {
$this->db->join(COURSE.' as CM', 'CM.CourseID = STC.CourseID'); $this->db->join(COURSE.' as CM', 'CM.CourseID = STC.CourseID');
$this->db->join(STUDENTS.' as ST', 'ST.StudentID = STC.StudentID'); $this->db->join(STUDENTS.' as ST', 'ST.StudentID = STC.StudentID');
$this->db->join(UNIVERSITY.' as UN', 'UN.UniversityID = STC.UniversityID'); $this->db->join(UNIVERSITY.' as UN', 'UN.UniversityID = STC.UniversityID');
// $this->db->join(FORMFEESRECEIVEDFROMUNIV.' as t2', 't2.FormID = t1.FormID','left'); if($search['University']!=''){
//$this->db->where('t1.CourseCode', $courseCode); $this->db->where('ENU.UniversityCode',$search['University']);
$this->db->where('ENU.UniversityCode', $univCode); }
if($search['Course']!=''){
$this->db->where('ENU.CourseName',$search['Course']);
}
if($search['Sem']!=''){
$this->db->where('ENU.SemesterYear',$search['Sem']);
}
$details = $this->db->get(); $details = $this->db->get();
$detailsList = $details->result(); $detailsList = $details->result();
if($detailsList){ if($detailsList){
foreach ($detailsList as $fetchStudentRow){ foreach ($detailsList as $fetchStudentRow){
// form id bases get student paid details // form id bases get student paid details
$getStudentsetFeesDetails=$this->getStudentsetFeesDetails($fetchStudentRow->StudentID,$fetchStudentRow->CourseID,$fetchStudentRow->SemesterYear,$session); $getStudentsetFeesDetails=$this->getStudentsetFeesDetails($fetchStudentRow->StudentID,$fetchStudentRow->CourseID,$fetchStudentRow->SemesterYear);
if(isset($getStudentsetFeesDetails['status']) AND $getStudentsetFeesDetails['status']==true ){ if(isset($getStudentsetFeesDetails['status']) AND $getStudentsetFeesDetails['status']==true ){
$formResult['SessionName']=$getStudentsetFeesDetails['SessionName']; $formResult['SessionName']=$getStudentsetFeesDetails['SessionName'];
$formResult['FormID']=$fetchStudentRow->FormID; $formResult['FormID']=$fetchStudentRow->FormID;
@ -545,7 +552,7 @@ class Receive_Enrolment_Fees_Univ_model extends CI_Model {
return $resultArr; return $resultArr;
} }
/*form id bases get student paid details for getStudentUnivFeeCompareDetails methods*/ /*form id bases get student paid details for getStudentUnivFeeCompareDetails methods*/
public function getStudentsetFeesDetails($studentID=null,$courseID=null,$sem=null,$session=null){ public function getStudentsetFeesDetails($studentID=null,$courseID=null,$sem=null){
// create array for find sem value // create array for find sem value
$keyArray = array(0 => 'SEM1', 1 => 'SEM2', 2 => 'SEM3', 3 => 'SEM4',4 => 'SEM5',5 => 'SEM6',6 => 'SEM7',7 => 'SEM8',8 => 'YEAR1',9 => 'YEAR2',10 => 'YEAR3',11 => 'YEAR4',12 => "DMC CHANGE SEM1",13 => "DMC CHANGE SEM2",14 => "DMC CHANGE SEM3",15 => "DMC CHANGE SEM4",16 => "DMC CHANGE SEM5",17 => "DMC CHANGE SEM6",18 => "DMC CHANGE SEM7",19 => "DMC CHANGE SEM8",20 => "DMC CHANGE YEAR1",21 => "DMC CHANGE YEAR2",22 => "DMC CHANGE YEAR3",23 => "DMC CHANGE YEAR4"); $keyArray = array(0 => 'SEM1', 1 => 'SEM2', 2 => 'SEM3', 3 => 'SEM4',4 => 'SEM5',5 => 'SEM6',6 => 'SEM7',7 => 'SEM8',8 => 'YEAR1',9 => 'YEAR2',10 => 'YEAR3',11 => 'YEAR4',12 => "DMC CHANGE SEM1",13 => "DMC CHANGE SEM2",14 => "DMC CHANGE SEM3",15 => "DMC CHANGE SEM4",16 => "DMC CHANGE SEM5",17 => "DMC CHANGE SEM6",18 => "DMC CHANGE SEM7",19 => "DMC CHANGE SEM8",20 => "DMC CHANGE YEAR1",21 => "DMC CHANGE YEAR2",22 => "DMC CHANGE YEAR3",23 => "DMC CHANGE YEAR4");
$valueArray = array("1","2","3","4","5","6","7","8","1","2","3","4","1","2","3","4","5","6","7","8","1","2","3","4"); $valueArray = array("1","2","3","4","5","6","7","8","1","2","3","4","1","2","3","4","5","6","7","8","1","2","3","4");
@ -564,7 +571,6 @@ class Receive_Enrolment_Fees_Univ_model extends CI_Model {
$this->db->join(SESSIONMASTER . ' as SM' , 'SM.SessionID = SFS.SessionName'); $this->db->join(SESSIONMASTER . ' as SM' , 'SM.SessionID = SFS.SessionName');
$this->db->where('SFS.FeesType', $fetchRow->ID); $this->db->where('SFS.FeesType', $fetchRow->ID);
$this->db->where('SFS.StudentID', $studentID); $this->db->where('SFS.StudentID', $studentID);
$this->db->where('SFS.SessionName', $session);
$feesDetails = $this->db->get()->last_row(); $feesDetails = $this->db->get()->last_row();
if ($feesDetails) { if ($feesDetails) {
$feesArray['status'] = true; $feesArray['status'] = true;
@ -587,7 +593,6 @@ class Receive_Enrolment_Fees_Univ_model extends CI_Model {
$this->db->join(SESSIONMASTER . ' as SM' , 'SM.SessionID = SFS.SessionName'); $this->db->join(SESSIONMASTER . ' as SM' , 'SM.SessionID = SFS.SessionName');
$this->db->where('SFS.FeesType',$fetchRow->ID); $this->db->where('SFS.FeesType',$fetchRow->ID);
$this->db->where('SFS.StudentID',$studentID); $this->db->where('SFS.StudentID',$studentID);
$this->db->where('SFS.SessionName', $session);
$feesDetails = $this->db->get()->last_row(); $feesDetails = $this->db->get()->last_row();
if ($feesDetails) { if ($feesDetails) {
$feesArray['status'] = true; $feesArray['status'] = true;
@ -612,46 +617,131 @@ class Receive_Enrolment_Fees_Univ_model extends CI_Model {
*/ */
public function getUnmatchedFormDetails($reqType){ public function getUnmatchedFormDetails($reqType){
// $this->db->select('t1.*');
// $this->db->from('T_Enrolment_Received_From_University as t1');
// $this->db->join('T_Student_CourseDetails as t2', 't2.EnrollmentID = t1.EnrolmentNo');
if($reqType == 'EnrolmentIDFile'){ $keyArray = array(0 => 'SEM1', 1 => 'SEM2', 2 => 'SEM3', 3 => 'SEM4',4 => 'SEM5',5 => 'SEM6',6 => 'SEM7',7 => 'SEM8',8 => 'YEAR1',9 => 'YEAR2',10 => 'YEAR3',11 => 'YEAR4',12 => "DMC CHANGE SEM1",13 => "DMC CHANGE SEM2",14 => "DMC CHANGE SEM3",15 => "DMC CHANGE SEM4",16 => "DMC CHANGE SEM5",17 => "DMC CHANGE SEM6",18 => "DMC CHANGE SEM7",19 => "DMC CHANGE SEM8",20 => "DMC CHANGE YEAR1",21 => "DMC CHANGE YEAR2",22 => "DMC CHANGE YEAR3",23 => "DMC CHANGE YEAR4");
$query = "select * $valueArray = array("1","2","3","4","5","6","7","8","1","2","3","4","1","2","3","4","5","6","7","8","1","2","3","4");
from T_Enrolment_Received_From_University as t1 $this->db->distinct('ENU.FormID');
where t1.EnrolmentNo NOT IN (select EnrollmentID from T_Student_CourseDetails)"; $this->db->select('ENU.*');
$details = $this->db->query($query); $this->db->from(ENROLMENTRECEIVEDFROMUNIV.' as ENU');
$detailsList = $details->result(); if($reqType['University']!=''){
$this->db->where('ENU.UniversityCode',$reqType['University']);
}
if($reqType['Course']!=''){
$this->db->where('ENU.CourseName',$reqType['Course']);
}
if($reqType['Sem']!=''){
$this->db->where('ENU.SemesterYear',$reqType['Sem']);
}
$details = $this->db->get();
$resultArr=array();
$mergeFormDetails=array();
if($details->result()){
foreach ($details->result() as $fRow){
$this->db->distinct('ENU1.FormID');
$this->db->select('SC.StudentID,SC.CourseID,SC.EnrollmentID,CF.ID,CF.ProgramType,CF.Sem_Year,ENU1.SemesterYear,ENU1.EnrolmentNo');
$this->db->from(STUDENTCOURSE.' as SC');
$this->db->join(ENROLMENTRECEIVEDFROMUNIV .' as ENU1', 'ENU1.EnrolmentNo = SC.EnrollmentID');
$this->db->join(COURSE_FEES .' as CF', 'CF.CourseID = SC.CourseID');
$this->db->where('ENU1.EnrolmentNo',$fRow->EnrolmentNo);
$this->db->where('ENU1.FormID',$fRow->FormID);
$getEnrolmentMatchDetails=$this->db->get();
if($getEnrolmentMatchDetails->result()){
foreach ($getEnrolmentMatchDetails->result() as $sRow){
$serachKey = array_search(strtoupper($sRow->Sem_Year), $keyArray);
if ($valueArray[$serachKey] == $sRow->SemesterYear) {
$this->db->select('SFS.FeesID');
$this->db->from(STUDENTS_FEES_STATUS.' as SFS');
$this->db->join(COURSE_FEES .' as CF', 'SFS.FeesType = CF.ID');
$this->db->where('SFS.FeesType',$sRow->ID);
$this->db->where('SFS.CourseID',$sRow->CourseID);
$this->db->where('SFS.StudentID',$sRow->StudentID);
$getEnrolmentMatchDetails=$this->db->get();
if($getEnrolmentMatchDetails->num_rows()==0){
$formResult['SessionName']=$fRow->SessionName;
$formResult['FormID']=$fRow->FormID;
$formResult['FormType']=$fRow->FormType;
$formResult['SemesterYear']=$fRow->SemesterYear;
$formResult['CentreCode']=$fRow->CentreCode;
$formResult['CentreState']=$fRow->CentreState;
$formResult['EnrolmentNo']=$fRow->EnrolmentNo;
$formResult['EnromentStatus']=true;
$formResult['SemStatus']=false;
$formResult['CourseCode']=$fRow->CourseCode;
$formResult['CourseName']=$fRow->CourseName;
$formResult['RollNo']=$fRow->RollNo;
$formResult['MobileNumber']=$fRow->MobileNumber;
$formResult['StudentName']=$fRow->StudentName;
$formResult['FatherName']=$fRow->FatherName;
$formResult['MotherName']=$fRow->MotherName;
$formResult['EmailID']=$fRow->EmailID;
$formResult['AlternateNumber']=$fRow->AlternateNumber;
$formResult['Gender']=$fRow->Gender;
$formResult['DOB']=$fRow->DOB;
$formResult['PresentAddress']=$fRow->PresentAddress;
$formResult['PermanentAddress']=$fRow->PermanentAddress;
$formResult['AadharNumber']=$fRow->AadharNumber;
$formResult['OtherID']=$fRow->IDProof;
$formResult['UniversityCode']=$fRow->UniversityCode;
$formResult['UniversityName']=$fRow->UniversityName;
$mergeFormDetails[]=$formResult;
}
}
}
if($detailsList){ }
$resultArr['unMatchedRecordDetails'] = $detailsList; else{
$formResult['SessionName']=$fRow->SessionName;
$formResult['FormID']=$fRow->FormID;
$formResult['FormType']=$fRow->FormType;
$formResult['SemesterYear']=$fRow->SemesterYear;
$formResult['CentreCode']=$fRow->CentreCode;
$formResult['CentreState']=$fRow->CentreState;
$formResult['EnrolmentNo']=$fRow->EnrolmentNo;
$formResult['EnromentStatus']=false;
$formResult['SemStatus']=true;
$formResult['CourseCode']=$fRow->CourseCode;
$formResult['CourseName']=$fRow->CourseName;
$formResult['RollNo']=$fRow->RollNo;
$formResult['MobileNumber']=$fRow->MobileNumber;
$formResult['StudentName']=$fRow->StudentName;
$formResult['FatherName']=$fRow->FatherName;
$formResult['MotherName']=$fRow->MotherName;
$formResult['EmailID']=$fRow->EmailID;
$formResult['AlternateNumber']=$fRow->AlternateNumber;
$formResult['Gender']=$fRow->Gender;
$formResult['DOB']=$fRow->DOB;
$formResult['PresentAddress']=$fRow->PresentAddress;
$formResult['PermanentAddress']=$fRow->PermanentAddress;
$formResult['AadharNumber']=$fRow->AadharNumber;
$formResult['OtherID']=$fRow->IDProof;
$formResult['UniversityCode']=$fRow->UniversityCode;
$formResult['UniversityName']=$fRow->UniversityName;
$mergeFormDetails[]=$formResult;
}
}
// echo sizeof($mergeFormDetails);die();
if(sizeof($mergeFormDetails)>0){
$resultArr['unMatchedRecordDetails'] = $mergeFormDetails;
$resultArr['unMatchedRecordStatus'] = true; $resultArr['unMatchedRecordStatus'] = true;
$resultArr['unMatchedRecordFor'] = 'EnrolmentIDFile'; $resultArr['unMatchedRecordFor'] = 'EnrolmentIDFile';
$resultArr['message'] = "Successfully data generated"; $resultArr['message'] = "Successfully data generated";
} else { }
else{
$resultArr['unMatchedRecordDetails'] = $mergeFormDetails;
$resultArr['unMatchedRecordStatus'] = false;
$resultArr['unMatchedRecordFor'] = 'EnrolmentIDFile';
$resultArr['message'] = "Successfully data generated";
}
}
else{
$resultArr['unMatchedRecordDetails'] = []; $resultArr['unMatchedRecordDetails'] = [];
$resultArr['unMatchedRecordStatus'] = false; $resultArr['unMatchedRecordStatus'] = false;
$resultArr['unMatchedRecordFor'] = 'EnrolmentIDFile'; $resultArr['unMatchedRecordFor'] = 'EnrolmentIDFile';
$resultArr['message'] = "No record found";
}
}else if($reqType == 'FormIDFile'){
$query = "select *
from T_FormId_FeeDetails_Received_From_University as t1
where t1.FormID NOT IN (select FormID from T_Enrolment_Received_From_University)";
$details = $this->db->query($query);
$detailsList = $details->result();
if($detailsList){
$resultArr['unMatchedRecordDetails'] = $detailsList;
$resultArr['unMatchedRecordStatus'] = true;
$resultArr['unMatchedRecordFor'] = 'FormIDFile';
$resultArr['message'] = "Successfully data generated"; $resultArr['message'] = "Successfully data generated";
} else {
$resultArr['unMatchedRecordDetails'] = [];
$resultArr['unMatchedRecordStatus'] = false;
$resultArr['unMatchedRecordFor'] = 'FormIDFile';
$resultArr['message'] = "No record found";
}
} }
@ -798,4 +888,135 @@ class Receive_Enrolment_Fees_Univ_model extends CI_Model {
return $resultArray; return $resultArray;
} }
public function getForFormIdDraftDetails(){
$selectQuery = "SELECT * FROM T_FormId_FeeDetails_Received_From_University WHERE DraftStatus = 1";
$details = $this->db->query($selectQuery);
$detailsList = $details->result();
if($detailsList) {
$result['draftStatus'] = true;
$result['draftDetails'] = $detailsList;
$result['draftDetailsMessagae'] = "details generate successfully.";
} else {
$result['draftStatus'] = false;
$result['draftDetails'] = '';
$result['draftDetailsMessagae'] = "No Record Found.";
}
return $result;
}
public function addForFormIdDraftDetails($details, $local){
$localBranchID = $local['localBranchID'];
$localUserID = $local['localUserID'];
$time = date('Y-m-d H:i:s');
$CreatedOn = $time;
$formIds = $details['FormID'];
$formType = $details['FormType'];
$CentreCode = $details['CentreCode'];
$Session = $details['Session'];
$Year = $details['Year'];
$Semester = $details['Semester'];
$Student_Name = $details['Student_Name'];
$Father_Name = $details['Father_Name'];
$CourseCode = $details['CourseCode'];
$ActualCourseFee = $details['ActualCourseFee'];
$CourseFee = $details['CourseFee'];
$ExamFee = $details['ExamFee'];
$EnrollmentFee = $details['EnrollmentFee'];
$ProspectusFee = $details['ProspectusFee'];
$ReRegFee = $details['ReRegFee'];
$CreditTransferFee = $details['CreditTransferFee'];
$LateralEntryFee = $details['LateralEntryFee'];
$DualSpclFee = $details['DualSpclFee'];
$OtherFee = $details['OtherFee'];
$NRIFEE = $details['NRIFEE'];
$ProvisionalFee = $details['ProvisionalFee'];
$MigrationFee = $details['MigrationFee'];
$UrgentResultDMCFee = $details['UrgentResultDMCFee'];
$AdditionalFee = $details['AdditionalFee'];
$Amount = $details['Amount'];
$selectQuery = "SELECT * FROM T_FormId_FeeDetails_Received_From_University WHERE
FormID = '$formIds' AND
FormType = '$formType' AND
CentreCode = '$CentreCode' AND
Session = '$Session' AND
Year = '$Year' AND
Semester = '$Semester' AND
Student_Name = '$Student_Name' AND
Father_Name = '$Father_Name' AND
CourseCode = '$CourseCode' AND
ActualCourseFee = '$ActualCourseFee' AND
CourseFee = '$CourseFee' AND
ExamFee = '$ExamFee' AND
EnrollmentFee = '$EnrollmentFee' AND
ProspectusFee = '$ProspectusFee' AND
ReRegFee = '$ReRegFee' AND
CreditTransferFee = '$CreditTransferFee' AND
LateralEntryFee = '$LateralEntryFee' AND
DualSpclFee = '$DualSpclFee' AND
OtherFee = '$OtherFee' AND
NRIFEE = '$NRIFEE' AND
ProvisionalFee = '$ProvisionalFee' AND
MigrationFee = '$MigrationFee' AND
UrgentResultDMCFee = '$UrgentResultDMCFee' AND
AdditionalFee = '$AdditionalFee' AND
Amount = '$Amount'";
$queryDetails = $this->db->query($selectQuery);
if(count($queryDetails->result()) == 0){
$query = "INSERT INTO T_FormId_FeeDetails_Received_From_University
(FormID, FormType, CentreCode,Session,Year,Semester,Student_Name,Father_Name,CourseCode, ActualCourseFee, CourseFee, ExamFee, EnrollmentFee, ProspectusFee, ReRegFee, CreditTransferFee, LateralEntryFee, DualSpclFee, OtherFee, NRIFEE, ProvisionalFee, MigrationFee, UrgentResultDMCFee, AdditionalFee, Amount, CreatedBy, CreatedOn, BranchCode, DraftStatus)
VALUES
( '$formIds', '$formType', '$CentreCode','$Session','$Year','$Semester','$Student_Name','$Father_Name', '$CourseCode', '$ActualCourseFee', '$CourseFee', '$ExamFee', '$EnrollmentFee', '$ProspectusFee', '$ReRegFee', '$CreditTransferFee', '$LateralEntryFee', '$DualSpclFee', '$OtherFee', '$NRIFEE', '$ProvisionalFee', '$MigrationFee', '$UrgentResultDMCFee', '$AdditionalFee', '$Amount', '$localUserID', '$CreatedOn', '$localBranchID' , 1)";
$queryDetails = $this->db->query($query);
if($queryDetails){
$result['draftStatus'] = true;
$result['draftDetailsMessagae'] = "Updated Successfully.";
}else{
$result['draftStatus'] = false;
$result['draftDetailsMessagae'] = "Something went wrong.";
}
} else {
$result['draftStatus'] = false;
$result['draftDetailsMessagae'] = "This record already exist.";
}
return $result;
}
public function draftMovetoList($detail, $local){
// print_r($details);exit();
foreach($detail as $row) {
// echo $row['ID'];exit();
$data[] = array(
'ID' => $row['ID'],
'FormType'=> 'Hello'
);
}
// $data = array(
// array(
// 'ID' => 1,
// 'FormType' => 'Hello'
// ),
// array(
// 'ID' => 2,
// 'FormType' => 'World'
// )
// );
// print_r($data);exit();
$this->db->update_batch('T_FormId_FeeDetails_Received_From_University', $data, 'ID');
$detailsList = $details->result();
if($detailsList){
$result['draftStatus'] = true;
$result['draftDetailsMessagae'] = "Updated Successfully.";
} else {
$result['draftStatus'] = false;
$result['draftDetailsMessagae'] = "Something went wrong.";
}
}
} }

View File

@ -106,7 +106,7 @@
"ENROLLMENT": "Enrollment", "ENROLLMENT": "Enrollment",
"STUDENTDETAILS": "Manage", "STUDENTDETAILS": "Manage",
"STUDENTDETAILSADDEDIT": "Manage Details", "STUDENTDETAILSADDEDIT": "Manage Details",
"STUDENTFEEDETAILCOMPARE": "Student University Fee", "STUDENTFEEDETAILCOMPARE": "University Form Enrolment",
"STUDENTFROMIDFEEDETAILS": "Student FormId Fee Details", "STUDENTFROMIDFEEDETAILS": "Student FormId Fee Details",
"status" : { "status" : {
"MAIN": "Update Status", "MAIN": "Update Status",

View File

@ -307,13 +307,13 @@ app.config(['$stateProvider', '$urlRouterProvider', '$controllerProvider', '$com
ncyBreadcrumb: { ncyBreadcrumb: {
label: 'Manage Details' label: 'Manage Details'
} }
}).state('app.student.studentUnivFeeCompareDetails', { }).state('app.student.UnivFormEnroment', {
url: '/studentUnivFeeCompare', url: '/UnivFormEnrolment',
templateUrl: "assets/views/student/studentUnivFeeCompareDetails.html", templateUrl: "assets/views/student/studentUnivFeeCompareDetails.html",
resolve: loadSequence('ui.select', 'spin', 'ui.mask', 'monospaced.elastic', 'ladda', 'touchspin-plugin', 'angular-ladda', 'student_university_fee_compareCtrl', 'ngTable'), resolve: loadSequence('ui.select', 'spin', 'ui.mask', 'monospaced.elastic', 'ladda', 'touchspin-plugin', 'angular-ladda', 'student_university_fee_compareCtrl', 'ngTable'),
title: 'Student University Fee Compare', title: 'University Form Enrolment',
ncyBreadcrumb: { ncyBreadcrumb: {
label: 'Student University Fee Compare' label: 'University Form Enrolment'
} }
}).state('app.student.studentUnivFormIdFeeDetails', { }).state('app.student.studentUnivFormIdFeeDetails', {
url: '/studentUnivFormIdFeeDetails', url: '/studentUnivFormIdFeeDetails',

View File

@ -328,35 +328,173 @@ app.controller('studentUnivFormIdFeeDetailsCtrl', ["$scope", "toaster", "$filter
} }
} }
$scope.draftManualEntryDetails = {
'FormID': '',
'FormType': 'NEW',
'CentreCode': '',
'Session':'',
'Year':'',
'Semester':'',
'Student_Name':'',
'Father_Name':'',
'CourseCode':'',
'ActualCourseFee':'0',
'CourseFee':'0',
'ExamFee': '0',
'EnrollmentFee': '0',
'ProspectusFee': '0',
'ReRegFee': '0',
'CreditTransferFee': '0',
'LateralEntryFee': '0',
'DualSpclFee': '0',
'OtherFee': '0',
'NRIFEE':'0',
'ProvisionalFee': '0',
'MigrationFee': '0',
'UrgentResultDMCFee': '0',
'AdditionalFee': '0',
'Amount': '0'
}
$scope.draftListDetails = '';
$scope.draftListDetailsNoRecordFound = false;
$scope.draftListDetailsLoading = false;
// get draft form id details // get draft form id details
function getDraftFormIdDetails(){ function getDraftFormIdDetails(){
// $scope.unMatchedRecordDetails = ''; $scope.draftListDetailsLoading = true;
// $scope.unMatchedNoRecordFound = false; $scope.draftListDetailsNoRecordFound = false;
// $scope.unMatchedLoadingStatus = true; $scope.draftListDetails = '';
// var getDetailsFor = ss == 1 ? 'EnrolmentIDFile' : 'FormIDFile'; var getFormIdDraftDetailsList = {
// var getFeeCompareDetailsList = { method: 'POST',
// method: 'POST', url: apiPoint.url + 'getForFormIdDraftDetails/',
// url: apiPoint.url + 'getUnmatchedRecordDetails/', headers: {
// headers: { 'Content-Type': 'application/json'
// 'Content-Type': 'application/json' },
// }, data: {
// data: { localDetails: localDetail
// localDetails: localDetail, }
// getDetailsFor: getDetailsFor };
// } $http(getFormIdDraftDetailsList).then(function (response) {
// }; if (response.data.draftStatus == true) {
// $http(getFeeCompareDetailsList).then(function (response) { $scope.draftListDetailsLoading = false;
// if (response.data.unMatchedRecordStatus == true) { $scope.draftListDetails = response.data.draftDetails;
// $scope.unMatchedLoadingStatus = false; $scope.draftListDetailsNoRecordFound = false;
// $scope.unMatchedNoRecordFound = false; } else {
// $scope.unMatchedRecordDetails = response.data.unMatchedRecordDetails; $scope.draftListDetailsLoading = false;
// $scope.unMatchedRecordDetailsType = response.data.unMatchedRecordFor; $scope.draftListDetailsNoRecordFound = true;
// } else { }
// $scope.unMatchedLoadingStatus = false; });
// $scope.unMatchedNoRecordFound = true; }
// $scope.unMatchedRecordDetails = response.data.unMatchedRecordDetails;
// } // manual entry details add
// });
$scope.addManualData = function() {
alert(JSON.stringify($scope.draftManualEntryDetails));
var addDraftDetailsList = {
method: 'POST',
url: apiPoint.url + 'addForFormIdDraftDetails/',
headers: {
'Content-Type': 'application/json'
},
data: {
localDetails: localDetail,
details : $scope.draftManualEntryDetails
}
};
$http(addDraftDetailsList).then(function (response) {
if (response.data.draftStatus == true) {
swal("", response.data.draftDetailsMessagae, "success");
getDraftFormIdDetails();
getEmptycall();
} else {
swal("", response.data.draftDetailsMessagae, "warning");
getDraftFormIdDetails();
getEmptycall();
}
});
}
function getEmptycall(){
$scope.draftManualEntryDetails = {
'FormID': '',
'FormType': 'NEW',
'CentreCode': '',
'Session':'',
'Year':'',
'Semester':'',
'Student_Name':'',
'Father_Name':'',
'CourseCode':'',
'ActualCourseFee':'0',
'CourseFee':'0',
'ExamFee': '0',
'EnrollmentFee': '0',
'ProspectusFee': '0',
'ReRegFee': '0',
'CreditTransferFee': '0',
'LateralEntryFee': '0',
'DualSpclFee': '0',
'OtherFee': '0',
'NRIFEE':'0',
'ProvisionalFee': '0',
'MigrationFee': '0',
'UrgentResultDMCFee': '0',
'AdditionalFee': '0',
'Amount': '0'
}
return 0;
}
$scope.addToList = function(id){
swal({
title: "Are you sure?",
text: "You Want to Add this Record to List!",
type: "warning",
showCancelButton: true,
confirmButtonColor: '#DD6B55',
confirmButtonText: 'Yes',
cancelButtonText: "No",
closeOnConfirm: false,
closeOnCancel: false
},
function(isConfirm){
if (isConfirm){
var selectedItems = [];
function getUpdateDetails(id) {
this.ID = id;
this.DraftStatus = 0;
}
let itemGetID = new getUpdateDetails(id);
selectedItems.push(itemGetID);
var draftMoveToList = {
method: 'POST',
url: apiPoint.url + 'draftMovetoList/',
headers: {
'Content-Type': 'application/json'
},
data: {
localDetails: localDetail,
details : selectedItems
}
};
$http(draftMoveToList).then(function (response) {
if (response.data.draftStatus == true) {
// swal("", response.data.draftDetailsMessagae, "success");
// getDraftFormIdDetails();
// getEmptycall();
} else {
// swal("", response.data.draftDetailsMessagae, "warning");
// getDraftFormIdDetails();
// getEmptycall();
}
});
} else {
swal("Cancelled", "Your record not added to list :)", "error");
}
});
} }
}]); }]);

View File

@ -20,7 +20,6 @@ app.controller('student_university_fee_compareCtrl', ["$scope", "toaster", "$fil
const LOCALTYPE = logcheck.localType; const LOCALTYPE = logcheck.localType;
if (logcheck != null && (LOCALTYPE == 'R003' || LOCALTYPE == 'R004' || LOCALTYPE == 'R002' || LOCALTYPE == 'R005')) { if (logcheck != null && (LOCALTYPE == 'R003' || LOCALTYPE == 'R004' || LOCALTYPE == 'R002' || LOCALTYPE == 'R005')) {
console.log("if");
}else { }else {
if(logcheck != null && LOCALTYPE !='R001') { if(logcheck != null && LOCALTYPE !='R001') {
console.log("else if"); console.log("else if");
@ -45,32 +44,16 @@ app.controller('student_university_fee_compareCtrl', ["$scope", "toaster", "$fil
} }
} }
/* get json sem details for serach
* */
$scope.semDetails=["1","2","3","4","5","6","7","8"];
/*$scope.universityData = '';
$scope.getUniversityList = function () {
var empListreq = {
method: 'POST',
url: apiPoint.url + 'getStudentUniversity/',
headers: {
'Content-Type': 'application/json'
},
data: {
data: localDetails
}
};
$http(empListreq).then(function (response) {
if (response.data.univList) {
$scope.universityData = response.data.university_details;
} else {
}
});
}*/
// get University List // get University List
$scope.universitySearchData = ''; $scope.universitySearchData = '';
$scope.getUniversitySearchList = function () { $scope.getUniversitySearchList = function () {
var empListreq = { var empListreq = {
method: 'POST', method: 'POST',
url: apiPoint.url + 'getUniversitySessionDetails/', url: apiPoint.url + 'getUnivCourseFromFileDetails/',
headers: { headers: {
'Content-Type': 'application/json' 'Content-Type': 'application/json'
}, },
@ -90,49 +73,50 @@ app.controller('student_university_fee_compareCtrl', ["$scope", "toaster", "$fil
$scope.searchData = { $scope.searchData = {
"University": "", "University": "",
"Session": "", "Course": "",
"Status": "" "Sem": ""
} }
$scope.myUnivSearch = ""; $scope.myUnivSearch = "";
$scope.sessionData=""; $scope.sessionData="";
$scope.getUniveId = function (univ) { $scope.getUniveId = function (univ) {
$scope.sessionData="";
if (univ === '') { if (univ === '') {
$scope.myUnivSearch = ""; $scope.myUnivSearch = "";
$scope.searchData.University = ''; $scope.searchData.University = '';
// $scope.searchData.Course = ''; $scope.searchData.Course = '';
// $scope.searchData.Batch = '';
// $scope.courseData = name.Course;
// $scope.batchData = name.Batch;
$scope.searchData.Session = '';
$scope.OpenWindowStatus = false; $scope.OpenWindowStatus = false;
} else { } else {
let name = JSON.parse(univ); let name = JSON.parse(univ);
$scope.searchData.University = name.UniversityID; $scope.searchData.University = name.univCode;
// $scope.searchData.Course = ''; $scope.searchData.Course = '';
// $scope.searchData.Batch = ''; $scope.serachCourseData = name.univCourseDetails;
// $scope.courseData = name.Course;
// $scope.batchData = name.Batch;
$scope.searchData.Session = '';
$scope.sessionData = name.SessionDetails;
$scope.OpenWindowStatus = false; $scope.OpenWindowStatus = false;
} }
}; };
//For session dropdown /* mis match serach data*/
$scope.filterSessionDetails=""; $scope.misMatchsSearchData = {
$scope.$watch('searchData.University', function (newValue,oldValue) { "University": "",
if(newValue==undefined || newValue==''){ "Course": "",
$scope.filterSessionDetails=""; "Sem": ""
}
else{
if(angular.isString(newValue)){
$scope.filterSessionDetails=angular.fromJson(newValue);
} }
$scope.misMatchCourseData=[];
$scope.getMisMatchUnivId = function (univ) {
if (univ === '') {
$scope.myUnivSearch = "";
$scope.misMatchsSearchData.University = '';
$scope.misMatchsSearchData.Course = '';
$scope.misMatchCourseData=[];
} else {
let uniName = JSON.parse(univ);
$scope.misMatchsSearchData.University = uniName.univCode;
$scope.misMatchsSearchData.Course = '';
$scope.misMatchCourseData=uniName.univCourseDetails;
} }
}); };
$scope.Searchloader = false; $scope.Searchloader = false;
@ -199,13 +183,10 @@ app.controller('student_university_fee_compareCtrl', ["$scope", "toaster", "$fil
$scope.showFile="0"; $scope.showFile="0";
$scope.$watchCollection('uploadModel', function (newValue,oldValue) { $scope.$watchCollection('uploadModel', function (newValue,oldValue) {
if(newValue.university!='' && newValue.university!=null && newValue.uploadFor!='' && newValue.uploadFor=='1'){ if(newValue.university!='' && newValue.university!=null){
$scope.showFile="1"; $scope.showFile="1";
} }
else if(newValue.university!='' && newValue.university!=null && newValue.uploadFor!='' && newValue.uploadFor=='2'){
$scope.showFile="2";
}
else{ else{
$scope.showFile="0"; $scope.showFile="0";
} }
@ -233,6 +214,10 @@ app.controller('student_university_fee_compareCtrl', ["$scope", "toaster", "$fil
} }
$scope.receiveEnrolmentDetails = function (details,uploadForDetails) { $scope.receiveEnrolmentDetails = function (details,uploadForDetails) {
if(details.length==0){
swal("Warning", "No data found for insert ", "warning");
}
else{
var updateUniversityEnrolment = { var updateUniversityEnrolment = {
method: 'POST', method: 'POST',
url: apiPoint.url + 'receiveEnrolmentFromUniv/', url: apiPoint.url + 'receiveEnrolmentFromUniv/',
@ -242,8 +227,8 @@ app.controller('student_university_fee_compareCtrl', ["$scope", "toaster", "$fil
data: { data: {
localDetails: localDetail, localDetails: localDetail,
details: details, details: details,
universityID: angular.fromJson(uploadForDetails.university).UniversityID, universityID: angular.fromJson(uploadForDetails.university).univCode,
universityName: angular.fromJson(uploadForDetails.university).UniversityName, universityName: angular.fromJson(uploadForDetails.university).univName,
} }
}; };
@ -257,48 +242,10 @@ app.controller('student_university_fee_compareCtrl', ["$scope", "toaster", "$fil
} }
}); });
} }
}
// end // end
$scope.extractFormIDDetails="";
$scope.readXlsxFormDetails = function (workbook) {
$scope.extractFormIDDetails="";
/* DO SOMETHING WITH workbook HERE */
for (var sheetName in workbook.Sheets) {
var jsonData = XLSX.utils.sheet_to_json(workbook.Sheets[sheetName]);
if(jsonData.length!=0){
$scope.extractFormIDDetails=jsonData;
}
}
$scope.error = function (e) {
/* DO SOMETHING WHEN ERROR IS THROWN */
//console.log(e);
}
}
$scope.receiveFormIdFeeDetails = function(details) {
var updateUniversityEnrolment = {
method: 'POST',
url: apiPoint.url + 'insertFormIdUnivFeeDetails/',
headers: {
'Content-Type': 'application/json'
},
data: {
localDetails: localDetail,
details: details
}
};
$http(updateUniversityEnrolment).then(function (response) {
if (response.data.stuFeeList == true) {
swal("", "Updated Successfully", "success");
$state.go($state.current, {}, {reload: true});
} else {
swal("", "Failed", "error");
}
});
}
$scope.popupLoad = false; $scope.popupLoad = false;
$scope.popupLoadData = false; $scope.popupLoadData = false;
@ -339,11 +286,10 @@ app.controller('student_university_fee_compareCtrl', ["$scope", "toaster", "$fil
$scope.unMatchedLoadingStatus = false; $scope.unMatchedLoadingStatus = false;
// Get unmached details // Get unmached details
$scope.getUnmatchedRecord = function(ss){ $scope.getUnmatchedRecord = function(searchDetails){
$scope.unMatchedRecordDetails = ''; $scope.unMatchedRecordDetails = '';
$scope.unMatchedNoRecordFound = false; $scope.unMatchedNoRecordFound = false;
$scope.unMatchedLoadingStatus = true; $scope.unMatchedLoadingStatus = true;
var getDetailsFor = ss == 1 ? 'EnrolmentIDFile' : 'FormIDFile';
var getFeeCompareDetailsList = { var getFeeCompareDetailsList = {
method: 'POST', method: 'POST',
url: apiPoint.url + 'getUnmatchedRecordDetails/', url: apiPoint.url + 'getUnmatchedRecordDetails/',
@ -352,7 +298,7 @@ app.controller('student_university_fee_compareCtrl', ["$scope", "toaster", "$fil
}, },
data: { data: {
localDetails: localDetail, localDetails: localDetail,
getDetailsFor: getDetailsFor getDetailsFor: searchDetails
} }
}; };
$http(getFeeCompareDetailsList).then(function (response) { $http(getFeeCompareDetailsList).then(function (response) {
@ -394,6 +340,10 @@ app.controller('student_university_fee_compareCtrl', ["$scope", "toaster", "$fil
$scope.checkEnrolmentExistDetails=function (form,entryModel) { $scope.checkEnrolmentExistDetails=function (form,entryModel) {
$scope.semList=[]; $scope.semList=[];
$scope.studentInfo=[]; $scope.studentInfo=[];
if(entryModel=='' || entryModel==null || entryModel==undefined){
swal("Warning","Please enter enrolment id", "error");
}
else{
var getExistEnrol = { var getExistEnrol = {
method: 'POST', method: 'POST',
url: apiPoint.url + 'getExistStudentEnrolmentDetails/', url: apiPoint.url + 'getExistStudentEnrolmentDetails/',
@ -422,6 +372,8 @@ app.controller('student_university_fee_compareCtrl', ["$scope", "toaster", "$fil
} }
}); });
}
} }
/* /*
@ -430,6 +382,8 @@ app.controller('student_university_fee_compareCtrl', ["$scope", "toaster", "$fil
$scope.cancelManualEntry=function (form) { $scope.cancelManualEntry=function (form) {
$scope.semList=[]; $scope.semList=[];
$scope.enableEnrolment=!$scope.enableEnrolment; $scope.enableEnrolment=!$scope.enableEnrolment;
$scope.manualEnModel.sem="";
$scope.manualEnModel.formID="";
} }
/* /*
* submit manual entry form details * submit manual entry form details
@ -466,8 +420,8 @@ app.controller('student_university_fee_compareCtrl', ["$scope", "toaster", "$fil
if (response.data.status == true) { if (response.data.status == true) {
$scope.studentInfo=""; $scope.studentInfo="";
$scope.semList=[]; $scope.semList=[];
form.manualFormID.$setPristine(true); $scope.manualEnModel.sem="";
form.manualSem.$setPristine(true); $scope.manualEnModel.formID="";
swal("Success",response.data.message, "success"); swal("Success",response.data.message, "success");
} else { } else {
swal("Failed",response.data.message, "error"); swal("Failed",response.data.message, "error");
@ -476,11 +430,6 @@ app.controller('student_university_fee_compareCtrl', ["$scope", "toaster", "$fil
}); });
} }
} }
}]); }]);

View File

@ -27,6 +27,7 @@
<!-- {{feeInfo}} --> <!-- {{feeInfo}} -->
<div class="col-md-12"> <div class="col-md-12">
<!-- {{feeInfo}} -->
<div class="table-responsive"> <div class="table-responsive">
<table id="datatable" class="table table-hover"> <table id="datatable" class="table table-hover">
<thead> <thead>
@ -64,7 +65,7 @@
<textarea type="text" placeholder="Enter Reason" tabindex="7" class="form-control" name="Messagebody" ng-model="p.Reason" required></textarea> <textarea type="text" placeholder="Enter Reason" tabindex="7" class="form-control" name="Messagebody" ng-model="p.Reason" required></textarea>
</div> </div>
<div class="col-md-3" ng-if="p.IsActive==true"> <div class="col-md-3" ng-if="p.Deactive !=0">
<label> <label>
Active/De-Active Active/De-Active
</label> </label>

View File

@ -217,15 +217,15 @@
</ul> </ul>
</li> </li>
<li ui-sref-active="active"> <li ui-sref-active="active">
<a ui-sref="app.student.studentUnivFeeCompareDetails" ng-click="checkSuperAdmin()"> <a ui-sref="app.student.UnivFormEnroment" ng-click="checkSuperAdmin()">
<span class="title" translate="sidebar.nav.student.STUDENTFEEDETAILCOMPARE"> STUDENT UNIV FEE COMPARE DETAILS </span> <span class="title" translate="sidebar.nav.student.STUDENTFEEDETAILCOMPARE"> University Form Enrolment </span>
</a> </a>
</li> </li>
<li ui-sref-active="active"> <!--<li ui-sref-active="active">
<a ui-sref="app.student.studentUnivFormIdFeeDetails" ng-click="checkSuperAdmin()"> <a ui-sref="app.student.studentUnivFormIdFeeDetails" ng-click="checkSuperAdmin()">
<span class="title" translate="sidebar.nav.student.STUDENTFROMIDFEEDETAILS"> STUDENT FORMID FEE DETAILS </span> <span class="title" translate="sidebar.nav.student.STUDENTFROMIDFEEDETAILS"> STUDENT FORMID FEE DETAILS </span>
</a> </a>
</li> </li>-->
</ul> </ul>
</li> </li>
<!--<li ng-class="{'active open':$state.includes('app.call')}"> <!--<li ng-class="{'active open':$state.includes('app.call')}">

View File

@ -2,8 +2,8 @@
<section id="page-title"> <section id="page-title">
<div class="row"> <div class="row">
<div class="col-sm-8"> <div class="col-sm-8">
<h1 class="mainTitle" translate="Student University Fee">{{ mainTitle }}</h1> <h1 class="mainTitle" translate="Enrolment Details">{{ mainTitle }}</h1>
<span class="mainDescription">Student University Fee Compare Details. </span> <span class="mainDescription">Student Form Enrolment Details. </span>
</div> </div>
<div ncy-breadcrumb></div> <div ncy-breadcrumb></div>
</div> </div>
@ -82,10 +82,11 @@
</div> </div>
<div class="col-md-6 form-group"> <div class="col-md-6 form-group">
<button class="btn btn-sm btn-info" tabindex="4" style="float: left" ng-click="checkEnrolmentExistDetails(Form,manualEnModel.enrolmentNo);">Search</button> <button class="btn btn-sm btn-info" ng-disabled="!manualEnModel.enrolmentNo" tabindex="4" style="float: left" ng-click="checkEnrolmentExistDetails(Form,manualEnModel.enrolmentNo);">Search</button>
</div> </div>
</div> </div>
<div class="col-md-8" ng-if="semList.length!=0"> <div class="col-md-8" ng-if="semList.length!=0">
<div class="col-md-3 form-group" <div class="col-md-3 form-group"
ng-class="{'has-error':manualEnForm.manualSem.$dirty && manualEnForm.manualSem.$invalid, 'has-success':manualEnForm.manualSem.$valid}"> ng-class="{'has-error':manualEnForm.manualSem.$dirty && manualEnForm.manualSem.$invalid, 'has-success':manualEnForm.manualSem.$valid}">
<label> <label>
@ -101,7 +102,7 @@
ng-if="manualEnForm.manualSem.$dirty && manualEnForm.manualSem.$invalid">Sem is required</span> ng-if="manualEnForm.manualSem.$dirty && manualEnForm.manualSem.$invalid">Sem is required</span>
</div> </div>
<div class="col-md-8 form-group" ng-class="{'has-error':manualEnForm.manualFormID.$dirty && manualEnForm.manualFormID.$invalid, 'has-success':manualEnForm.manualFormID.$valid}"> <div class="col-md-5 form-group" ng-class="{'has-error':manualEnForm.manualFormID.$dirty && manualEnForm.manualFormID.$invalid, 'has-success':manualEnForm.manualFormID.$valid}">
<label> Form ID <span class="symbol required"></span> <label> Form ID <span class="symbol required"></span>
</label> </label>
@ -111,12 +112,31 @@
<span class="error text-small block" <span class="error text-small block"
ng-if="manualEnForm.manualFormID.$dirty && manualEnForm.manualFormID.$invalid">Form id is required</span> ng-if="manualEnForm.manualFormID.$dirty && manualEnForm.manualFormID.$invalid">Form id is required</span>
</div> </div>
<div class="col-md-4">
<div class="row">
<div class="col-md-12"> <div class="col-md-12">
<div class="pull-right"> <i class="ti-user"> <span class="text-green">{{studentInfo.StudentName}}</span></i>
<button tabindex="14" type="button" ng-click="manualEnrolmentSubmit(manualEnForm)" ladda="ldloading1.zoom_in" class="btn btn-wide btn-success" data-style="zoom-in">
</div>
<div class="col-md-12">
<i class="ti-book"> <span class="text-green">{{studentInfo.CourseName}}</span></i>
</div>
<div class="col-md-12">
<i class="ti-book"> <span class="text-green">{{studentInfo.UniversityName}}</span></i>
</div>
</div>
</div>
<div class="col-md-8">
<div class="pull-left">
<button tabindex="7" type="button" ng-click="manualEnrolmentSubmit(manualEnForm)" ladda="ldloading1.zoom_in" class="btn btn-wide btn-success" data-style="zoom-in">
Save Save
</button> </button>
<button type="button" class="btn btn-warning btn-wide" tabindex="15" <button type="button" class="btn btn-warning btn-wide" tabindex="8"
ng-click="cancelManualEntry(manualEnForm)"> ng-click="cancelManualEntry(manualEnForm)">
Cancel Cancel
</button> </button>
@ -135,36 +155,46 @@
</div> </div>
<div class="container-fluid container-fullw"> <div class="container">
<form name="Form" id="form" novalidate ng-submit="onSubmit()" method="post"> <form name="Form" id="form" novalidate ng-submit="onSubmit()" method="post">
<div class="row"> <div class="row">
<div class="col-md-3"> <div class="col-md-3">
<label for="form-field-select-2"> <label for="form-field-select-2">
University University <span class="symbol required"></span>
</label> </label>
<select class="form-control" tabindex="3" class="cs-select cs-skin-elastic" name="university" ng-model="myUnivSearch" ng-change="getUniveId(myUnivSearch)"> <select class="form-control" tabindex="9" class="cs-select cs-skin-elastic" name="university" ng-model="myUnivSearch" ng-change="getUniveId(myUnivSearch)">
<option value="" disabled selected>Select University</option> <option value="" disabled selected>Select University</option>
<option ng-repeat="item in universitySearchData" value="{{item}}">{{item.UniversityName}}</option> <option ng-repeat="item in universitySearchData" value="{{item}}">{{item.univName}}</option>
</select> </select>
</div> </div>
<div class="col-md-3"> <div class="col-md-3">
<label for="form-field-select-2"> <label for="form-field-select-2">
Session Course
</label> </label>
<select ui-select2 class="form-control" tabindex="4" class="cs-select cs-skin-elastic" name="session" ng-model="searchData.Session"> <select ui-select2 class="form-control" tabindex="10" class="cs-select cs-skin-elastic" name="serachCourse" id="serachCourse" ng-model="searchData.Course">
<option value="" selected>Select Session</option> <option value="" selected>Select Course</option>
<option ng-repeat="itemSession in sessionData" value="{{itemSession.SessionID}}">{{itemSession.SessionName}}</option> <option ng-repeat="itemcourse in serachCourseData" value="{{itemcourse.CourseName}}">{{itemcourse.CourseName}}</option>
</select> </select>
</div> </div>
<div class="col-md-2 form-group">
<label for="form-field-select-2">
Sem
</label>
<select class="form-control" tabindex="11" class="cs-select cs-skin-elastic" name="matchmatchSemSearch" id="matchmatchSemSearch" ng-model="searchData.Sem">
<option value="" selected>Select Sem</option>
<option ng-repeat="semD in semDetails" value="{{semD}}">{{semD}}</option>
</select>
</div>
<div class="col-md-2" style="padding-top: 2.3%;"> <div class="col-md-2" style="padding-top: 2.3%;">
<div class="pull-right"> <div class="pull-right">
<button ng-disabled="searchData.Session == '' || searchData.University == ''" type="submit" class="btn btn-success btn-o" tabindex="8"> <button ng-disabled="searchData.University == ''" type="submit" class="btn btn-success btn-o" tabindex="12">
Submit Submit
</button> </button>
@ -174,6 +204,7 @@
</form> </form>
</div> </div>
<div> <div>
<!--{{data | json}}--> <!--{{data | json}}-->
<div ng-if="Searchloader"> <div ng-if="Searchloader">
@ -262,68 +293,43 @@
</div> </div>
</div> </div>
</tab> </tab>
<tab tabindex="2" active="tabactive2" ng-click="tabActive('tabactive2')" heading="Upload Files" id="uploadFiles"> <tab tabindex="13" active="tabactive2" ng-click="tabActive('tabactive2')" heading="Unmatched Records" id="unmatchedRecord">
<div class="container-fluid">
<div class="row"> <div class="col-md-3 form-group">
<div class="col-md-4 form-group"> <label for="form-field-select-2">
<label>
University <span class="symbol required"></span> University <span class="symbol required"></span>
</label> </label>
<select class="form-control" tabindex="1" name="formUniversity" ng-model="uploadModel.university" required>
<option value="" selected>Select University</option> <select class="form-control" tabindex="14" class="cs-select cs-skin-elastic" name="mismatchUniv" ng-model="misMatchUnivSearch" ng-change="getMisMatchUnivId(misMatchUnivSearch)">
<option ng-repeat="univ in universitySearchData" value="{{univ}}">{{univ.UniversityName}}</option> <option value="" disabled selected>Select University</option>
<option ng-repeat="item in universitySearchData" value="{{item}}">{{item.univName}}</option>
</select> </select>
</div> </div>
<div class="col-md-4 form-group">
<label>
Upload For <span class="symbol required"></span> <div class="col-md-3 form-group">
<label for="form-field-select-2">
Course
</label> </label>
<select class="form-control" name="uploadFor" tabindex="2" id="uploadFor" <select class="form-control" tabindex="15" class="cs-select cs-skin-elastic" name="mismatchCourseSearch" id="mismatchCourseSearch" ng-model="misMatchsSearchData.Course">
ng-model="uploadModel.uploadFor" <option value="" selected>Select Course</option>
ng-options="upload.id as upload.name for upload in uploadOptions" <option ng-repeat="mcourse in misMatchCourseData" value="{{mcourse.CourseName}}">{{mcourse.CourseName}}</option>
required>
<option value=""> Select</option>
</select> </select>
</div> </div>
<div class="col-md-3 form-group" ng-if="showFile=='1'"> <div class="col-md-2 form-group">
<fieldset> <label for="form-field-select-2">
<js-xls onread="readXlsxDetails" onerror="error"></js-xls> Sem
<button type="button" class="btn btn-success btn-o" style="float: right" ng-click="receiveEnrolmentDetails(extractDetails,uploadModel)"> Submit</button>
</fieldset>
</div>
<div class="col-md-3 form-group" ng-if="showFile=='2'">
<fieldset>
<js-xls onread="readXlsxFormDetails" onerror="error"></js-xls>
<button type="button" class="btn btn-success btn-o" style="float: right" ng-click="receiveFormIdFeeDetails(extractFormIDDetails)"> Submit</button>
</fieldset>
</div>
</div>
</div>
</tab>
<tab tabindex="3" active="tabactive3" ng-click="tabActive('tabactive3')" heading="Unmatched Records" id="unmatchedRecord">
<div class="container">
<div class="row">
<div class="col-md-4 form-group">
<label>
Upload For <span class="symbol required"></span>
</label> </label>
<select class="form-control" name="uploadFor" tabindex="2" id="uploadFor" <select class="form-control" tabindex="16" class="cs-select cs-skin-elastic" name="mismatchSemSearch" id="mismatchSemSearch" ng-model="misMatchsSearchData.Sem">
ng-model="getUnmatchedDetailsFor" <option value="" selected>Select Sem</option>
ng-options="upload.id as upload.name for upload in uploadOptions" <option ng-repeat="semD in semDetails" value="{{semD}}">{{semD}}</option>
required>
<option value=""> Select</option>
</select> </select>
</div> </div>
</div>
</div> <div class="col-md-2" style="margin-top: 20px;">
<div class="container"> <button class="btn btn-success" ng-disabled="!misMatchUnivSearch" ng-click="getUnmatchedRecord(misMatchsSearchData)">Get Record</button>
<button class="btn btn-success" ng-disabled="!getUnmatchedDetailsFor" ng-click="getUnmatchedRecord(getUnmatchedDetailsFor)">Get Record</button>
</div> </div>
<div class="container"> <div class="container">
<div ng-if="unMatchedLoadingStatus"> <div ng-if="unMatchedLoadingStatus">
@ -339,71 +345,80 @@
<thead> <thead>
<th>FormID</th> <th>FormID</th>
<th>EnrolmentNo</th> <th>EnrolmentNo</th>
<th>RollNo</th> <th>SemesterYear</th>
<th>CentreCode</th>
<th>CentreState</th>
<th>MobileNumber</th> <th>MobileNumber</th>
<th>StudentName</th> <th>StudentName</th>
<th>FatherName</th>
<th>MotherName</th>
<th>EmailID</th>
<th>UniversityCode</th> <th>UniversityCode</th>
<th>UniversityName</th> <th>UniversityName</th>
<th>CourseCode</th> <th>CourseCode</th>
<th>CourseName</th> <th>CourseName</th>
<th>SemesterYear</th> <!--<th>RollNo</th>
<th>CentreCode</th>
<th>CentreState</th>-->
<th>FatherName</th>
<th>MotherName</th>
<th>EmailID</th>
</thead> </thead>
<tbody dir-paginate="p in unMatchedRecordDetails|orderBy:sortKey:reverse|filter:search:strict|itemsPerPage:10| filter:query as results"> <tbody dir-paginate="p in unMatchedRecordDetails|orderBy:sortKey:reverse|filter:search:strict|itemsPerPage:10| filter:query as results">
<tr> <tr>
<td>{{p.FormID}}</td> <td>{{p.FormID}}</td>
<td>{{p.EnrolmentNo}}</td> <td ng-if="p.EnromentStatus==true">{{p.EnrolmentNo}}</td>
<td>{{p.RollNo}}</td> <td ng-if="p.EnromentStatus==false"><span class="text-red"><b>{{p.EnrolmentNo}}</b></span></td>
<td>{{p.CentreCode}}</td> <td ng-if="p.SemStatus==true">{{p.SemesterYear}}</td>
<td>{{p.CentreState}}</td> <td ng-if="p.SemStatus==false"><span class="text-red"><b>{{p.SemesterYear}}</b></span></td>
<td>{{p.MobileNumber}}</td> <td>{{p.MobileNumber}}</td>
<td>{{p.StudentName}}</td> <td>{{p.StudentName}}</td>
<td>{{p.FatherName}}</td>
<td>{{p.MotherName}}</td>
<td>{{p.EmailID}}</td>
<td>{{p.UniversityCode}}</td> <td>{{p.UniversityCode}}</td>
<td>{{p.UniversityName}}</td> <td>{{p.UniversityName}}</td>
<td>{{p.CourseCode}}</td> <td>{{p.CourseCode}}</td>
<td>{{p.CourseName}}</td> <td>{{p.CourseName}}</td>
<td>{{p.SemesterYear}}</td> <!-- <td>{{p.RollNo}}</td>
</tr>
</tbody>
</table>
<dir-pagination-controls max-size="10" direction-links="true" boundary-links="true">
</dir-pagination-controls>
</div>
<div ng-if="unMatchedRecordDetailsType == 'FormIDFile'">
<table class="table table-border table-hover" >
<thead>
<th>FormID</th>
<th>FormType</th>
<th>CentreCode</th>
<th>CourseCode</th>
<th>ActualCourseFee</th>
<th>CourseFee</th>
<th>Amount</th>
</thead>
<tbody dir-paginate="p in unMatchedRecordDetails|orderBy:sortKey:reverse|filter:search:strict|itemsPerPage:10| filter:query as results">
<tr>
<td>{{p.FormID}}</td>
<td>{{p.FormType}}</td>
<td>{{p.CentreCode}}</td> <td>{{p.CentreCode}}</td>
<td>{{p.CourseCode}}</td> <td>{{p.CentreState}}</td>-->
<td>{{p.ActualCourseFee}}</td>
<td>{{p.CourseFee}}</td> <td>{{p.FatherName}}</td>
<td>{{p.Amount}}</td> <td>{{p.MotherName}}</td>
<td>{{p.EmailID}}</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
<dir-pagination-controls max-size="10" direction-links="true" boundary-links="true"> <dir-pagination-controls max-size="10" direction-links="true" boundary-links="true">
</dir-pagination-controls> </dir-pagination-controls>
</div> </div>
</div> </div>
</tab> </tab>
<tab tabindex="17" active="tabactive3" ng-click="tabActive('tabactive3')" heading="Upload Files" id="uploadFiles">
<div class="container-fluid">
<div class="row">
<div class="col-md-4 form-group">
<label>
University <span class="symbol required"></span>
</label>
<select class="form-control" tabindex="18" name="formUniversity" ng-model="uploadModel.university" required>
<option value="" selected>Select University</option>
<option ng-repeat="univ in universitySearchData" value="{{univ}}">{{univ.univName}}</option>
</select>
</div>
<div class="col-md-3 form-group" ng-if="showFile=='1'">
<fieldset>
<js-xls onread="readXlsxDetails" onerror="error"></js-xls>
<button type="button" class="btn btn-success btn-o" style="float: right" ng-click="receiveEnrolmentDetails(extractDetails,uploadModel)"> Submit</button>
</fieldset>
</div>
</div>
</div>
</tab>
</tabset> </tabset>
</div> </div>

View File

@ -202,6 +202,154 @@
</tab> </tab>
<tab tabindex="2" active="subTabactive2" ng-click="subTabActive('subTabactive2')" heading="Upload Data Manualy" id="uploadDataManualy"> <tab tabindex="2" active="subTabactive2" ng-click="subTabActive('subTabactive2')" heading="Upload Data Manualy" id="uploadDataManualy">
<div class="container-fluid"> <div class="container-fluid">
<div class="container">
<div class="table-responsive">
<table class="table">
<thead>
<th>FormID</th>
<th>FormType</th>
<th>CentreCode</th>
<th>Session</th>
<th>Year</th>
<th>Semester</th>
<th>Student_Name</th>
<th>Father_Name</th>
<th>CourseCode</th>
<th>ActualCourseFee</th>
<th>CourseFee</th>
<th>ExamFee</th>
<th>EnrollmentFee</th>
<th>ProspectusFee</th>
<th>ReRegFee</th>
<th>CreditTransferFee</th>
<th>LateralEntryFee</th>
<th>DualSpclFee</th>
<th>OtherFee</th>
<th>NRIFEE</th>
<th>ProvisionalFee</th>
<th>MigrationFee</th>
<th>UrgentResultDMCFee</th>
<th>AdditionalFee</th>
<th>Amount</th>
</thead>
<tbody>
<tr>
<td>
<input type="text" required ng-model="draftManualEntryDetails.FormID">
</td>
<td><select ng-model="draftManualEntryDetails.FormType" ng-disabled="!draftManualEntryDetails.FormID">
<option value="NEW"> NEW </option>
<option value="RE"> RE </option>
</select>
</td>
<td><input type="text" ng-model="draftManualEntryDetails.CentreCode" ng-disabled="!draftManualEntryDetails.FormID"></td>
<td><input type="text" ng-model="draftManualEntryDetails.Session" ng-disabled="!draftManualEntryDetails.FormID"></td>
<td><input type="text" ng-model="draftManualEntryDetails.Year" ng-disabled="!draftManualEntryDetails.FormID"></td>
<td><input type="text" ng-model="draftManualEntryDetails.Semester" ng-disabled="!draftManualEntryDetails.FormID"></td>
<td><input type="text" ng-model="draftManualEntryDetails.Student_Name" ng-disabled="!draftManualEntryDetails.FormID"></td>
<td><input type="text" ng-model="draftManualEntryDetails.Father_Name" ng-disabled="!draftManualEntryDetails.FormID"></td>
<td><input type="text" ng-model="draftManualEntryDetails.CourseCode" ng-disabled="!draftManualEntryDetails.FormID"></td>
<td><input type="text" ng-model="draftManualEntryDetails.ActualCourseFee"
ng-disabled="!draftManualEntryDetails.FormID"></td>
<td><input type="text" ng-model="draftManualEntryDetails.CourseFee" ng-disabled="!draftManualEntryDetails.FormID"></td>
<td><input type="text" ng-model="draftManualEntryDetails.ExamFee" ng-disabled="!draftManualEntryDetails.FormID"></td>
<td><input type="text" ng-model="draftManualEntryDetails.EnrollmentFee" ng-disabled="!draftManualEntryDetails.FormID"></td>
<td><input type="text" ng-model="draftManualEntryDetails.ProspectusFee" ng-disabled="!draftManualEntryDetails.FormID"></td>
<td><input type="text" ng-model="draftManualEntryDetails.ReRegFee" ng-disabled="!draftManualEntryDetails.FormID"></td>
<td><input type="text" ng-model="draftManualEntryDetails.CreditTransferFee"
ng-disabled="!draftManualEntryDetails.FormID"></td>
<td><input type="text" ng-model="draftManualEntryDetails.LateralEntryFee"
ng-disabled="!draftManualEntryDetails.FormID"></td>
<td><input type="text" ng-model="draftManualEntryDetails.DualSpclFee" ng-disabled="!draftManualEntryDetails.FormID"></td>
<td><input type="text" ng-model="draftManualEntryDetails.OtherFee" ng-disabled="!draftManualEntryDetails.FormID"></td>
<td><input type="text" ng-model="draftManualEntryDetails.NRIFEE" ng-disabled="!draftManualEntryDetails.FormID"></td>
<td><input type="text" ng-model="draftManualEntryDetails.ProvisionalFee"
ng-disabled="!draftManualEntryDetails.FormID"></td>
<td><input type="text" ng-model="draftManualEntryDetails.MigrationFee" ng-disabled="!draftManualEntryDetails.FormID"></td>
<td><input type="text" ng-model="draftManualEntryDetails.UrgentResultDMCFee"
ng-disabled="!draftManualEntryDetails.FormID"></td>
<td><input type="text" ng-model="draftManualEntryDetails.AdditionalFee" ng-disabled="!draftManualEntryDetails.FormID"></td>
<td><input type="text" ng-model="draftManualEntryDetails.Amount" ng-disabled="!draftManualEntryDetails.FormID"></td>
</tr>
</tbody>
</table>
</div>
<button class="btn btn-success pull-right" ng-disabled="!draftManualEntryDetails.FormID" ng-click="addManualData()">Add</button>
</div>
<div class="container">
<div ng-if="draftListDetailsLoading">
Loading...
</div>
</div>
<div class="container">
<div ng-if="draftListDetails && !draftListDetailsLoading" class="table-responsive">
<table class="table table-border table-hover">
<thead>
<th>FormID</th>
<th>FormType</th>
<th>CentreCode</th>
<th>Session</th>
<th>Year</th>
<th>Semester</th>
<th>Student Name</th>
<th>Father Name</th>
<th>CourseCode</th>
<th>ActualCourseFee</th>
<th>CourseFee</th>
<th>ExamFee</th>
<th>EnrollmentFee</th>
<th>ProspectusFee</th>
<th>ReRegFee</th>
<th>CreditTransferFee</th>
<th>LateralEntryFee</th>
<th>DualSpclFee</th>
<th>OtherFee</th>
<th>NRIFEE</th>
<th>ProvisionalFee</th>
<th>MigrationFee</th>
<th>UrgentResultDMCFee</th>
<th>AdditionalFee</th>
<th>Amount</th>
<th>Action</th>
</thead>
<tbody dir-paginate="p in draftListDetails|orderBy:sortKey:reverse|filter:search:strict|itemsPerPage:10| filter:query as results">
<tr>
<td>{{p.FormID}}</td>
<td>{{p.FormType}}</td>
<td>{{p.CentreCode}}</td>
<td>{{p.Session}}</td>
<td>{{p.Year}}</td>
<td>{{p.Semester}}</td>
<td>{{p.Student_Name}}</td>
<td>{{p.Father_Name}}</td>
<td>{{p.CourseCode}}</td>
<td>{{p.ActualCourseFee}}</td>
<td>{{p.CourseFee}}</td>
<td>{{p.ExamFee}}</td>
<td>{{p.EnrollmentFee}}</td>
<td>{{p.ProspectusFee}}</td>
<td>{{p.ReRegFee}}</td>
<td>{{p.CreditTransferFee}}</td>
<td>{{p.LateralEntryFee}}</td>
<td>{{p.DualSpclFee}}</td>
<td>{{p.OtherFee}}</td>
<td>{{p.NRIFEE}}</td>
<td>{{p.ProvisionalFee}}</td>
<td>{{p.MigrationFee}}</td>
<td>{{p.UrgentResultDMCFee}}</td>
<td>{{p.AdditionalFee}}</td>
<td>{{p.Amount}}</td>
<td>
<i class="ti-user" tooltip="Add To List" ng-click="addToList(p.ID);"></i>
</td>
</tr>
</tbody>
</table>
<dir-pagination-controls max-size="10" direction-links="true" boundary-links="true">
</dir-pagination-controls>
</div>
</div>
<!--<div class="row"> <!--<div class="row">
<div class="col-md-4 form-group"> <div class="col-md-4 form-group">
<label> <label>