1621,1627,1611,1631
This commit is contained in:
parent
dc726f4846
commit
849556981d
@ -513,9 +513,10 @@ class HallTickets_Controller extends REST_Controller {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public function getAllSemesterSubjects_get()
|
public function getAllSemesterSubjects_post()
|
||||||
{
|
{
|
||||||
$branchId = $this->post('branchId');
|
$branchId = $this->post('BranchID');
|
||||||
|
//echo $branchId; die();
|
||||||
$res = $this->Hallticket_model->getAllSemesterSubjectsmodel($branchId);
|
$res = $this->Hallticket_model->getAllSemesterSubjectsmodel($branchId);
|
||||||
|
|
||||||
//$result_array = array();
|
//$result_array = array();
|
||||||
|
|||||||
@ -277,7 +277,7 @@ class Employee_model extends CI_Model
|
|||||||
public function get_req_master_branch_detail($reqRoleId, $reqUserID,$branchId)
|
public function get_req_master_branch_detail($reqRoleId, $reqUserID,$branchId)
|
||||||
{
|
{
|
||||||
|
|
||||||
$listcode="R003";
|
//$listcode="R002";
|
||||||
if ($reqRoleId == SUPER_ADMIN ) {
|
if ($reqRoleId == SUPER_ADMIN ) {
|
||||||
// res for SuperAdmin
|
// res for SuperAdmin
|
||||||
$this->db->select('BranchCode, BranchName');
|
$this->db->select('BranchCode, BranchName');
|
||||||
@ -286,9 +286,10 @@ class Employee_model extends CI_Model
|
|||||||
$mBranchDetails = $this->db->get();
|
$mBranchDetails = $this->db->get();
|
||||||
$results['MeasterBranchDetailStatus'] = true;
|
$results['MeasterBranchDetailStatus'] = true;
|
||||||
$results['branch_details'] = $mBranchDetails->result();
|
$results['branch_details'] = $mBranchDetails->result();
|
||||||
} else {
|
} //else {
|
||||||
// res for Admin
|
/////// res for Admin//////////////
|
||||||
$staffId = $this->selfGetEmpId($reqUserID);
|
// $staffId = $this->selfGetEmpId($reqUserID);
|
||||||
|
//$reqRoleId =$this->
|
||||||
// $subQuery = "SELECT t1.BranchCode, t1.BranchName
|
// $subQuery = "SELECT t1.BranchCode, t1.BranchName
|
||||||
// FROM T_BranchMaster as t1
|
// FROM T_BranchMaster as t1
|
||||||
// LEFT JOIN T_Staff_BranchAccess as t2 ON t2.StaffID = '$staffId'
|
// LEFT JOIN T_Staff_BranchAccess as t2 ON t2.StaffID = '$staffId'
|
||||||
@ -299,19 +300,25 @@ class Employee_model extends CI_Model
|
|||||||
// group by t1.BranchCode";
|
// group by t1.BranchCode";
|
||||||
|
|
||||||
|
|
||||||
$subQuery="SELECT t1.BranchCode, t1.BranchName
|
// $subQuery="SELECT t1.BranchCode, t1.BranchName
|
||||||
FROM T_BranchMaster as t1
|
// FROM T_BranchMaster as t1
|
||||||
LEFT JOIN T_Staff_BranchAccess as t2 ON t2.BranchCode = t1.BranchCode
|
// LEFT JOIN T_Staff_BranchAccess as t2 ON t2.BranchCode = t1.BranchCode
|
||||||
WHERE t2.StaffID='$staffId' and t2.ListCode='$listcode' AND t1.IsActive = 1 AND t2.IsActive = 1 group by t1.BranchCode";
|
// WHERE t2.StaffID='$staffId' and t2.ListCode='$listcode' AND t1.IsActive = 1 AND t2.IsActive = 1 group by t1.BranchCode";
|
||||||
|
|
||||||
|
|
||||||
$mBranchDetails = $this->db->query($subQuery);
|
// $mBranchDetails = $this->db->query($subQuery);
|
||||||
|
// $results['MeasterBranchDetailStatus'] = true;
|
||||||
|
// $results['branch_details'] = $mBranchDetails->result();
|
||||||
|
// }
|
||||||
|
if ($reqRoleId == ADMIN ) {
|
||||||
|
// res for SuperAdmin
|
||||||
|
$this->db->select('BranchCode, BranchName');
|
||||||
|
$this->db->from(BRANCH);
|
||||||
|
$this->db->where('IsActive', 1);
|
||||||
|
$mBranchDetails = $this->db->get();
|
||||||
$results['MeasterBranchDetailStatus'] = true;
|
$results['MeasterBranchDetailStatus'] = true;
|
||||||
$results['branch_details'] = $mBranchDetails->result();
|
$results['branch_details'] = $mBranchDetails->result();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// print_r($this->db->last_query());die();
|
|
||||||
return $results;
|
return $results;
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -609,6 +616,8 @@ class Employee_model extends CI_Model
|
|||||||
// $this->db->where('t1.IsActive', 1);
|
// $this->db->where('t1.IsActive', 1);
|
||||||
$branchDetails = $this->db->get();
|
$branchDetails = $this->db->get();
|
||||||
$branchArr = $branchDetails->result();
|
$branchArr = $branchDetails->result();
|
||||||
|
|
||||||
|
//print_r($this->db->last_query());die();
|
||||||
if( count($branchArr) > 0 ) {
|
if( count($branchArr) > 0 ) {
|
||||||
$result['empBranchDetails'] = true;
|
$result['empBranchDetails'] = true;
|
||||||
$result['branch_details'] = $branchArr;
|
$result['branch_details'] = $branchArr;
|
||||||
|
|||||||
@ -602,8 +602,10 @@ public function getSubjectMappingDetails($universityID,$courseIDS,$branchId)
|
|||||||
$this->db->join('T_UniversityMaster','T_SemSubMap_Master.UniversityID=T_UniversityMaster.UniversityID and T_SemSubMap_Master.BranchCode=T_UniversityMaster.BranchCode') ;
|
$this->db->join('T_UniversityMaster','T_SemSubMap_Master.UniversityID=T_UniversityMaster.UniversityID and T_SemSubMap_Master.BranchCode=T_UniversityMaster.BranchCode') ;
|
||||||
$this->db->join('T_CourseMaster','T_SemSubMap_Master.CourseID=T_CourseMaster.CourseID and T_SemSubMap_Master.BranchCode=T_CourseMaster.BranchCode');
|
$this->db->join('T_CourseMaster','T_SemSubMap_Master.CourseID=T_CourseMaster.CourseID and T_SemSubMap_Master.BranchCode=T_CourseMaster.BranchCode');
|
||||||
$this->db->join('T_Course_Fees_Details','T_SemSubMap_Master.CourseID=T_Course_Fees_Details.CourseID and T_CourseMaster.CourseID=T_Course_Fees_Details.CourseID');
|
$this->db->join('T_Course_Fees_Details','T_SemSubMap_Master.CourseID=T_Course_Fees_Details.CourseID and T_CourseMaster.CourseID=T_Course_Fees_Details.CourseID');
|
||||||
|
$this->db->WHERE('T_SemSubMap_Master.BranchCode',$branchId);
|
||||||
$this->db->group_by('T_SemSubMap_Master.UniversityID,T_SemSubMap_Master.CourseID');
|
$this->db->group_by('T_SemSubMap_Master.UniversityID,T_SemSubMap_Master.CourseID');
|
||||||
$res = $this->db->get();
|
$res = $this->db->get();
|
||||||
|
//echo $this->db->last_query();
|
||||||
return $res->result();
|
return $res->result();
|
||||||
|
|
||||||
|
|
||||||
@ -621,7 +623,7 @@ public function getSubjectMappingDetails($universityID,$courseIDS,$branchId)
|
|||||||
$this->db->where('T_SemSubMap_Master.UniversityID',$universityID);
|
$this->db->where('T_SemSubMap_Master.UniversityID',$universityID);
|
||||||
$this->db->where('T_SemSubMap_Master.CourseID',$courseID);
|
$this->db->where('T_SemSubMap_Master.CourseID',$courseID);
|
||||||
$this->db->where('T_SemSubMap_Master.BranchCode',$branchId);
|
$this->db->where('T_SemSubMap_Master.BranchCode',$branchId);
|
||||||
|
//echo $this->db->last_query();
|
||||||
//$this->db->group_by('T_SemSubMap_Master.UniversityID,T_SemSubMap_Master.CourseID');
|
//$this->db->group_by('T_SemSubMap_Master.UniversityID,T_SemSubMap_Master.CourseID');
|
||||||
$res1 = $this->db->get();
|
$res1 = $this->db->get();
|
||||||
$res['mappedSubjects'] = $res1->result();
|
$res['mappedSubjects'] = $res1->result();
|
||||||
@ -634,7 +636,7 @@ public function getSubjectMappingDetails($universityID,$courseIDS,$branchId)
|
|||||||
$this->db->where('T_SubjectMaster.BranchCode',$branchId);
|
$this->db->where('T_SubjectMaster.BranchCode',$branchId);
|
||||||
$result = $this->db->get();
|
$result = $this->db->get();
|
||||||
$res['overAllSubjects'] = $result->result();
|
$res['overAllSubjects'] = $result->result();
|
||||||
|
//echo $this->db->last_query(); die();
|
||||||
return $res;
|
return $res;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -849,9 +851,11 @@ public function getSubjectMappingDetails($universityID,$courseIDS,$branchId)
|
|||||||
{
|
{
|
||||||
|
|
||||||
$this->db->distinct();
|
$this->db->distinct();
|
||||||
$this->db->select('T_StudentDetails.StudentID,T_StudentDetails.MobileNumber,T_StudentDetails.Firstname,T_StudentDetails.Lastname,T_StudentDetails.EmailID,T_StudentDetails.ProfilePicPath,T_Student_CourseDetails.EnrollmentID,T_Hallticket_Master.HallTicket_ID,T_Hallticket_Student_Details.HallTicket_ID as isFlag');
|
$this->db->select('T_StudentDetails.StudentID,T_StudentDetails.MobileNumber,T_StudentDetails.Firstname,T_StudentDetails.Lastname,T_StudentDetails.EmailID,T_StudentDetails.ProfilePicPath,T_Student_CourseDetails.EnrollmentID,T_Hallticket_Master.HallTicket_ID,T_Hallticket_Student_Details.HallTicket_ID as isFlag,BalFees.balpayable');
|
||||||
$this->db->from('T_Students_Fees_Status');
|
$this->db->from('T_Students_Fees_Status');
|
||||||
$this->db->join('T_StudentDetails','T_Students_Fees_Status.StudentID=T_StudentDetails.StudentID and T_StudentDetails.IsActive = 1');
|
$this->db->join('T_StudentDetails','T_Students_Fees_Status.StudentID=T_StudentDetails.StudentID and T_StudentDetails.IsActive = 1');
|
||||||
|
$this->db->join('BalFees','BalFees.student =T_Students_Fees_Status.StudentID and BalFees.course = T_Students_Fees_Status. CourseID and BalFees.branchCode = T_Students_Fees_Status.BranchCode');
|
||||||
|
|
||||||
$this->db->join('T_Student_CourseDetails','T_StudentDetails.StudentID = T_Student_CourseDetails.StudentID and T_Students_Fees_Status.CourseID = T_Student_CourseDetails.CourseID');
|
$this->db->join('T_Student_CourseDetails','T_StudentDetails.StudentID = T_Student_CourseDetails.StudentID and T_Students_Fees_Status.CourseID = T_Student_CourseDetails.CourseID');
|
||||||
$this->db->join('T_Hallticket_Master','T_Students_Fees_Status.CourseID = T_Hallticket_Master.CourseID and T_Students_Fees_Status.BatchCode = T_Hallticket_Master.BatchCode and T_Students_Fees_Status.BranchCode = T_Hallticket_Master.BranchCode and T_Hallticket_Master.CenterID='.$center['CenterID'],'left');
|
$this->db->join('T_Hallticket_Master','T_Students_Fees_Status.CourseID = T_Hallticket_Master.CourseID and T_Students_Fees_Status.BatchCode = T_Hallticket_Master.BatchCode and T_Students_Fees_Status.BranchCode = T_Hallticket_Master.BranchCode and T_Hallticket_Master.CenterID='.$center['CenterID'],'left');
|
||||||
$this->db->join('T_Hallticket_Student_Details','T_Hallticket_Master.HallTicket_ID = T_Hallticket_Student_Details.HallTicket_ID and T_Students_Fees_Status.StudentID = T_Hallticket_Student_Details.StudentID','left');
|
$this->db->join('T_Hallticket_Student_Details','T_Hallticket_Master.HallTicket_ID = T_Hallticket_Student_Details.HallTicket_ID and T_Students_Fees_Status.StudentID = T_Hallticket_Student_Details.StudentID','left');
|
||||||
@ -880,6 +884,7 @@ public function getSubjectMappingDetails($universityID,$courseIDS,$branchId)
|
|||||||
$studetdetails['EnrollmentID'] = $r->EnrollmentID;
|
$studetdetails['EnrollmentID'] = $r->EnrollmentID;
|
||||||
$studetdetails['HallTicketMasterID'] = $r->HallTicket_ID;
|
$studetdetails['HallTicketMasterID'] = $r->HallTicket_ID;
|
||||||
$studetdetails['isFlag'] = $r->isFlag;
|
$studetdetails['isFlag'] = $r->isFlag;
|
||||||
|
$studetdetails['balpayable'] =$r->balpayable;
|
||||||
$studetdetails['FeeDetails'] = $this->getFeeSemesterDetails($r->StudentID,$batch,$branchId,$courseID);
|
$studetdetails['FeeDetails'] = $this->getFeeSemesterDetails($r->StudentID,$batch,$branchId,$courseID);
|
||||||
$result_array[] = $studetdetails;
|
$result_array[] = $studetdetails;
|
||||||
$prestu = $r->StudentID;
|
$prestu = $r->StudentID;
|
||||||
@ -887,6 +892,8 @@ public function getSubjectMappingDetails($universityID,$courseIDS,$branchId)
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//print_r($this->db->last_query());// die();
|
||||||
return $result_array;
|
return $result_array;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -36,6 +36,7 @@ $scope.generateButtonStatus = false;
|
|||||||
$scope.reverse = !$scope.reverse; //if true make it false and vice versa
|
$scope.reverse = !$scope.reverse; //if true make it false and vice versa
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* init function
|
* init function
|
||||||
* created by kms
|
* created by kms
|
||||||
@ -347,9 +348,153 @@ $scope.generateButtonStatus = false;
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
}]);
|
||||||
|
/*modal controller
|
||||||
|
* */
|
||||||
|
app.controller('studentModalDemoCtrl', ["$scope", "$modal", "$log", "API_POINTS", "$http", function ($scope, $modal, $log,apiPoint,$http) {
|
||||||
|
//Tooltip for print button
|
||||||
|
$scope.dynamicTooltip = 'Student View';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
// $scope.items = ['item1', 'item2', 'item3'];
|
||||||
|
|
||||||
|
$scope.open = function (studentDetails) {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$scope.Currentdate = new Date();
|
||||||
|
|
||||||
|
console.log($scope.Currentdate);
|
||||||
|
// get student view details
|
||||||
|
var getcourse = {
|
||||||
|
method: 'POST',
|
||||||
|
url: apiPoint.url + 'getStudentBasicInfo/',
|
||||||
|
headers: {
|
||||||
|
'Content-Type': 'application/json'
|
||||||
|
},
|
||||||
|
data: {
|
||||||
|
requestedBy :studentDetails.MobileNumber,
|
||||||
|
requestedFrom: 3,
|
||||||
|
branchCode:JSON.parse(localStorage.getItem('localObj')).localBranchID
|
||||||
|
}
|
||||||
|
};
|
||||||
|
$http(getcourse).then(function (response) {
|
||||||
|
|
||||||
|
if (response.data.status == 200 && response.data.studentStatus== true) {
|
||||||
|
$scope.courseEditLoading = false;
|
||||||
|
// $scope.studentDetails = response.data.studentDetails;
|
||||||
|
$scope.studentDetails = response.data;
|
||||||
|
// $scope.courseDetails = response.data.courseDetails;
|
||||||
|
var modalInstance = $modal.open({
|
||||||
|
templateUrl: 'assets/views/student/studentDetailsModal.html',
|
||||||
|
controller: 'ModalInstanceCtrl',
|
||||||
|
// size: size,
|
||||||
|
resolve: {
|
||||||
|
items: function () {
|
||||||
|
return $scope.studentDetails;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
modalInstance.result.then(function (selectedItem) {
|
||||||
|
$scope.selected = selectedItem;
|
||||||
|
}, function () {
|
||||||
|
$log.info('Modal dismissed at: ' + new Date());
|
||||||
|
});
|
||||||
|
|
||||||
|
} else {
|
||||||
|
swal("Failed!", "This student is not registerd", "warning");
|
||||||
|
$scope.courseEditLoading = false;
|
||||||
|
$scope.studentDetails = "";
|
||||||
|
$scope.courseDetails = "";
|
||||||
|
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
};
|
||||||
|
$scope.open1 = function (values,type) {
|
||||||
|
|
||||||
|
var modalInstance1 = $modal.open({
|
||||||
|
templateUrl: 'assets/views/student/studentPaymentModal.html',
|
||||||
|
controller: 'ModalInstanceCtrl1',
|
||||||
|
// size: size,
|
||||||
|
resolve: {
|
||||||
|
items1: function () {
|
||||||
|
var myvalues =
|
||||||
|
{
|
||||||
|
"values":values,
|
||||||
|
"type":type
|
||||||
|
};
|
||||||
|
return myvalues;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
modalInstance1.result.then(function (selectedItem) {
|
||||||
|
$scope.selected = selectedItem;
|
||||||
|
}, function () {
|
||||||
|
$log.info('Modal dismissed at: ' + new Date());
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
}]);
|
}]);
|
||||||
|
|
||||||
|
// Please note that $modalInstance represents a modal window (instance) dependency.
|
||||||
|
// It is not the same as the $modal service used above.
|
||||||
|
|
||||||
|
app.controller('ModalInstanceCtrl', ["$scope", "$modalInstance", "items","WordsService", function ($scope, $modalInstance, items,WordsService) {
|
||||||
|
|
||||||
|
$scope.items = items;
|
||||||
|
$scope.selected = {
|
||||||
|
item: $scope.items[0]
|
||||||
|
};
|
||||||
|
|
||||||
|
$scope.ok = function () {
|
||||||
|
$modalInstance.close($scope.selected.item);
|
||||||
|
};
|
||||||
|
|
||||||
|
$scope.cancel = function () {
|
||||||
|
$modalInstance.dismiss('cancel');
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
}]);
|
||||||
|
app.controller('ModalInstanceCtrl1', ["$scope", "$modalInstance", "items1","WordsService", function ($scope, $modalInstance, items1,WordsService) {
|
||||||
|
|
||||||
|
$scope.items1 = items1.values;
|
||||||
|
$scope.selectedtype = items1.type;
|
||||||
|
|
||||||
|
$scope.ok = function () {
|
||||||
|
$modalInstance.close($scope.selected.item);
|
||||||
|
};
|
||||||
|
|
||||||
|
$scope.cancel = function () {
|
||||||
|
$modalInstance.dismiss('cancel');
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
}]);
|
||||||
|
app.filter('unique', function() {
|
||||||
|
return function(collection, primaryKey, secondaryKey) { //optional secondary key
|
||||||
|
var output = [],
|
||||||
|
keys = [];
|
||||||
|
|
||||||
|
angular.forEach(collection, function(item) {
|
||||||
|
var key;
|
||||||
|
secondaryKey === undefined ? key = item[primaryKey] : key = item[primaryKey][secondaryKey];
|
||||||
|
|
||||||
|
if(keys.indexOf(key) === -1) {
|
||||||
|
keys.push(key);
|
||||||
|
output.push(item);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
return output;
|
||||||
|
};
|
||||||
|
});
|
||||||
|
|
||||||
// Controller for Hallticket Modal PDF
|
// Controller for Hallticket Modal PDF
|
||||||
app.controller('HallTicketPDFCtrl', ["$scope", "$modalInstance", "pdfitems", function ($scope, $modalInstance, pdfitems) {
|
app.controller('HallTicketPDFCtrl', ["$scope", "$modalInstance", "pdfitems", function ($scope, $modalInstance, pdfitems) {
|
||||||
@ -1015,6 +1160,7 @@ app.controller('HallTicketPDFCtrl', ["$scope", "$modalInstance", "pdfitems", fun
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$scope.ok = function () {
|
$scope.ok = function () {
|
||||||
$modalInstance.close($scope.selected.item);
|
$modalInstance.close($scope.selected.item);
|
||||||
};
|
};
|
||||||
|
|||||||
@ -123,14 +123,15 @@ app.controller('semcoursemapCtrl', ["$scope","$rootScope","toaster", "$filter",
|
|||||||
|
|
||||||
//For Get All Semesters and Subjetcs Info for View and Edit
|
//For Get All Semesters and Subjetcs Info for View and Edit
|
||||||
var getAllSemSubjects = {
|
var getAllSemSubjects = {
|
||||||
method: 'GET',
|
method: 'POST',
|
||||||
url: apiPoint.url + 'getAllSemSubjects/',
|
url: apiPoint.url + 'getAllSemSubjects/',
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json'
|
'Content-Type': 'application/json'
|
||||||
},
|
},
|
||||||
data: {
|
data: {
|
||||||
BranchID: JSON.parse(localStorage.getItem('localObj')).localUserID,
|
BranchID: JSON.parse(localStorage.getItem('localObj')).localBranchID,
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
$http(getAllSemSubjects).then(function (response) {
|
$http(getAllSemSubjects).then(function (response) {
|
||||||
|
|||||||
@ -124,10 +124,10 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-12" ng-if="isTblShow">
|
<div class="col-md-12" ng-if="isTblShow">
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
<table class="table table-hover">
|
<table class="table table-hover" ng-controller="studentModalDemoCtrl">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th><input type="checkbox" ng-model="myModel.all" id="all" name="all" ng-click="isCheckAll($event);" class="form-control"></th>
|
<th style="width:3%"><input type="checkbox" ng-model="myModel.all" id="all" name="all" ng-click="isCheckAll($event);" class="form-control"></th>
|
||||||
<th ng-click="sort('Firstname')">Student Name
|
<th ng-click="sort('Firstname')">Student Name
|
||||||
<span class="glyphicon sort-icon" ng-show="sortKey=='Firstname'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"></span>
|
<span class="glyphicon sort-icon" ng-show="sortKey=='Firstname'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"></span>
|
||||||
</th>
|
</th>
|
||||||
@ -141,6 +141,10 @@
|
|||||||
<span class="glyphicon sort-icon" ng-show="sortKey=='EmailID'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"></span>
|
<span class="glyphicon sort-icon" ng-show="sortKey=='EmailID'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"></span>
|
||||||
</th>
|
</th>
|
||||||
|
|
||||||
|
<th ng-click="sort('balpayable')">Balance
|
||||||
|
<span class="glyphicon sort-icon" ng-show="sortKey=='balpayable'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"></span>
|
||||||
|
</th>
|
||||||
|
|
||||||
<th ng-click="sort('isFlag')">Status
|
<th ng-click="sort('isFlag')">Status
|
||||||
<span class="glyphicon sort-icon" ng-show="sortKey=='isFlag'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"></span>
|
<span class="glyphicon sort-icon" ng-show="sortKey=='isFlag'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"></span>
|
||||||
</th>
|
</th>
|
||||||
@ -152,11 +156,25 @@
|
|||||||
</thead>
|
</thead>
|
||||||
<tbody dir-paginate="p in studentInfo|orderBy:sortKey:reverse|filter:search:strict|itemsPerPage:10">
|
<tbody dir-paginate="p in studentInfo|orderBy:sortKey:reverse|filter:search:strict|itemsPerPage:10">
|
||||||
<tr>
|
<tr>
|
||||||
<td><input type="checkbox" ng-checked="myModel.all" id="{{p.StudentID}}" name="{{p.StudentID}}" class="form-control" ng-click="isClick($event);"></td>
|
<!-- <td ><span ng-if="p.balpayable !=0" > -->
|
||||||
<td>{{p.Firstname}}{{p.Lastname}}</td>
|
<!-- <input type="checkbox" ng-checked="myModel.all" id="{{p.StudentID}}" name="{{p.StudentID}}" class="form-control" ng-click="isClick($event)"/></span> -->
|
||||||
|
<td>
|
||||||
|
<div ng-if="p.balpayable ==0" >
|
||||||
|
<input type="checkbox" ng-checked="myModel.all" id="{{p.StudentID}}" name="{{p.StudentID}}" class="form-control" ng-click="isClick($event)"/></div>
|
||||||
|
</td>
|
||||||
|
|
||||||
|
<td>
|
||||||
|
<a tooltip="View Student" ng-click="open(p);" class="text-dark">
|
||||||
|
{{p.Firstname}}{{p.Lastname}}
|
||||||
|
</a></td>
|
||||||
<td>{{p.EnrollmentID}}</td>
|
<td>{{p.EnrollmentID}}</td>
|
||||||
<td>{{p.MobileNumber}}</td>
|
<td>
|
||||||
|
<a tooltip="View Student" ng-click="open(p);" class="text-dark">
|
||||||
|
{{p.MobileNumber}}
|
||||||
|
</a>
|
||||||
|
</td>
|
||||||
<td>{{p.EmailID}}</td>
|
<td>{{p.EmailID}}</td>
|
||||||
|
<td>{{p.balpayable}}</td>
|
||||||
<td> <span ng-if="p.isFlag != null" class="label label-sm label-success">GENERATED</span></td>
|
<td> <span ng-if="p.isFlag != null" class="label label-sm label-success">GENERATED</span></td>
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user