university formid details changes : kdk

This commit is contained in:
dineshkumarkannan 2018-09-10 10:34:59 +05:30
parent 9c49567609
commit 4aa5332c38
4 changed files with 307 additions and 255 deletions

View File

@ -273,6 +273,8 @@ class Receive_Enrolment_Fees_Univ_Controller extends REST_Controller {
}
}
// get formid draft mode list details
// kdk
public function getForFormIdDraftDetails_post(){
$reqBranch = $this->post('localDetails');
$getForFormIdDraftDetails = $this->receive_model->getForFormIdDraftDetails(); // Check if the employee exist
@ -288,6 +290,8 @@ class Receive_Enrolment_Fees_Univ_Controller extends REST_Controller {
}
}
// add formid manual details form the university and draftmode
// kdk
public function addForFormIdDraftDetails_post(){
$reqBranch = $this->post('localDetails');
$details = $this->post('details');
@ -306,6 +310,8 @@ class Receive_Enrolment_Fees_Univ_Controller extends REST_Controller {
}
}
// manual formid entry draft details move to the list details
// kdk
public function draftMovetoList_post(){
$reqBranch = $this->post('localDetails');
$details = $this->post('details');
@ -322,6 +328,8 @@ class Receive_Enrolment_Fees_Univ_Controller extends REST_Controller {
}
}
// edit draft mode formid manul entry details
// kdk
public function editDraftFormIdFeesDetails_post(){
$reqBranch = $this->post('localDetails');
$details = $this->post('details');
@ -341,7 +349,8 @@ class Receive_Enrolment_Fees_Univ_Controller extends REST_Controller {
}
}
// get formid fee details list with status
// get formid , fee details form the file upload for the university , course, student
// kdk
public function getStudentUnivFormIdFeeDatailsList_post(){
$reqBranchData = $this->post('data');
$searchDetails = $this->post('search');
@ -359,6 +368,8 @@ class Receive_Enrolment_Fees_Univ_Controller extends REST_Controller {
}
}
// get formid status list for that particular record
// kdk
public function getFormIdDetailsStatusUpdateList_post(){
$reqBranchData = $this->post('localDetails');
$statusDetailsId = $this->post('detailsID');
@ -376,6 +387,8 @@ class Receive_Enrolment_Fees_Univ_Controller extends REST_Controller {
}
}
// add formid list file status list for that record
// kdk
public function insertStatusUpdateDetails_post(){
$reqBranchData = $this->post('localDetails');
$statusDetails = $this->post('details');
@ -413,6 +426,8 @@ class Receive_Enrolment_Fees_Univ_Controller extends REST_Controller {
}
}
// get unmatched records of the formid file details , compare with file 1
// kdk
public function getUnmatchedFormIdFeesDetails_post(){
$localDetails = $this->post('localDetails');
$getDetailsFor = $this->post('getDetailsFor');
@ -430,6 +445,8 @@ class Receive_Enrolment_Fees_Univ_Controller extends REST_Controller {
}
}
// add fromid university amount details to account state
// kdk
public function addToAccountStateList_post(){
$localDetails = $this->post('localDetails');
$getDetailsFor = $this->post('details');

View File

@ -367,7 +367,8 @@ class Receive_Enrolment_Fees_Univ_model extends CI_Model {
return $finalArray;
}
// add student formid feedetails from the university by file upload , with check the unique entry
// kdk
public function formIdFeeDetails($formFeeDetails=null,$local=null, $univ =null){
$localBranchID = $local['localBranchID'];
$localUserID = $local['localUserID'];
@ -890,6 +891,8 @@ class Receive_Enrolment_Fees_Univ_model extends CI_Model {
return $resultArray;
}
// get formid draft mode list details
// kdk
public function getForFormIdDraftDetails(){
$selectQuery = "SELECT * FROM T_FormId_FeeDetails_Received_From_University WHERE DraftStatus = 1";
$details = $this->db->query($selectQuery);
@ -906,6 +909,8 @@ class Receive_Enrolment_Fees_Univ_model extends CI_Model {
return $result;
}
// add formid manual details form the university and draftmode
// kdk
public function addForFormIdDraftDetails($details, $local, $univ =null){
$localBranchID = $local['localBranchID'];
@ -988,6 +993,8 @@ class Receive_Enrolment_Fees_Univ_model extends CI_Model {
return $result;
}
// manual formid entry draft details move to the list details
// kdk
public function draftMovetoList($detail, $local){
// print_r($details);exit();
@ -1016,6 +1023,8 @@ class Receive_Enrolment_Fees_Univ_model extends CI_Model {
return $result;
}
// edit draft mode formid manul entry details
// kdk
public function editDraftFormIdFeesDetails($reqBranch, $details, $detailsID){
$ids = $detailsID;
$formIds = $details['FormID'];
@ -1085,6 +1094,8 @@ $result['updatedraftStatus'] = false;
return $result;
}
// get formid , fee details form the file upload for the university , course, student
// kdk
public function getStudentUnivFormIdFeeDatailsList($reqBranchData, $searchDetails){
$this->db->select('FUD.*, concat(ST.FirstName," ", ST.Lastname) as app_StudentName, IF(concat(ST.FirstName," " , ST.Lastname) = FUD.Student_Name, "YES", "NO") as StudentNameStatus ,
@ -1154,6 +1165,8 @@ $result['updatedraftStatus'] = false;
}
// get formid status list for that particular record
// kdk
public function getFormIdDetailsStatusUpdateList($reqBranchData, $searchDetails){
$selectQuery = "SELECT * , concat(t3.Firstname, '', t3.Lastname) as CreatedByName
FROM T_FormId_FeeDetails_Received_From_University_StatusUpdate as t1
@ -1174,6 +1187,8 @@ $result['updatedraftStatus'] = false;
return $result;
}
// add formid list file status list for that record
// kdk
public function insertStatusUpdateDetails($reqBranchData, $statusDetails, $id, $formId ){
$newLeadDetails['FormIdDetailsID'] = $id;
@ -1194,7 +1209,8 @@ $result['updatedraftStatus'] = false;
return $result;
}
// get university list
// get university list for search
// kdk
public function get_university_list($branch) {
$this->db->select('UniversityID, UniversityName');
$this->db->order_by('CreatedOn', 'DESC');
@ -1213,6 +1229,8 @@ $result['updatedraftStatus'] = false;
return $results;
}
// get unmatched records of the formid file details , compare with file 1
// kdk
public function getUnmatchedFormIdFeesDetails($localDetails, $getDetailsFor) {
$searchUniv = $getDetailsFor['univCode'];
@ -1237,6 +1255,8 @@ $result['updatedraftStatus'] = false;
return $resultArr;
}
// Add formid , university amount payment details to the account state
// kdk
public function addFormIdListToAccountState($localDetails, $getDetailsFor){
$localCreatedBy = $localDetails['localUserID'];
$time = date('Y-m-d H:i:s');

View File

@ -1,7 +1,6 @@
'use strict';
/**
* controllers for ng-table
* Simple table with sorting and filtering on AngularJS
* Student University Formid, Fee details compare
* kdk
*/
@ -89,7 +88,7 @@ app.controller('studentUnivFormIdFeeDetailsCtrl', ["$scope", "toaster", "$filter
});
};
$scope.semDetails=["1","2","3","4","5","6","7","8"];
$scope.semDetails = ["1", "2", "3", "4", "5", "6", "7", "8"];
$scope.searchData = {
"University": "",
@ -164,15 +163,15 @@ app.controller('studentUnivFormIdFeeDetailsCtrl', ["$scope", "toaster", "$filter
}
}
$scope.myObj = {
$scope.myObj = {
// "color" : "green",
"font-size" : "inherit"
"font-size": "inherit"
}
$scope.myObjErr = {
$scope.myObjErr = {
"text-decoration": "underline",
"text-decoration-color": "red",
"font-size" : "inherit"
"font-size": "inherit"
}
$scope.editId = -1;
@ -296,7 +295,7 @@ app.controller('studentUnivFormIdFeeDetailsCtrl', ["$scope", "toaster", "$filter
});
}
$scope.formIdMissMatchUnivSelectID = {
'univCode': ''
};
@ -334,8 +333,8 @@ app.controller('studentUnivFormIdFeeDetailsCtrl', ["$scope", "toaster", "$filter
// get subtab details for the formid fee details get form the university
$scope.subTabActive= function(tab){
if( tab == 'subTabactive2'){
$scope.subTabActive = function (tab) {
if (tab == 'subTabactive2') {
getDraftFormIdDetails();
}
}
@ -345,14 +344,14 @@ app.controller('studentUnivFormIdFeeDetailsCtrl', ["$scope", "toaster", "$filter
'FormID': '',
'FormType': 'NEW',
'CentreCode': '',
'Session':'',
'Year':'',
'Semester':'',
'Student_Name':'',
'Father_Name':'',
'CourseCode':'',
'ActualCourseFee':'0',
'CourseFee':'0',
'Session': '',
'Year': '',
'Semester': '',
'Student_Name': '',
'Father_Name': '',
'CourseCode': '',
'ActualCourseFee': '0',
'CourseFee': '0',
'ExamFee': '0',
'EnrollmentFee': '0',
'ProspectusFee': '0',
@ -361,7 +360,7 @@ app.controller('studentUnivFormIdFeeDetailsCtrl', ["$scope", "toaster", "$filter
'LateralEntryFee': '0',
'DualSpclFee': '0',
'OtherFee': '0',
'NRIFEE':'0',
'NRIFEE': '0',
'ProvisionalFee': '0',
'MigrationFee': '0',
'UrgentResultDMCFee': '0',
@ -369,12 +368,12 @@ app.controller('studentUnivFormIdFeeDetailsCtrl', ["$scope", "toaster", "$filter
'Amount': '0'
}
$scope.draftListDetails = '';
$scope.draftListDetailsNoRecordFound = false;
$scope.draftListDetailsLoading = false;
// get draft form id details
function getDraftFormIdDetails(){
function getDraftFormIdDetails() {
$scope.draftListDetailsLoading = true;
$scope.draftListDetailsNoRecordFound = false;
$scope.draftListDetails = '';
@ -402,8 +401,8 @@ app.controller('studentUnivFormIdFeeDetailsCtrl', ["$scope", "toaster", "$filter
// manual entry details add
$scope.addManualData = function() {
alert(JSON.stringify($scope.draftManualEntryDetails));
$scope.addManualData = function () {
// alert(JSON.stringify($scope.draftManualEntryDetails));
var addDraftDetailsList = {
method: 'POST',
@ -413,7 +412,7 @@ app.controller('studentUnivFormIdFeeDetailsCtrl', ["$scope", "toaster", "$filter
},
data: {
localDetails: localDetail,
details : $scope.draftManualEntryDetails,
details: $scope.draftManualEntryDetails,
univ: $scope.formUploadUnivSelectID
}
};
@ -430,93 +429,96 @@ app.controller('studentUnivFormIdFeeDetailsCtrl', ["$scope", "toaster", "$filter
});
}
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'
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;
}
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
// add draft details to list
$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;
}
};
$http(draftMoveToList).then(function (response) {
if (response.data.draftStatus == true) {
// alert();
swal("", response.data.draftDetailsMessagae, "success");
getDraftFormIdDetails();
} else {
swal("", response.data.draftDetailsMessagae, "warning");
}});
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) {
// alert();
swal("", response.data.draftDetailsMessagae, "success");
getDraftFormIdDetails();
} else {
swal("", response.data.draftDetailsMessagae, "warning");
}
});
} else {
swal("Cancelled", "Your record not added to list :)", "error");
swal("Cancelled", "Your record not added to list :)", "error");
}
});
}
$scope.editId = -1;
$scope.leader = {};
$scope.editList = function(details, d){
$scope.editList = function (details, d) {
$scope.leader = {};
angular.copy(d, $scope.leader);
$scope.editId = details;
}
$scope.updateFeeIDDetails = function(id, p){
// update feeid details in draft mode
$scope.updateFeeIDDetails = function (id, p) {
var editDraftMoveToList = {
method: 'POST',
url: apiPoint.url + 'editDraftFormIdFeesDetails/',
@ -525,7 +527,7 @@ $scope.draftManualEntryDetails = {
},
data: {
localDetails: localDetail,
details : p,
details: p,
detailsID: id
}
};
@ -535,27 +537,29 @@ $scope.draftManualEntryDetails = {
swal("", response.data.updatedraftDetailsMessagae, "success");
getDraftFormIdDetails();
$scope.editId = -1;
$scope.leader = {};
$scope.leader = {};
} else {
swal("", response.data.updatedraftDetailsMessagae, "warning");
}});
}
});
}
$scope.statusUpdateEditId = -1;
$scope.statusUpdate = function(id){
$scope.statusUpdate = function (id) {
$scope.statusUpdateEditId = id;
$scope.statusUpdateFormIdDetails = {
$scope.statusUpdateFormIdDetails = {
"Status": "",
"Comments": ""
}
}
$scope.StatusListDetails = '';
$scope.StatusListDetails = '';
$scope.getFormIdDetailsStatusListLoading = false;
$scope.getFormIdDetailsStatusList = function(id){
// formid records status details
$scope.getFormIdDetailsStatusList = function (id) {
$scope.getFormIdDetailsStatusListLoading = true;
var getFormIdDetailsStatusList = {
method: 'POST',
@ -565,18 +569,19 @@ $scope.draftManualEntryDetails = {
},
data: {
localDetails: localDetail,
detailsID : id
detailsID: id
}
};
$http(getFormIdDetailsStatusList).then(function (response) {
if (response.data.formIdstatusListStatus == true) {
$scope.getFormIdDetailsStatusListLoading = false;
$scope.getFormIdDetailsStatusListLoading = false;
$scope.StatusListDetails = response.data.formIdstatusListDetails;
} else {
$scope.getFormIdDetailsStatusListLoading = false;
$scope.getFormIdDetailsStatusListLoading = false;
$scope.StatusListDetails = response.data.formIdstatusListDetails;
$scope.StatusListDetailsApiMessage = response.data.formIdstatusListMessagae;
}});
}
});
}
$scope.statusUpdateFormIdDetails = {
@ -584,14 +589,16 @@ $scope.draftManualEntryDetails = {
"Comments": ""
}
$scope.resetStatusUpdateForm = function(){
$scope.statusUpdateFormIdDetails = {
$scope.resetStatusUpdateForm = function () {
$scope.statusUpdateFormIdDetails = {
"Status": "",
"Comments": ""
}
}
$scope.addStatusUpdateDetails = function(id, formId){
// add status for the formid record details
// kdk
$scope.addStatusUpdateDetails = function (id, formId) {
var addStatusUpdateDetailsStatusList = {
method: 'POST',
url: apiPoint.url + 'insertStatusUpdateDetails/',
@ -600,69 +607,73 @@ $scope.draftManualEntryDetails = {
},
data: {
localDetails: localDetail,
details : $scope.statusUpdateFormIdDetails,
details: $scope.statusUpdateFormIdDetails,
id: id,
formId : formId
formId: formId
}
};
$http(addStatusUpdateDetailsStatusList).then(function (response) {
if (response.data.insertStatusUpdateDetailsStatus == true) {
$scope.statusUpdateFormIdDetails = {
"Status": "",
"Comments": ""
}
$scope.statusUpdateEditId = -1;
swal("", response.data.insertStatusUpdateDetailsMessagae, "success");
} else {
swal("", response.data.insertStatusUpdateDetailsMessagae, "success");
$scope.statusUpdateFormIdDetails = {
"Status": "",
"Comments": ""
}
$scope.statusUpdateEditId = -1;
swal("", response.data.insertStatusUpdateDetailsMessagae, "success");
} else {
swal("", response.data.insertStatusUpdateDetailsMessagae, "success");
// $scope.getFormIdDetailsStatusListLoading = false;
// $scope.StatusListDetails = response.data.formIdstatusListDetails;
// $scope.StatusListDetailsApiMessage = response.data.formIdstatusListMessagae;
}});
}
});
}
$scope.addToAccountState = function(id){
// add formid list details to account state
// kdk
$scope.addToAccountState = function (id) {
swal({
title: "Are you sure?",
text: "You Want to Add this Record to Account State 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;
}
let itemGetID = new getUpdateDetails(id);
selectedItems.push(itemGetID);
var addToAccountStateList = {
method: 'POST',
url: apiPoint.url + 'addToAccountStateList/',
headers: {
'Content-Type': 'application/json'
},
data: {
localDetails: localDetail,
details : selectedItems
swal({
title: "Are you sure?",
text: "You Want to Add this Record to Account State 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;
}
};
$http(addToAccountStateList).then(function (response) {
if (response.data.accountStateMoveStatus == true) {
swal("", response.data.accountStateMoveMessagae, "success");
$scope.onSubmit();
} else {
swal("", response.data.accountStateMoveMessagae, "warning");
}});
let itemGetID = new getUpdateDetails(id);
selectedItems.push(itemGetID);
var addToAccountStateList = {
method: 'POST',
url: apiPoint.url + 'addToAccountStateList/',
headers: {
'Content-Type': 'application/json'
},
data: {
localDetails: localDetail,
details: selectedItems
}
};
$http(addToAccountStateList).then(function (response) {
if (response.data.accountStateMoveStatus == true) {
swal("", response.data.accountStateMoveMessagae, "success");
$scope.onSubmit();
} else {
swal("", response.data.accountStateMoveMessagae, "warning");
}
});
} else {
swal("Cancelled", "Your record not added to list :)", "error");
swal("Cancelled", "Your record not added to list :)", "error");
}
});
}

View File

@ -5,7 +5,7 @@
<h1 class="mainTitle" translate="Student FormId Fees Details">{{ mainTitle }}</h1>
<span class="mainDescription">Student University FormId Fees Details. </span>
</div>
<!-- <div ncy-breadcrumb></div>-->
<!-- <div ncy-breadcrumb></div>-->
</div>
</section>
<!-- end: STUDENT TITLE -->
@ -105,7 +105,7 @@
<table class="table table-hover">
<thead>
<tr>
<th> Action
<th> Action
</th>
<th> FormID
</th>
@ -147,23 +147,23 @@
</th>
<th> NRIFEE
</th>
<th> ProvisionalFee
<th> ProvisionalFee
</th>
<th> MigrationFee
<th> MigrationFee
</th>
<th> UrgentResultDMCFee
<th> UrgentResultDMCFee
</th>
<th> AdditionalFee
</th>
<th> Amount
<th> AdditionalFee
</th>
<th> Amount
</th>
</tr>
</thead>
<tbody dir-paginate="p in data|orderBy:sortKey:reverse|filter:search:strict|itemsPerPage:10| filter:query as results">
<tr>
<td>
<i class="glyphicon glyphicon-list-alt" tooltip="Status Details" ng-click="statusUpdate(p.ID);"></i>
<i class="ti-plus" ng-if="p.AddToAccountStatus != 1" tooltip="Add to Account State" ng-click="addToAccountState(p.ID);"></i>
<i class="glyphicon glyphicon-list-alt" tooltip="Status Details" ng-click="statusUpdate(p.ID);"></i>
<i class="ti-plus" ng-if="p.AddToAccountStatus != 1" tooltip="Add to Account State" ng-click="addToAccountState(p.ID);"></i>
</td>
<td>
{{p.FormID}}
@ -184,10 +184,10 @@
{{p.Semester}}
</td>
<td ng-style="p.StudentNameStatus == 'YES' ? myObj: myObjErr">
{{p.Student_Name}}
{{p.Student_Name}}
</td>
<td ng-style="p.FathernameStatus == 'YES' ? myObj: myObjErr">
{{p.Father_Name}}
{{p.Father_Name}}
</td>
<td ng-style="p.CourseCodeStatus == 'YES' ? myObj: myObjErr">
{{p.CourseCode}}
@ -213,15 +213,16 @@
</td>-->
</tr>
<tr ng-show="statusUpdateEditId === p.ID" ng-if="statusUpdateEditId === p.ID">
<td colspan="12">
<!--<h2> {{p.ID}} </h2>-->
<div class="container" style="border: 1px solid gray; padding: 12px; margin: 4px;" ng-init="getFormIdDetailsStatusList(p.ID)">
<div ng-if="getFormIdDetailsStatusListLoading">
<div style="align: center; color: blue" align="center">
<h3>Loading...</h3></div>
</div>
<div class="container" ng-if="!getFormIdDetailsStatusListLoading">
<td colspan="12">
<!--<h2> {{p.ID}} </h2>-->
<div class="container" style="border: 1px solid gray; padding: 12px; margin: 4px;" ng-init="getFormIdDetailsStatusList(p.ID)">
<div ng-if="getFormIdDetailsStatusListLoading">
<div style="align: center; color: blue" align="center">
<h3>Loading...</h3>
</div>
</div>
<div class="container" ng-if="!getFormIdDetailsStatusListLoading">
<div class="container" ng-init="addStatusDetails = false">
<div class="row">
<div class="pull-right">
@ -253,7 +254,8 @@
</div>
<div class="row">
<div class="pull-right">
<button type="button" ladda="ldloading1.zoom_in" tabindex="2028" ng-disabled="statusUpdateFormIdDetails.Status == ''" class="btn btn-wide btn-success" data-style="zoom-in" ng-click="addStatusUpdateDetails(p.ID, p.FormID)">
<button type="button" ladda="ldloading1.zoom_in" tabindex="2028" ng-disabled="statusUpdateFormIdDetails.Status == ''" class="btn btn-wide btn-success"
data-style="zoom-in" ng-click="addStatusUpdateDetails(p.ID, p.FormID)">
<i class='fa fa-spinner fa-spin' ng-if="editSaveButtonDisable" > </i> Save
</button>
<button type="reset" class="btn btn-warning btn-wide" tabindex="2029" ng-click="resetStatusUpdateForm()" ng-disabled="statusUpdateFormIdDetails.Status == ''">
@ -265,44 +267,46 @@
</div>
<div ng-if="StatusListDetails != ''">
<table class="table">
<thead style="background-color: cadetblue">
<th>FormID</th>
<th>Status</th>
<th>Comments</th>
<th>Updated On</th>
</thead>
<tbody ng-repeat="s in StatusListDetails">
<td>{{s.FormID}}</td>
<td>{{s.Status}}</td>
<td><span style="white-space:pre-wrap;">{{s.Comments}}</span></td>
<td>{{s.CreatedOn}}</td>
</tbody>
</table>
<thead style="background-color: cadetblue">
<th>FormID</th>
<th>Status</th>
<th>Comments</th>
<th>Updated On</th>
</thead>
<tbody ng-repeat="s in StatusListDetails">
<td>{{s.FormID}}</td>
<td>{{s.Status}}</td>
<td><span style="white-space:pre-wrap;">{{s.Comments}}</span></td>
<td>{{s.CreatedOn}}</td>
</tbody>
</table>
</div>
<div ng-if="StatusListDetails == ''">
<div style="color: blue;" align="center"><h3>{{StatusListDetailsApiMessage}}</h3></div>
</div>
</div>
<div class="row">
<div class="pull-right">
<button type="cancel" class="btn btn-warning btn-wide" tabindex="2029" ng-click="statusUpdate(-1)">
Cancel
</button>
<div ng-if="StatusListDetails == ''">
<div style="color: blue;" align="center">
<h3>{{StatusListDetailsApiMessage}}</h3>
</div>
</div>
</div>
</td>
</tr>
</div>
<div class="row">
<div class="pull-right">
<button type="cancel" class="btn btn-warning btn-wide" tabindex="2029" ng-click="statusUpdate(-1)">
Cancel
</button>
</div>
</div>
</div>
</td>
</tr>
</tbody>
</table>
<dir-pagination-controls max-size="10" direction-links="true" boundary-links="true">
</dir-pagination-controls>
</div>
</div>
</div>
</tab>
<tab tabindex="2" active="tabactive2" ng-click="tabActive('tabactive2')" heading="Upload Details" id="uploadFiles">
<div class="container">
<div class="col-md-4 form-group">
<label>
@ -312,15 +316,15 @@
<option value="" selected>Select University</option>
<option ng-repeat="univ in universityData" value="{{univ.UniversityID}}">{{univ.UniversityName}}</option>
</select>
</div>
<!--{{formUploadUnivSelectID}}-->
</div>
<!--{{formUploadUnivSelectID}}-->
</div>
<tabset ng-if="formUploadUnivSelectID.univCode" id="uploadDetails" class="tabbable">
<tab tabindex="1" active="subTabactive1" ng-click="subTabActive('subTabactive1')" heading="Upload File" id="uploadFiles">
<div class="container-fluid">
<div class="row">
<div class="col-md-6 form-group" ng-if="showFile=='1'">
<fieldset>
<js-xls onread="readXlsxFormDetails" onerror="error"></js-xls>
@ -443,7 +447,7 @@
<th>UrgentResultDMCFee</th>
<th>AdditionalFee</th>
<th>Amount</th>
</thead>
<tbody dir-paginate="p in draftListDetails|orderBy:sortKey:reverse|filter:search:strict|itemsPerPage:10| filter:query as results">
<tr>
@ -471,7 +475,7 @@
<td>{{p.DualSpclFee}}</td>
<td>{{p.OtherFee}}</td>
<td>{{p.NRIFEE}}</td>
<td>{{p.ProvisionalFee}}</td>
<td>{{p.ProvisionalFee}}</td>
<td>{{p.MigrationFee}}</td>
<td>{{p.UrgentResultDMCFee}}</td>
<td>{{p.AdditionalFee}}</td>
@ -485,76 +489,76 @@
<label>
FormID
</label>
<input type="text" name="FromId" placeholder="Enter FromId" class="form-control" ng-model="leader.FormID"/>
<input type="text" name="FromId" placeholder="Enter FromId" class="form-control" ng-model="leader.FormID" />
</div>
<div class="col-md-2 form-group" ng-class="{'has-error':Form.primaryPhone.$dirty && Form.primaryPhone.$invalid, 'has-success':Form.primaryPhone.$valid}">
<label>
FormType
</label>
<input type="text" name="FromId" placeholder="Enter FromId" class="form-control" ng-model="leader.FormType"/>
<input type="text" name="FromId" placeholder="Enter FromId" class="form-control" ng-model="leader.FormType" />
</div>
<div class="col-md-2 form-group" ng-class="{'has-error':Form.primaryPhone.$dirty && Form.primaryPhone.$invalid, 'has-success':Form.primaryPhone.$valid}">
<label>
CentreCode
</label>
<input type="text" name="FromId" placeholder="Enter FromId" class="form-control" ng-model="leader.CentreCode"/>
<input type="text" name="FromId" placeholder="Enter FromId" class="form-control" ng-model="leader.CentreCode" />
</div>
<div class="col-md-2 form-group" ng-class="{'has-error':Form.primaryPhone.$dirty && Form.primaryPhone.$invalid, 'has-success':Form.primaryPhone.$valid}">
<label>
Session
</label>
<input type="text" name="FromId" placeholder="Enter FromId" class="form-control" ng-model="leader.Session"/>
<input type="text" name="FromId" placeholder="Enter FromId" class="form-control" ng-model="leader.Session" />
</div>
<div class="col-md-2 form-group" ng-class="{'has-error':Form.primaryPhone.$dirty && Form.primaryPhone.$invalid, 'has-success':Form.primaryPhone.$valid}">
<div class="col-md-2 form-group" ng-class="{'has-error':Form.primaryPhone.$dirty && Form.primaryPhone.$invalid, 'has-success':Form.primaryPhone.$valid}">
<label>
Year
</label>
<input type="text" name="FromId" placeholder="Enter FromId" class="form-control" ng-model="leader.Year"/>
<input type="text" name="FromId" placeholder="Enter FromId" class="form-control" ng-model="leader.Year" />
</div>
<div class="col-md-2 form-group" ng-class="{'has-error':Form.primaryPhone.$dirty && Form.primaryPhone.$invalid, 'has-success':Form.primaryPhone.$valid}">
<label>
Semester
</label>
<input type="text" name="FromId" placeholder="Enter FromId" class="form-control" ng-model="leader.Semester"/>
<input type="text" name="FromId" placeholder="Enter FromId" class="form-control" ng-model="leader.Semester" />
</div>
</div>
<div class="row">
<div class="row">
<div class="col-md-2 form-group" ng-class="{'has-error':Form.primaryPhone.$dirty && Form.primaryPhone.$invalid, 'has-success':Form.primaryPhone.$valid}">
<label>
Student_Name
</label>
<input type="text" name="FromId" placeholder="Enter FromId" class="form-control" ng-model="leader.Student_Name"/>
<input type="text" name="FromId" placeholder="Enter FromId" class="form-control" ng-model="leader.Student_Name" />
</div>
<div class="col-md-2 form-group" ng-class="{'has-error':Form.primaryPhone.$dirty && Form.primaryPhone.$invalid, 'has-success':Form.primaryPhone.$valid}">
<label>
Father_Name
</label>
<input type="text" name="FromId" placeholder="Enter FromId" class="form-control" ng-model="leader.Father_Name"/>
<input type="text" name="FromId" placeholder="Enter FromId" class="form-control" ng-model="leader.Father_Name" />
</div>
<div class="col-md-2 form-group" ng-class="{'has-error':Form.primaryPhone.$dirty && Form.primaryPhone.$invalid, 'has-success':Form.primaryPhone.$valid}">
<label>
CourseCode
</label>
<input type="text" name="FromId" placeholder="Enter FromId" class="form-control" ng-model="leader.CourseCode"/>
<input type="text" name="FromId" placeholder="Enter FromId" class="form-control" ng-model="leader.CourseCode" />
</div>
<div class="col-md-2 form-group" ng-class="{'has-error':Form.primaryPhone.$dirty && Form.primaryPhone.$invalid, 'has-success':Form.primaryPhone.$valid}">
<label>
ActualCourseFee
</label>
<input type="text" name="FromId" placeholder="Enter FromId" class="form-control" ng-model="leader.ActualCourseFee"/>
<input type="text" name="FromId" placeholder="Enter FromId" class="form-control" ng-model="leader.ActualCourseFee" />
</div>
<div class="col-md-2 form-group" ng-class="{'has-error':Form.primaryPhone.$dirty && Form.primaryPhone.$invalid, 'has-success':Form.primaryPhone.$valid}">
<label>
CourseFee
</label>
<input type="text" name="FromId" placeholder="Enter FromId" class="form-control" ng-model="leader.CourseFee"/>
<input type="text" name="FromId" placeholder="Enter FromId" class="form-control" ng-model="leader.CourseFee" />
</div>
<div class="col-md-2 form-group" ng-class="{'has-error':Form.primaryPhone.$dirty && Form.primaryPhone.$invalid, 'has-success':Form.primaryPhone.$valid}">
<label>
ExamFee
</label>
<input type="text" name="FromId" placeholder="Enter FromId" class="form-control" ng-model="leader.ExamFee"/>
<input type="text" name="FromId" placeholder="Enter FromId" class="form-control" ng-model="leader.ExamFee" />
</div>
</div>
<div class="row">
@ -562,76 +566,76 @@
<label>
EnrollmentFee
</label>
<input type="text" name="FromId" placeholder="Enter FromId" class="form-control" ng-model="leader.EnrollmentFee"/>
<input type="text" name="FromId" placeholder="Enter FromId" class="form-control" ng-model="leader.EnrollmentFee" />
</div>
<div class="col-md-2 form-group" ng-class="{'has-error':Form.primaryPhone.$dirty && Form.primaryPhone.$invalid, 'has-success':Form.primaryPhone.$valid}">
<label>
ProspectusFee
</label>
<input type="text" name="FromId" placeholder="Enter FromId" class="form-control" ng-model="leader.ProspectusFee"/>
<input type="text" name="FromId" placeholder="Enter FromId" class="form-control" ng-model="leader.ProspectusFee" />
</div>
<div class="col-md-2 form-group" ng-class="{'has-error':Form.primaryPhone.$dirty && Form.primaryPhone.$invalid, 'has-success':Form.primaryPhone.$valid}">
<label>
ReRegFee
</label>
<input type="text" name="FromId" placeholder="Enter FromId" class="form-control" ng-model="leader.ReRegFee"/>
<input type="text" name="FromId" placeholder="Enter FromId" class="form-control" ng-model="leader.ReRegFee" />
</div>
<div class="col-md-2 form-group" ng-class="{'has-error':Form.primaryPhone.$dirty && Form.primaryPhone.$invalid, 'has-success':Form.primaryPhone.$valid}">
<label>
CreditTransferFee
</label>
<input type="text" name="FromId" placeholder="Enter FromId" class="form-control" ng-model="leader.CreditTransferFee"/>
<input type="text" name="FromId" placeholder="Enter FromId" class="form-control" ng-model="leader.CreditTransferFee" />
</div>
<div class="col-md-2 form-group" ng-class="{'has-error':Form.primaryPhone.$dirty && Form.primaryPhone.$invalid, 'has-success':Form.primaryPhone.$valid}">
<label>
LateralEntryFee
</label>
<input type="text" name="FromId" placeholder="Enter FromId" class="form-control" ng-model="leader.LateralEntryFee"/>
<input type="text" name="FromId" placeholder="Enter FromId" class="form-control" ng-model="leader.LateralEntryFee" />
</div>
<div class="col-md-2 form-group" ng-class="{'has-error':Form.primaryPhone.$dirty && Form.primaryPhone.$invalid, 'has-success':Form.primaryPhone.$valid}">
<label>
DualSpclFee
</label>
<input type="text" name="FromId" placeholder="Enter FromId" class="form-control" ng-model="leader.DualSpclFee"/>
<input type="text" name="FromId" placeholder="Enter FromId" class="form-control" ng-model="leader.DualSpclFee" />
</div>
</div>
<div class="row">
<div class="col-md-2 form-group" ng-class="{'has-error':Form.primaryPhone.$dirty && Form.primaryPhone.$invalid, 'has-success':Form.primaryPhone.$valid}">
<label>
OtherFee
</label>
<input type="text" name="FromId" placeholder="Enter FromId" class="form-control" ng-model="leader.OtherFee"/>
<input type="text" name="FromId" placeholder="Enter FromId" class="form-control" ng-model="leader.OtherFee" />
</div>
<div class="col-md-2 form-group" ng-class="{'has-error':Form.primaryPhone.$dirty && Form.primaryPhone.$invalid, 'has-success':Form.primaryPhone.$valid}">
<label>
NRIFEE
</label>
<input type="text" name="FromId" placeholder="Enter FromId" class="form-control" ng-model="leader.NRIFEE"/>
<input type="text" name="FromId" placeholder="Enter FromId" class="form-control" ng-model="leader.NRIFEE" />
</div>
<div class="col-md-2 form-group" ng-class="{'has-error':Form.primaryPhone.$dirty && Form.primaryPhone.$invalid, 'has-success':Form.primaryPhone.$valid}">
<div class="col-md-2 form-group" ng-class="{'has-error':Form.primaryPhone.$dirty && Form.primaryPhone.$invalid, 'has-success':Form.primaryPhone.$valid}">
<label>
ProvisionalFee
</label>
<input type="text" name="FromId" placeholder="Enter FromId" class="form-control" ng-model="leader.ProvisionalFee"/>
<input type="text" name="FromId" placeholder="Enter FromId" class="form-control" ng-model="leader.ProvisionalFee" />
</div>
<div class="col-md-2 form-group" ng-class="{'has-error':Form.primaryPhone.$dirty && Form.primaryPhone.$invalid, 'has-success':Form.primaryPhone.$valid}">
<label>
MigrationFee
</label>
<input type="text" name="FromId" placeholder="Enter FromId" class="form-control" ng-model="leader.MigrationFee"/>
<input type="text" name="FromId" placeholder="Enter FromId" class="form-control" ng-model="leader.MigrationFee" />
</div>
<div class="col-md-2 form-group" ng-class="{'has-error':Form.primaryPhone.$dirty && Form.primaryPhone.$invalid, 'has-success':Form.primaryPhone.$valid}">
<label>
UrgentResultDMCFee
</label>
<input type="text" name="FromId" placeholder="Enter FromId" class="form-control" ng-model="leader.UrgentResultDMCFee"/>
<input type="text" name="FromId" placeholder="Enter FromId" class="form-control" ng-model="leader.UrgentResultDMCFee" />
</div>
<div class="col-md-2 form-group" ng-class="{'has-error':Form.primaryPhone.$dirty && Form.primaryPhone.$invalid, 'has-success':Form.primaryPhone.$valid}">
<label>
AdditionalFee
</label>
<input type="text" name="FromId" placeholder="Enter FromId" class="form-control" ng-model="leader.AdditionalFee"/>
<input type="text" name="FromId" placeholder="Enter FromId" class="form-control" ng-model="leader.AdditionalFee" />
</div>
</div>
<div class="row">
@ -639,7 +643,7 @@
<label>
Amount
</label>
<input type="text" name="FromId" placeholder="Enter FromId" class="form-control" ng-model="leader.Amount"/>
<input type="text" name="FromId" placeholder="Enter FromId" class="form-control" ng-model="leader.Amount" />
</div>
</div>
<div class="row">
@ -662,7 +666,7 @@
</dir-pagination-controls>
</div>
</div>
<!--<div class="row">
<div class="col-md-4 form-group">
<label>
@ -680,7 +684,7 @@
</tab>
<tab tabindex="3" active="tabactive3" ng-click="tabActive('tabactive3')" heading="Unmatched Records" id="unmatchedRecord">
<div class="container">
<div class="col-md-4 form-group">
<label>
@ -690,9 +694,9 @@
<option value="" selected>Select University</option>
<option ng-repeat="univ in universityData" value="{{univ.UniversityID}}">{{univ.UniversityName}}</option>
</select>
</div>
<!--{{formIdMissMatchUnivSelectID}}-->
</div>
<!--{{formIdMissMatchUnivSelectID}}-->
</div>
<div class="container">
<button class="btn btn-success" ng-disabled="!formIdMissMatchUnivSelectID.univCode" ng-click="getUnmatchedRecord(getUnmatchedDetailsFor)">Get Record</button>
@ -778,8 +782,8 @@
</tab>
</tabset>
</div>
</div>
</div>
</div>
<!-- end: LIST GROUP -->
<!-- end: LIST GROUP -->