Merge branch 'master' of https://bitbucket.org/venbainformationtechnology/apollodec
This commit is contained in:
commit
126b35e257
@ -22,7 +22,7 @@ class Batch_model extends CI_Model {
|
||||
$this->db->where('BatchCode', $arrayDetails['BatchCode']);
|
||||
if($this->db->get(BATCH)->first_row()){
|
||||
$result['batchStatus'] = false;
|
||||
$result['message'] = "This batch Code is already exist!";
|
||||
$result['message'] = "This batch code is already exist.";
|
||||
} else {
|
||||
$this->db->insert(BATCH, $arrayDetails);
|
||||
if ($this->db->affected_rows() == '1') {
|
||||
|
||||
@ -2506,6 +2506,9 @@ ul.sub-menu li ul.sub-menu li ul.sub-menu li a {
|
||||
.height-350 {
|
||||
height: 350px !important;
|
||||
}
|
||||
.height-460 {
|
||||
height: 460px !important;
|
||||
}
|
||||
|
||||
.width-200 {
|
||||
width: 200px !important;
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
{
|
||||
"dashboard": {
|
||||
"WELCOME": "Welcome to {{appName}}"
|
||||
},
|
||||
},
|
||||
"topbar": {
|
||||
"messages": {
|
||||
"MAIN": "Messages",
|
||||
@ -57,28 +57,28 @@
|
||||
"MAIN": "Dashboard"
|
||||
},
|
||||
"master": {
|
||||
"MAIN": "MASTER DETAILS",
|
||||
"BRANCH": "BRANCH DETAILS",
|
||||
"STAFF": "STAFF DETAILS",
|
||||
"BATCH": "BATCH DETAILS",
|
||||
"UNIVERSITY": "UNIVERSITY DETAILS",
|
||||
"COURSE": "COURSE DETAILS",
|
||||
"ACTIVITY": "ACTIVITY DETAILS",
|
||||
"EMPLOYEE": "EMPLOYEE DETAILS",
|
||||
"ANNOUNCEMENT": "ANNOUNCEMENT DETAILS",
|
||||
"STATUS": "STATUS DETAILS",
|
||||
"STUDENTSTATUS": "STUDENT ACTIVITY STATUS",
|
||||
"MAIN": "SETTINGS",
|
||||
"BRANCH": "BRANCH ",
|
||||
"STAFF": "STAFF ",
|
||||
"BATCH": "BATCH ",
|
||||
"UNIVERSITY": "UNIVERSITY",
|
||||
"COURSE": "COURSE ",
|
||||
"ACTIVITY": "ACTIVITY",
|
||||
"EMPLOYEE": "EMPLOYEE",
|
||||
"ANNOUNCEMENT": "ANNOUNCEMENT",
|
||||
"STATUS": "STATUS",
|
||||
"STUDENTSTATUS": "ACTIVITY STATUS",
|
||||
"CERTIFICATETYPE": "CERTIFICATE TYPE",
|
||||
"DAYBOOKMASTER":"DAY BOOK DETAILS"
|
||||
"DAYBOOKMASTER":"EXPENSE HEADS"
|
||||
},
|
||||
"student": {
|
||||
"MAIN": "MANAGE STUDENTS",
|
||||
"MAIN": "STUDENTS",
|
||||
"LISTING": "STUDENTS LISTING",
|
||||
"ENROLLMENT": "STUDENT ENROLLMENT",
|
||||
"STUDENTDETAILS": "STUDENT DETAILS",
|
||||
"STUDENTDETAILSADDEDIT": "ADD/EDIT STUDENT DETAILS",
|
||||
"STUDENTDETAILSADDEDIT": "MANAGE DETAILS",
|
||||
"status" : {
|
||||
"MAIN": "STATUS UPDATE",
|
||||
"MAIN": "UPDATE STATUS ",
|
||||
"STUDYMATERIAL": "STUDY MATERIAL",
|
||||
"ANSWERBOOKLET": "ANSWER BOOKLET",
|
||||
"CERTIFICATION": "MARK CARD",
|
||||
@ -88,7 +88,7 @@
|
||||
"status": {
|
||||
"MAIN": "STATUS",
|
||||
"APPLICATION": "APPLICATION STATUS",
|
||||
"FEES": "FEES STATUS",
|
||||
"FEES": "FEES ",
|
||||
"STUDENTFEES":"FEES DETAILS",
|
||||
"CERTIFICATE": "CERTIFICATE STATUS",
|
||||
"ANSWERBOOKLET": "ANSWER BOOKLET STATUS",
|
||||
@ -103,17 +103,17 @@
|
||||
},
|
||||
"tracking": {
|
||||
"MAIN": "CALL TRACKING",
|
||||
"details":"ADD/VIEW DETAILS",
|
||||
"close":"CLOSE DETAILS",
|
||||
"pending":"PENDING DETAILS",
|
||||
"lead":"LEAD DETAILS"
|
||||
"details":"ADD/VIEW LEADS",
|
||||
"close":"CLOSED LEADS",
|
||||
"pending":"PENDING LEADS",
|
||||
"lead":"DAY WISE LEADS"
|
||||
},
|
||||
"daybook": {
|
||||
"MAIN": "DAY BOOK",
|
||||
"MAIN": "INCOME / EXPENSE",
|
||||
"INCOMELISTING": "INCOME LISTING",
|
||||
"EXPENSELISTING": "EXPENSE LISTING",
|
||||
"DAYBOOK": "DAY BOOK ",
|
||||
"APPROVAL": "DAY BOOK APPROVAL"
|
||||
"APPROVAL": "APPROVE EXPENSE"
|
||||
},
|
||||
"mydetails": {
|
||||
"MAIN": "MY DETAILS"
|
||||
@ -127,9 +127,9 @@
|
||||
"MAIN": "MY PROFILE"
|
||||
},
|
||||
"sendSMSPage": {
|
||||
"MAIN": "BROADCAST",
|
||||
"SENDSMS": "SMS SENT",
|
||||
"SENDSMSDETAILS": "SENT SMS DETAILS"
|
||||
"MAIN": "BROADCAST SMS",
|
||||
"SENDSMS": "SEND MESSAGE",
|
||||
"SENDSMSDETAILS": "SENT MESSAGE"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@ -14,8 +14,7 @@ app.config(['$stateProvider', '$urlRouterProvider', '$controllerProvider', '$com
|
||||
app.constant = $provide.constant;
|
||||
app.value = $provide.value;
|
||||
|
||||
|
||||
|
||||
|
||||
// LAZY MODULES
|
||||
|
||||
$ocLazyLoadProvider.config({
|
||||
@ -98,9 +97,9 @@ app.config(['$stateProvider', '$urlRouterProvider', '$controllerProvider', '$com
|
||||
}).state('app.master', {
|
||||
url: '/master',
|
||||
template: '<div ui-view class="fade-in-up"></div>',
|
||||
title: 'Master Details',
|
||||
title: 'Settings',
|
||||
ncyBreadcrumb: {
|
||||
label: 'Master Details'
|
||||
label: 'Settings'
|
||||
}
|
||||
}).state('app.master.branch', {
|
||||
url: '/branch',
|
||||
@ -167,9 +166,9 @@ app.config(['$stateProvider', '$urlRouterProvider', '$controllerProvider', '$com
|
||||
url: '/default activity',
|
||||
templateUrl: "assets/views/studentStatusUpdate.html",
|
||||
resolve: loadSequence('ui.select','studentStatusUpdateCtrl','ngTable', 'ladda', 'angular-ladda'),
|
||||
title: 'Status',
|
||||
title: 'Activity Status',
|
||||
ncyBreadcrumb: {
|
||||
label: 'Status'
|
||||
label: 'Activity Status'
|
||||
},
|
||||
}).state('app.master.dayBookMaster', {
|
||||
url: '/day book master',
|
||||
@ -192,7 +191,7 @@ app.config(['$stateProvider', '$urlRouterProvider', '$controllerProvider', '$com
|
||||
url: '/activity',
|
||||
templateUrl: "assets/views/activity.html",
|
||||
resolve: loadSequence('ui.select','activityCtrl','ngTable', 'ladda', 'angular-ladda'),
|
||||
title: 'Activity',
|
||||
title: 'Add/Edit Activity List',
|
||||
ncyBreadcrumb: {
|
||||
label: 'Activity'
|
||||
},
|
||||
@ -231,9 +230,9 @@ app.config(['$stateProvider', '$urlRouterProvider', '$controllerProvider', '$com
|
||||
url: '/studentDetailsAddEdit',
|
||||
templateUrl: "assets/views/student/student_details_SuperAdmin.html",
|
||||
resolve: loadSequence('ui.select','spin', 'ui.mask', 'ladda', 'angular-ladda', 'studentCtrl', 'ngTable'),
|
||||
title: 'Add/Edit Student Details',
|
||||
title: 'Manage Details',
|
||||
ncyBreadcrumb: {
|
||||
label: 'Add/Edit Student Details'
|
||||
label: 'Manage Details'
|
||||
}
|
||||
}).state('app.student.status', {
|
||||
url: '/status',
|
||||
@ -315,17 +314,17 @@ app.config(['$stateProvider', '$urlRouterProvider', '$controllerProvider', '$com
|
||||
}).state('app.call', {
|
||||
url: '/call',
|
||||
template: '<div ui-view class="fade-in-up"></div>',
|
||||
title: 'call tracking',
|
||||
title: 'Call tracking',
|
||||
ncyBreadcrumb: {
|
||||
label: 'tracking'
|
||||
label: 'Call Tracking'
|
||||
}
|
||||
}).state('app.call.tracking', {
|
||||
url: '/tracking',
|
||||
templateUrl: "assets/views/callTrackingDetails.html",
|
||||
title: 'tracking',
|
||||
title: 'Add/View leads',
|
||||
resolve: loadSequence('spin', 'ladda', 'angular-ladda', 'callTrackingCtrl','ngTable'),
|
||||
ncyBreadcrumb: {
|
||||
label: 'details'
|
||||
label: 'Add/View leads'
|
||||
}
|
||||
}).state('app.call.trackingFollowup', {
|
||||
url: '/tracking_followup',
|
||||
@ -339,65 +338,65 @@ app.config(['$stateProvider', '$urlRouterProvider', '$controllerProvider', '$com
|
||||
}).state('app.call.lead', {
|
||||
url: '/lead',
|
||||
templateUrl: "assets/views/callTrackingLeadDetails.html",
|
||||
title: 'lead',
|
||||
title: 'Day wise leads',
|
||||
resolve: loadSequence('spin', 'ladda', 'angular-ladda', 'callTrackingCtrl','ngTable'),
|
||||
ncyBreadcrumb: {
|
||||
label: 'lead'
|
||||
label: 'Day wise leads'
|
||||
}
|
||||
}).state('app.call.close', {
|
||||
url: '/close',
|
||||
templateUrl: "assets/views/callTrackingCloseDetails.html",
|
||||
title: 'close',
|
||||
title: 'Closed leads',
|
||||
resolve: loadSequence('spin', 'ladda', 'angular-ladda', 'callTrackingCtrl','ngTable'),
|
||||
ncyBreadcrumb: {
|
||||
label: 'close'
|
||||
label: 'Closed leads'
|
||||
}
|
||||
}).state('app.call.pending', {
|
||||
url: '/pending',
|
||||
templateUrl: "assets/views/callTrackingPendingDetails.html",
|
||||
title: 'pending',
|
||||
title: 'Pending leads',
|
||||
resolve: loadSequence('spin', 'ladda', 'angular-ladda', 'callTrackingCtrl','ngTable'),
|
||||
ncyBreadcrumb: {
|
||||
label: 'pending'
|
||||
label: 'Pending leads'
|
||||
}
|
||||
}).state('app.daybook', {
|
||||
url: '/daybook',
|
||||
template: '<div ui-view class="fade-in-up"> <div style="margin: auto; width: 50%;padding: 10px;"> STUDENT STATUS UPDATE </div> </div>',
|
||||
title: 'daybook',
|
||||
title: 'Income/Expense',
|
||||
ncyBreadcrumb: {
|
||||
label: 'daybook'
|
||||
label: 'Income/Expense'
|
||||
}
|
||||
}).state('app.daybook.details', {
|
||||
url: '/daybookdetails',
|
||||
templateUrl: "assets/views/daybook/daybook.html",
|
||||
title: 'daybookdetails',
|
||||
title: 'Income/Expense',
|
||||
resolve: loadSequence('spin', 'ladda', 'angular-ladda', 'daybookCtrl','ngTable'),
|
||||
ncyBreadcrumb: {
|
||||
label: 'daybookdetails'
|
||||
label: 'Income/Expense'
|
||||
}
|
||||
}).state('app.daybook.approval', {
|
||||
url: '/daybookApproval',
|
||||
templateUrl: "assets/views/daybook/dayBookApproval.html",
|
||||
title: 'Day Book Approval',
|
||||
title: 'Approve expense',
|
||||
resolve: loadSequence('spin', 'ladda', 'angular-ladda', 'daybookapprovalCtrl','ngTable'),
|
||||
ncyBreadcrumb: {
|
||||
label: 'daybookApproval'
|
||||
label: 'Approve expense'
|
||||
}
|
||||
}).state('app.daybookadmin', {
|
||||
url: '/daybookadmin',
|
||||
templateUrl: "assets/views/daybook/daybookadmin.html",
|
||||
title: 'daybook',
|
||||
title: 'Income/Expense',
|
||||
resolve: loadSequence('spin', 'ladda', 'angular-ladda', 'daybookadminCtrl','ngTable'),
|
||||
ncyBreadcrumb: {
|
||||
label: 'daybook'
|
||||
label: 'Income/Expense'
|
||||
}
|
||||
}).state('app.daybooksuperadmin', {
|
||||
url: '/daybooksuperadmin',
|
||||
templateUrl: "assets/views/daybook/daybooksuperadmin.html",
|
||||
title: 'daybook',
|
||||
title: 'Income/Expense',
|
||||
resolve: loadSequence('spin', 'ladda', 'angular-ladda', 'daybooksuperadminCtrl','ngTable'),
|
||||
ncyBreadcrumb: {
|
||||
label: 'daybook'
|
||||
label: 'Income/Expense'
|
||||
}
|
||||
}).state('app.broadCast', {
|
||||
url: '/broadcast',
|
||||
|
||||
@ -99,11 +99,11 @@ if(myModel.status.length > 0) {
|
||||
if (response.data.status == 200 && response.data.activityStatus) {
|
||||
$scope.ldloading[loading.replace('-', '_')] = false;
|
||||
$scope.init();
|
||||
swal("Success!", response.data.message, "success");
|
||||
swal("","Activity details added successfully.", "success");
|
||||
$state.go($state.current, {}, { reload: true });
|
||||
} else {
|
||||
$scope.ldloading[loading.replace('-', '_')] = false;
|
||||
swal("Failed!", response.data.message, "error");
|
||||
swal(" ", "Something went wrong.please try again.", "error");
|
||||
}
|
||||
});
|
||||
|
||||
@ -215,14 +215,14 @@ swal("Warning!", "Status are required", "warning");
|
||||
if (response.data.status==200 && response.data.activityStatus) {
|
||||
|
||||
$scope.ldloading3[loading.replace('-', '_')] = false;
|
||||
swal("Success!", response.data.message, "success");
|
||||
swal(" "," Updated Successfully", "success");
|
||||
$scope.init();
|
||||
$scope.editId = -1;
|
||||
|
||||
|
||||
} else {
|
||||
$scope.ldloading3[loading.replace('-', '_')] = false;
|
||||
swal("Failed!", response.data.message, "error");
|
||||
swal(" ","Something went wrong.please try again", "error");
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@ -55,10 +55,7 @@ app.controller("CkeditorCtrl", ["$scope", "toaster", "$filter", "ngTableParams",
|
||||
// $scope.submitForm = function() {
|
||||
// alert(JSON.stringify($scope.myModel.description));
|
||||
// }
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
$scope.announcementForm = {
|
||||
submit: function (form, myModel, loading) {
|
||||
@ -101,11 +98,11 @@ app.controller("CkeditorCtrl", ["$scope", "toaster", "$filter", "ngTableParams",
|
||||
$http(addAnnouncement).then(function (response) {
|
||||
if (response.data.status == 200 && response.data.AnnouncementStatus) {
|
||||
$scope.ldloading1[loading.replace('-', '_')] = false;
|
||||
swal("Success!", response.data.message, "success");
|
||||
swal("", "Announcement added successfully.", "success");
|
||||
$state.go($state.current, {}, { reload: true });
|
||||
} else {
|
||||
$scope.ldloading1[loading.replace('-', '_')] = false;
|
||||
swal("Failed!", response.data.message, "error");
|
||||
swal("", response.data.message, "error");
|
||||
}
|
||||
});
|
||||
|
||||
@ -174,13 +171,13 @@ app.controller("CkeditorCtrl", ["$scope", "toaster", "$filter", "ngTableParams",
|
||||
if (response.data.status == 200 && response.data.AnnouncementStatus) {
|
||||
|
||||
$scope.ldloading[loading.replace('-', '_')] = false;
|
||||
swal("Success!", response.data.message, "success");
|
||||
swal("","Updated successfully." , "success");
|
||||
$scope.editId = -1;
|
||||
$scope.init();
|
||||
|
||||
} else {
|
||||
$scope.ldloading[loading.replace('-', '_')] = false;
|
||||
swal("Failed!", response.data.message, "error");
|
||||
swal(" ", response.data.message, "error");
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@ -332,14 +332,14 @@ app.controller('answerBookletStatusCtrl', ["$scope", "toaster", "$filter", "ngTa
|
||||
};
|
||||
$http(updateStudyMaterial).then(function (response) {
|
||||
if (response.data.addStatus) {
|
||||
swal("Success!", response.data.message, "success");
|
||||
swal(" ", "Updated successfully.", "success");
|
||||
$scope.disableButton = false;
|
||||
angular.forEach($scope.searchResultDetails, function (item) {
|
||||
item.Selected = false;
|
||||
});
|
||||
$scope.OpenWindowStatus = false;
|
||||
} else {
|
||||
swal("Failed!", response.data.message, "error");
|
||||
swal(" ", response.data.message, "error");
|
||||
$scope.disableButton = false;
|
||||
}
|
||||
});
|
||||
|
||||
@ -366,7 +366,7 @@ app.controller('applicationStatusCtrl', ["$scope", "toaster", "$filter", "ngTabl
|
||||
};
|
||||
$http(updateStudyMaterial).then(function (response) {
|
||||
if (response.data.addStatus) {
|
||||
swal("Success!", response.data.message, "success");
|
||||
swal(" ","Updated successfully.", "success");
|
||||
$scope.disableButton = false;
|
||||
// for success state
|
||||
angular.forEach($scope.searchResultDetails, function (item) {
|
||||
@ -375,7 +375,7 @@ app.controller('applicationStatusCtrl', ["$scope", "toaster", "$filter", "ngTabl
|
||||
// $scope.OpenWindowStatus = false;
|
||||
$scope.OpenWindowStatus = false;
|
||||
} else {
|
||||
swal("Failed!", response.data.message, "error");
|
||||
swal(" ", response.data.message, "error");
|
||||
$scope.disableButton = false;
|
||||
// for success state
|
||||
angular.forEach($scope.searchResultDetails, function (item) {
|
||||
|
||||
@ -87,11 +87,11 @@ app.controller('batchCtrl', ["$scope","$rootScope","toaster", "$filter", "ngTabl
|
||||
$http(addBatch).then(function (response) {
|
||||
if (response.data.status==200 && response.data.batchStatus) {
|
||||
$scope.ldloading1[loading.replace('-', '_')] = false;
|
||||
swal("Success!", response.data.message, "success");
|
||||
swal("", "Batch added successfully.", "success");
|
||||
$state.go($state.current, {}, {reload: true});
|
||||
} else {
|
||||
$scope.ldloading1[loading.replace('-', '_')] = false;
|
||||
swal("Failed!", response.data.message, "error");
|
||||
swal("", response.data.message, "error");
|
||||
}
|
||||
});
|
||||
|
||||
@ -154,12 +154,12 @@ app.controller('batchCtrl', ["$scope","$rootScope","toaster", "$filter", "ngTabl
|
||||
$scope.ldloading[loading.replace('-', '_')] = false;
|
||||
$scope.editId = -1;
|
||||
$scope.init();
|
||||
swal("Success!", response.data.message, "success");
|
||||
swal("", "Updated Successfully.", "success");
|
||||
|
||||
|
||||
} else {
|
||||
$scope.ldloading[loading.replace('-', '_')] = false;
|
||||
swal("Failed!", response.data.message, "error");
|
||||
swal("", response.data.message, "error");
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@ -144,11 +144,11 @@ app.controller('branchCtrl', ["$scope","toaster", "$filter", "ngTableParams", "A
|
||||
}).success(function (data) {
|
||||
if (data.status==200 && data.branchStatus) {
|
||||
$scope.ldloading1[loading.replace('-', '_')] = false;
|
||||
swal("Success!", data.message, "success");
|
||||
swal("", "Branch added successfully.", "success");
|
||||
$state.go($state.current, {}, {reload: true});
|
||||
} else {
|
||||
$scope.ldloading1[loading.replace('-', '_')] = false;
|
||||
swal("Failed!", data.message, "error");
|
||||
swal("", data.message, "error");
|
||||
}
|
||||
});
|
||||
|
||||
@ -295,12 +295,12 @@ app.controller('branchCtrl', ["$scope","toaster", "$filter", "ngTableParams", "A
|
||||
}).success(function (data) {
|
||||
if (data.status==200 && data.branchStatus) {
|
||||
$scope.ldloading[loading.replace('-', '_')] = false;
|
||||
swal("Success!", data.message, "success");
|
||||
swal("", "Updated Successfully.", "success");
|
||||
$scope.editId = -1;
|
||||
$scope.init();
|
||||
} else {
|
||||
$scope.ldloading1[loading.replace('-', '_')] = false;
|
||||
swal("Failed!", data.message, "error");
|
||||
swal("", data.message, "error");
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@ -306,11 +306,11 @@ app.controller('callTrackingCtrl', ["$scope","$rootScope","toaster", "$filter",
|
||||
$http(addLead).then(function (response) {
|
||||
if (response.data.status==200 && response.data.leadStatus) {
|
||||
$scope.ldloading1[loading.replace('-', '_')] = false;
|
||||
swal("Success!", response.data.message, "success");
|
||||
swal(" ", "Lead tracking added successfully.", "success");
|
||||
$state.go($state.current, {}, {reload: true});
|
||||
} else {
|
||||
$scope.ldloading1[loading.replace('-', '_')] = false;
|
||||
swal("Failed!", response.data.message, "error");
|
||||
swal(" ", response.data.message, "error");
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@ -81,11 +81,11 @@ $scope.certificateForm = {
|
||||
if (response.data.status == 200 && response.data.certificateStatus) {
|
||||
$scope.ldloading1[loading.replace('-', '_')] = false;
|
||||
$scope.init();
|
||||
swal("Success!", response.data.message, "success");
|
||||
swal(" ","Certificate added successfully.", "success");
|
||||
$state.go($state.current, {}, { reload: true });
|
||||
} else {
|
||||
$scope.ldloading1[loading.replace('-', '_')] = false;
|
||||
swal("Failed!", response.data.message, "error");
|
||||
swal(" ", response.data.message, "error");
|
||||
}
|
||||
});
|
||||
|
||||
@ -182,13 +182,13 @@ $scope.certificateForm = {
|
||||
$http(update).then(function (response) {
|
||||
if (response.data.status==200 && response.data.certificateStatus) {
|
||||
$scope.ldloading[loading.replace('-', '_')] = false;
|
||||
swal("Success!", response.data.message, "success");
|
||||
swal(" ","Updated successfully." , "success");
|
||||
$scope.editId = -1;
|
||||
$scope.init();
|
||||
|
||||
} else {
|
||||
$scope.ldloading[loading.replace('-', '_')] = false;
|
||||
swal("Failed!", response.data.message, "error");
|
||||
swal(" ", response.data.message, "error");
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@ -368,7 +368,7 @@ app.controller('certificationStatusCtrl', ["$scope", "toaster", "$filter", "ngTa
|
||||
};
|
||||
$http(updateCertificateStatus).then(function (response) {
|
||||
if (response.data.addStatus) {
|
||||
swal("Success!", response.data.message, "success");
|
||||
swal(" ", "Updated Successfully.", "success");
|
||||
$scope.disableButton = false;
|
||||
// for success state
|
||||
// $scope.allSelected('undefined');
|
||||
@ -377,7 +377,7 @@ app.controller('certificationStatusCtrl', ["$scope", "toaster", "$filter", "ngTa
|
||||
});
|
||||
$scope.OpenWindowStatus = false;
|
||||
} else {
|
||||
swal("Failed!", response.data.message, "error");
|
||||
swal(" ", response.data.message, "error");
|
||||
$scope.disableButton = false;
|
||||
}
|
||||
});
|
||||
|
||||
@ -51,7 +51,7 @@ app.controller('changePasswordCtrl', ["$scope", "$filter", "ngTableParams", "API
|
||||
if (response.data.changePassStatus == true) {
|
||||
// SweetAlert.swal("Hello!", "Password changed Succesfully");
|
||||
// $state.go($state.current, {}, { reload: true });
|
||||
swal("Success!", response.data.message, "success");
|
||||
swal(" ", "Password Changed successfully.", "success");
|
||||
form.$setPristine(true);
|
||||
$scope.myModel = {
|
||||
curr: "",
|
||||
@ -59,7 +59,7 @@ app.controller('changePasswordCtrl', ["$scope", "$filter", "ngTableParams", "API
|
||||
password2: ""
|
||||
};
|
||||
} else {
|
||||
swal("Warning!", response.data.message, "warning");
|
||||
swal(" ", response.data.message, "warning");
|
||||
// $state.go($state.current, {}, { reload: true });
|
||||
}
|
||||
}, function (error) {
|
||||
|
||||
@ -179,12 +179,12 @@ app.controller('courseCtrl', ["$scope","$rootScope","toaster", "$filter", "ngTab
|
||||
$http(addCourse).then(function (response) {
|
||||
if (response.data.status==200 && response.data.courseStatus) {
|
||||
$scope.ldloading1[loading.replace('-', '_')] = false;
|
||||
swal("Success!", response.data.message, "success");
|
||||
swal(" ", "COurse added successfully.", "success");
|
||||
$state.go($state.current, {}, {reload: true});
|
||||
} else {
|
||||
$scope.addMoreItems.splice($scope.addMoreItems.length-1);
|
||||
$scope.ldloading1[loading.replace('-', '_')] = false;
|
||||
swal("Failed!", response.data.message, "error");
|
||||
swal(" ", response.data.message, "error");
|
||||
}
|
||||
});
|
||||
}
|
||||
@ -269,7 +269,7 @@ app.controller('courseCtrl', ["$scope","$rootScope","toaster", "$filter", "ngTab
|
||||
$scope.ldloading[loading.replace('-', '_')] = false;
|
||||
$rootScope.updateMoreItems=[];
|
||||
$rootScope.init();
|
||||
swal("Success!", response.data.message, "success");
|
||||
swal(" ", "Updated successfully.", "success");
|
||||
|
||||
$scope.editId = -1;
|
||||
|
||||
@ -277,7 +277,7 @@ app.controller('courseCtrl', ["$scope","$rootScope","toaster", "$filter", "ngTab
|
||||
} else {
|
||||
$scope.ldloading[loading.replace('-', '_')] = false;
|
||||
// $rootScope.init();
|
||||
swal("Failed!", response.data.message, "error");
|
||||
swal(" ", response.data.message, "error");
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@ -83,11 +83,11 @@ app.controller("dayBookMasterCtrl", ["$scope", "toaster", "$filter", "API_POINTS
|
||||
if (response.data.status == 200 && response.data.addStatus) {
|
||||
$scope.ldloading1[loading.replace('-', '_')] = false;
|
||||
$scope.init();
|
||||
swal("Success!", response.data.message, "success");
|
||||
swal(" ", "Income/Expense added successfullly.", "success");
|
||||
$state.go($state.current, {}, { reload: true });
|
||||
} else {
|
||||
$scope.ldloading1[loading.replace('-', '_')] = false;
|
||||
swal("Failed!", response.data.message, "error");
|
||||
swal(" ", response.data.message, "error");
|
||||
}
|
||||
});
|
||||
|
||||
@ -190,13 +190,13 @@ app.controller("dayBookMasterCtrl", ["$scope", "toaster", "$filter", "API_POINTS
|
||||
$http(update).then(function (response) {
|
||||
if (response.data.status==200 && response.data.updateStatus) {
|
||||
$scope.ldloading[loading.replace('-', '_')] = false;
|
||||
swal("Success!", response.data.message, "success");
|
||||
swal( "", "Updated successfully.", "success");
|
||||
$scope.editId = -1;
|
||||
$scope.init();
|
||||
|
||||
} else {
|
||||
$scope.ldloading[loading.replace('-', '_')] = false;
|
||||
swal("Failed!", response.data.message, "error");
|
||||
swal(" ", response.data.message, "error");
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@ -243,10 +243,10 @@ $scope.dayBookApprovalAccess = '';
|
||||
};
|
||||
$http(deleteDetails).then(function (response) {
|
||||
if (response.data.deletedStatus) {
|
||||
swal("Success!", response.data.message, "success");
|
||||
swal(" ", "Deleted Successfully.", "success");
|
||||
$scope.getDayBookList();
|
||||
} else {
|
||||
swal("Failed!", response.data.message, "error");
|
||||
swal(" ", response.data.message, "error");
|
||||
}
|
||||
});
|
||||
}
|
||||
@ -302,10 +302,10 @@ $scope.dayBookApprovalAccess = '';
|
||||
};
|
||||
$http(addDayBookDetails).then(function (response) {
|
||||
if (response.data.addDayBookStatus) {
|
||||
swal("Success!", response.data.message, "success");
|
||||
swal(" ", "Income/Expense added successfully.", "success");
|
||||
$state.go($state.current, {}, { reload: true });
|
||||
} else {
|
||||
swal("Failed!", response.data.message, "error");
|
||||
swal(" ", response.data.message, "error");
|
||||
}
|
||||
});
|
||||
}
|
||||
@ -359,12 +359,12 @@ $scope.dayBookApprovalAccess = '';
|
||||
};
|
||||
$http(updateDayBookDetails).then(function (response) {
|
||||
if (response.data.updateDetailsStatus) {
|
||||
swal("Success!", response.data.message, "success");
|
||||
swal(" ","Updated successfully.", "success");
|
||||
// for success state
|
||||
$scope.editId = -1;
|
||||
$scope.getDayBookList();
|
||||
} else {
|
||||
swal("Failed!", response.data.message, "error");
|
||||
swal(" ", response.data.message, "error");
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@ -290,17 +290,17 @@ app.controller('daybookadminCtrl', ["$scope", "$rootScope", "toaster", "$filter"
|
||||
};
|
||||
$http(updateStudyMaterial).then(function (response) {
|
||||
if (response.data.addStatus) {
|
||||
swal("Success!", response.data.message, "success");
|
||||
swal(" ", "Updated successfully.", "success");
|
||||
// for success state
|
||||
$scope.getDayBookList();
|
||||
$scope.allSelected('undefined');
|
||||
$scope.OpenWindowStatus = false;
|
||||
} else {
|
||||
swal("Failed!", response.data.message, "error");
|
||||
swal(" ", response.data.message, "error");
|
||||
}
|
||||
});
|
||||
} else {
|
||||
swal("Warning!", "Item not Selected", "warning");
|
||||
swal(" ", "Item not Selected", "warning");
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -463,7 +463,7 @@ app.controller('daybookadminCtrl', ["$scope", "$rootScope", "toaster", "$filter"
|
||||
let ans = $scope.data.some(function (val, i) {
|
||||
if (val.id === id) {
|
||||
$scope.data.splice(i, 1);
|
||||
swal("Deleted!", "Your record has been deleted.", "success");
|
||||
swal(" ", "Your record has been deleted.", "success");
|
||||
return true;
|
||||
}
|
||||
}); return ans;
|
||||
|
||||
@ -290,17 +290,17 @@ app.controller('daybookapprovalCtrl', ["$scope", "$rootScope", "toaster", "$filt
|
||||
};
|
||||
$http(updateStudyMaterial).then(function (response) {
|
||||
if (response.data.addStatus) {
|
||||
swal("Success!", response.data.message, "success");
|
||||
swal(" ", "Updated successfully,", "success");
|
||||
// for success state
|
||||
$scope.getDayBookList();
|
||||
$scope.allSelected('undefined');
|
||||
$scope.OpenWindowStatus = false;
|
||||
} else {
|
||||
swal("Failed!", response.data.message, "error");
|
||||
swal(" ", response.data.message, "error");
|
||||
}
|
||||
});
|
||||
} else {
|
||||
swal("Warning!", "Item not Selected", "warning");
|
||||
swal(" ", "Item not Selected", "warning");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -248,13 +248,13 @@ app.controller('daybooksuperadminCtrl', ["$scope", "$rootScope", "toaster", "$fi
|
||||
};
|
||||
$http(updateStudyMaterial).then(function (response) {
|
||||
if (response.data.addStatus) {
|
||||
swal("Success!", response.data.message, "success");
|
||||
swal(" ", "Updated successfully.", "success");
|
||||
// for success state
|
||||
$scope.getDayBookList();
|
||||
$scope.allSelected('undefined');
|
||||
$scope.OpenWindowStatus = false;
|
||||
} else {
|
||||
swal("Failed!", response.data.message, "error");
|
||||
swal(" ", response.data.message, "error");
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@ -271,7 +271,7 @@ app.controller('staffCtrl', ["$scope", "toaster", "$filter", "ngTableParams", "$
|
||||
};
|
||||
$http(checkReq).then(function (response) {
|
||||
if (response.data.existEmpId == true) {
|
||||
swal("Warning!", response.data.message, "warning");
|
||||
swal("", response.data.message, "warning");
|
||||
$scope.myModel.employeeId = '';
|
||||
} else {
|
||||
}
|
||||
@ -293,7 +293,7 @@ app.controller('staffCtrl', ["$scope", "toaster", "$filter", "ngTableParams", "$
|
||||
};
|
||||
$http(checkReq).then(function (response) {
|
||||
if (response.data.existMobile == true) {
|
||||
swal("Warning!", response.data.message, "warning");
|
||||
swal("", response.data.message, "warning");
|
||||
$scope.myModel.primaryPhone = '';
|
||||
} else {
|
||||
}
|
||||
@ -315,7 +315,7 @@ app.controller('staffCtrl', ["$scope", "toaster", "$filter", "ngTableParams", "$
|
||||
};
|
||||
$http(checkReq).then(function (response) {
|
||||
if (response.data.existEmailId == true) {
|
||||
swal("Warning!", response.data.message, "warning");
|
||||
swal("", response.data.message, "warning");
|
||||
$scope.myModel.emailId = '';
|
||||
} else {
|
||||
}
|
||||
@ -434,7 +434,7 @@ app.controller('staffCtrl', ["$scope", "toaster", "$filter", "ngTableParams", "$
|
||||
};
|
||||
$http(req).then(function (response) {
|
||||
if (response.data.addEmpStatus == true) {
|
||||
swal("Success!", response.data.message, "success");
|
||||
swal("Success!", "Employee details added successfully.", "success");
|
||||
$state.go($state.current, {}, { reload: true });
|
||||
} else {
|
||||
// $scope.ldloading1[loading.replace('-', '_')] = false;
|
||||
@ -494,7 +494,7 @@ app.controller('staffCtrl', ["$scope", "toaster", "$filter", "ngTableParams", "$
|
||||
};
|
||||
$http(checkReq).then(function (response) {
|
||||
if (response.data.existMobile == true) {
|
||||
swal("Warning!", response.data.message, "warning");
|
||||
swal("", response.data.message, "warning");
|
||||
p.MobileNumber = response.data.resetValue.MobileNumber;
|
||||
} else {
|
||||
}
|
||||
@ -516,7 +516,7 @@ app.controller('staffCtrl', ["$scope", "toaster", "$filter", "ngTableParams", "$
|
||||
};
|
||||
$http(checkReq).then(function (response) {
|
||||
if (response.data.existEmailId == true) {
|
||||
swal("Warning!", response.data.message, "warning");
|
||||
swal("", response.data.message, "warning");
|
||||
p.EmailID = response.data.resetValue.EmailID;
|
||||
} else {
|
||||
}
|
||||
@ -569,12 +569,12 @@ app.controller('staffCtrl', ["$scope", "toaster", "$filter", "ngTableParams", "$
|
||||
};
|
||||
$http(req).then(function (response) {
|
||||
if (response.data.updateEmpStatus = true) {
|
||||
swal("Success!", response.data.message, "success");
|
||||
swal("", "Updated Successfully.", "success");
|
||||
$scope.getEmployeeList();
|
||||
$scope.editId = -1;
|
||||
} else {
|
||||
// $scope.ldloading1[loading.replace('-', '_')] = false;
|
||||
swal("Failed!", response.data.message, "error");
|
||||
swal("", response.data.message, "error");
|
||||
}
|
||||
});
|
||||
} else {
|
||||
@ -591,12 +591,12 @@ app.controller('staffCtrl', ["$scope", "toaster", "$filter", "ngTableParams", "$
|
||||
headers: { 'Content-Type': undefined, 'Process-Data': false },
|
||||
}).success(function (data) {
|
||||
if (data.updateEmpStatus == true) {
|
||||
swal("Success!", data.message, "success");
|
||||
swal("", "Updated Successfully.", "success");
|
||||
$scope.getEmployeeList();
|
||||
$scope.editId = -1;
|
||||
} else {
|
||||
// $scope.ldloading1[loading.replace('-', '_')] = false;
|
||||
swal("Failed!", data.message, "error");
|
||||
swal("", data.message, "error");
|
||||
}
|
||||
});
|
||||
}
|
||||
@ -652,12 +652,12 @@ app.controller('staffCtrl', ["$scope", "toaster", "$filter", "ngTableParams", "$
|
||||
};
|
||||
$http(req).then(function (response) {
|
||||
if (response.data.updateEmpbranchStatus = true) {
|
||||
swal("Success!", response.data.message, "success");
|
||||
swal("", "Updated Successfully.", "success");
|
||||
$scope.getEmployeeList();
|
||||
$scope.editBranchId = -1;
|
||||
} else {
|
||||
// $scope.ldloading1[loading.replace('-', '_')] = false;
|
||||
swal("Failed!", response.data.message, "error");
|
||||
swal("", response.data.message, "error");
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@ -248,7 +248,7 @@ app.controller('feesStatusCtrl', ["$scope","$rootScope","toaster", "$filter", "n
|
||||
$http(updateFees).then(function (response) {
|
||||
if (response.data.status==200 && response.data.paidStatus) {
|
||||
$scope.ldloading[loading.replace('-', '_')] = false;
|
||||
swal("Success!", response.data.message, "success");
|
||||
swal("Success!", "Updated successfully.", "success");
|
||||
/*$scope.updateModel = {
|
||||
"feesType": "",
|
||||
"date": "",
|
||||
@ -362,7 +362,7 @@ app.controller('feesStatusCtrl', ["$scope","$rootScope","toaster", "$filter", "n
|
||||
$http(updateFees).then(function (response) {
|
||||
if (response.data.status==200 && response.data.setStatus) {
|
||||
$scope.ldloading5[loading.replace('-', '_')] = false;
|
||||
swal("Success!", response.data.message, "success");
|
||||
swal("Success!", "Fees set successfully.", "success");
|
||||
|
||||
$scope.getStudentSetFees(myModel.ID,myModel.CourseID,myModel.StudentID);
|
||||
/*$scope.setModel = {
|
||||
|
||||
@ -219,14 +219,14 @@ app.controller('sendSMSsuperadminCtrl', ["$scope", "$filter", "ngTableParams", "
|
||||
};
|
||||
$http(sendMSGApi).then(function (response) {
|
||||
if (response.data.msgStatus) {
|
||||
swal("Success!", response.data.message, "success");
|
||||
swal(" ", "Message sent successfully.", "success");
|
||||
$scope.disableButton = false;
|
||||
angular.forEach($scope.searchResultDetails, function (item) {
|
||||
item.Selected = false;
|
||||
});
|
||||
$scope.OpenWindowStatus = false;
|
||||
} else {
|
||||
swal("Failed!", response.data.message, "error");
|
||||
swal(" ", response.data.message, "error");
|
||||
$scope.disableButton = false;
|
||||
}
|
||||
});
|
||||
|
||||
@ -81,11 +81,11 @@ $scope.statusForm = {
|
||||
if (response.data.status == 200 && response.data.Status) {
|
||||
$scope.ldloading1[loading.replace('-', '_')] = false;
|
||||
$scope.init();
|
||||
swal("Success!", response.data.message, "success");
|
||||
swal(" ", "Status added successfully.", "success");
|
||||
$state.go($state.current, {}, { reload: true });
|
||||
} else {
|
||||
$scope.ldloading1[loading.replace('-', '_')] = false;
|
||||
swal("Failed!", response.data.message, "error");
|
||||
swal("", "Something went wrong, please try again.", "error");
|
||||
}
|
||||
});
|
||||
|
||||
@ -189,13 +189,13 @@ $scope.statusForm = {
|
||||
$http(update).then(function (response) {
|
||||
if (response.data.status==200 && response.data.Status) {
|
||||
$scope.ldloading[loading.replace('-', '_')] = false;
|
||||
swal("Success!", response.data.message, "success");
|
||||
swal("", "Updated Successfully", "success");
|
||||
$scope.editId = -1;
|
||||
$scope.init();
|
||||
|
||||
} else {
|
||||
$scope.ldloading[loading.replace('-', '_')] = false;
|
||||
swal("Failed!", response.data.message, "error");
|
||||
swal("", "Something went wrong, please try again", "error");
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@ -274,10 +274,10 @@ $scope.studentListLength = 0;
|
||||
};
|
||||
$http(req).then(function (response) {
|
||||
if (response.data.addStuCourseStatus == true) {
|
||||
swal("Success!", response.data.message, "success");
|
||||
swal(" ","Student course added successfully.", "success");
|
||||
$scope.getStudentCourseList($scope.currentStudentId);
|
||||
} else {
|
||||
swal("Failed!", response.data.message, "error");
|
||||
swal(" ", response.data.message, "error");
|
||||
$scope.getStudentCourseList($scope.currentStudentId);
|
||||
}
|
||||
});
|
||||
@ -374,12 +374,12 @@ $scope.studentListLength = 0;
|
||||
};
|
||||
$http(req).then(function (response) {
|
||||
if (response.data.updateStuCourseStatus) {
|
||||
swal("Success!", response.data.message, "success");
|
||||
swal(" ", "Updated successfully.", "success");
|
||||
$scope.getStudentCourseList($scope.currentStudentId);
|
||||
// $scope.editCourseId = false;
|
||||
} else {
|
||||
// $scope.ldloading1[loading.replace('-', '_')] = false;
|
||||
swal("Failed!", response.data.message, "error");
|
||||
swal(" ", response.data.message, "error");
|
||||
$scope.getStudentCourseList($scope.currentStudentId);
|
||||
}
|
||||
});
|
||||
@ -605,12 +605,12 @@ $scope.studentListLength = 0;
|
||||
headers: { 'Content-Type': undefined, 'Process-Data': false },
|
||||
}).success(function (data) {
|
||||
if (data.addStudentStatus == true) {
|
||||
swal("Success!", data.message, "success");
|
||||
swal(" ", "Student picture added successfully.", "success");
|
||||
$scope.disableButton = false;
|
||||
$state.go($state.current, {}, { reload: true });
|
||||
} else {
|
||||
// $scope.ldloading1[loading.replace('-', '_')] = false;
|
||||
swal("Failed!", data.message, "error");
|
||||
swal(" ", data.message, "error");
|
||||
// $scope.disableButton = false;
|
||||
}
|
||||
});
|
||||
@ -630,12 +630,12 @@ $scope.studentListLength = 0;
|
||||
};
|
||||
$http(req).then(function (response) {
|
||||
if (response.data.addStudentStatus == true) {
|
||||
swal("Success!", response.data.message, "success");
|
||||
swal(" ", "Student added successfully.", "success");
|
||||
$scope.disableButton = false;
|
||||
$state.go($state.current, {}, { reload: true });
|
||||
} else {
|
||||
// $scope.disableButton = false;
|
||||
swal("Failed!", response.data.message, "error");
|
||||
swal(" ", response.data.message, "error");
|
||||
}
|
||||
});
|
||||
}
|
||||
@ -818,12 +818,12 @@ $scope.studentListLength = 0;
|
||||
};
|
||||
$http(req).then(function (response) {
|
||||
if (response.data.updateStuStatus = true) {
|
||||
swal("Success!", response.data.message, "success");
|
||||
swal(" ", "Updated successfully.", "success");
|
||||
$scope.getStudentList();
|
||||
$scope.editId = -1;
|
||||
} else {
|
||||
// $scope.ldloading1[loading.replace('-', '_')] = false;
|
||||
swal("Failed!", response.data.message, "error");
|
||||
swal(" ", response.data.message, "error");
|
||||
}
|
||||
});
|
||||
} else {
|
||||
@ -839,12 +839,12 @@ $scope.studentListLength = 0;
|
||||
headers: { 'Content-Type': undefined, 'Process-Data': false },
|
||||
}).success(function (data) {
|
||||
if (data.updateStuStatus == true) {
|
||||
swal("Success!", data.message, "success");
|
||||
swal(" ","Updated successfully." , "success");
|
||||
$scope.getStudentList();
|
||||
$scope.editId = -1;
|
||||
} else {
|
||||
// $scope.ldloading1[loading.replace('-', '_')] = false;
|
||||
swal("Failed!", data.message, "error");
|
||||
swal(" ", data.message, "error");
|
||||
}
|
||||
});
|
||||
}
|
||||
@ -1155,10 +1155,10 @@ $scope.myUnivSearch = "";
|
||||
};
|
||||
$http(req).then(function (response) {
|
||||
if (response.data.addStuCourseStatus == true) {
|
||||
swal("Success!", response.data.message, "success");
|
||||
swal(" ","Student course added successfully. ", "success");
|
||||
$scope.getStudentCourseList($scope.currentStudentId);
|
||||
} else {
|
||||
swal("Failed!", response.data.message, "error");
|
||||
swal(" ", response.data.message, "error");
|
||||
$scope.getStudentCourseList($scope.currentStudentId);
|
||||
}
|
||||
});
|
||||
@ -1255,12 +1255,12 @@ $scope.myUnivSearch = "";
|
||||
};
|
||||
$http(req).then(function (response) {
|
||||
if (response.data.updateStuCourseStatus) {
|
||||
swal("Success!", response.data.message, "success");
|
||||
swal("", "Updated successfully.", "success");
|
||||
$scope.getStudentCourseList($scope.currentStudentId);
|
||||
// $scope.editCourseId = false;
|
||||
} else {
|
||||
// $scope.ldloading1[loading.replace('-', '_')] = false;
|
||||
swal("Failed!", response.data.message, "error");
|
||||
swal(" ", response.data.message, "error");
|
||||
$scope.getStudentCourseList($scope.currentStudentId);
|
||||
}
|
||||
});
|
||||
@ -1541,7 +1541,7 @@ $scope.myUnivSearch = "";
|
||||
headers: { 'Content-Type': undefined, 'Process-Data': false },
|
||||
}).success(function (data) {
|
||||
if (data.addStudentStatus == true) {
|
||||
swal("Success!", data.message, "success");
|
||||
swal(" ", "Student picture added successfully.", "success");
|
||||
$scope.disableButton = false;
|
||||
$scope.viewStudentDetailsPage = false;
|
||||
// $state.go($state.current, {}, { reload: true });
|
||||
@ -1551,7 +1551,7 @@ $scope.myUnivSearch = "";
|
||||
// $scope.tabActive('tabactive1');
|
||||
} else {
|
||||
// $scope.ldloading1[loading.replace('-', '_')] = false;
|
||||
swal("Failed!", data.message, "error");
|
||||
swal(" ", data.message, "error");
|
||||
}
|
||||
});
|
||||
} else {
|
||||
@ -1570,7 +1570,7 @@ $scope.myUnivSearch = "";
|
||||
};
|
||||
$http(req).then(function (response) {
|
||||
if (response.data.addStudentStatus == true) {
|
||||
swal("Success!", response.data.message, "success");
|
||||
swal( "", "Student added successfully.", "success");
|
||||
$scope.disableButton = false;
|
||||
$scope.viewStudentDetailsPage = false;
|
||||
// $state.go($state.current, {}, { reload: true });
|
||||
@ -1581,7 +1581,7 @@ $scope.myUnivSearch = "";
|
||||
// $scope.tabActive('tabactive1');
|
||||
} else {
|
||||
// $scope.disableButton = false;
|
||||
swal("Failed!", response.data.message, "error");
|
||||
swal(" ", response.data.message, "error");
|
||||
}
|
||||
});
|
||||
}
|
||||
@ -1764,12 +1764,12 @@ $scope.myUnivSearch = "";
|
||||
};
|
||||
$http(req).then(function (response) {
|
||||
if (response.data.updateStuStatus = true) {
|
||||
swal("Success!", response.data.message, "success");
|
||||
swal(" ", "Updated successfully.", "success");
|
||||
$scope.getStudentList();
|
||||
$scope.editId = -1;
|
||||
} else {
|
||||
// $scope.ldloading1[loading.replace('-', '_')] = false;
|
||||
swal("Failed!", response.data.message, "error");
|
||||
swal(" ", response.data.message, "error");
|
||||
}
|
||||
});
|
||||
} else {
|
||||
@ -1785,12 +1785,12 @@ $scope.myUnivSearch = "";
|
||||
headers: { 'Content-Type': undefined, 'Process-Data': false },
|
||||
}).success(function (data) {
|
||||
if (data.updateStuStatus == true) {
|
||||
swal("Success!", data.message, "success");
|
||||
swal(" ", "Updated successfully.", "success");
|
||||
$scope.getStudentList();
|
||||
$scope.editId = -1;
|
||||
} else {
|
||||
// $scope.ldloading1[loading.replace('-', '_')] = false;
|
||||
swal("Failed!", data.message, "error");
|
||||
swal(" ", data.message, "error");
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@ -137,14 +137,14 @@ app.controller("studentStatusUpdateCtrl", ["$scope", "toaster", "$filter", "API_
|
||||
if (response.data.status==200 && response.data.activityStatus) {
|
||||
|
||||
$scope.ldloading3[loading.replace('-', '_')] = false;
|
||||
swal("Success!", response.data.message, "success");
|
||||
swal("", "Status Updated Successfully.", "success");
|
||||
$scope.init();
|
||||
$scope.editId = -1;
|
||||
|
||||
|
||||
} else {
|
||||
$scope.ldloading3[loading.replace('-', '_')] = false;
|
||||
swal("Failed!", response.data.message, "error");
|
||||
swal(" ", " Something went wrong, please try again.", "error");
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@ -342,7 +342,7 @@ app.controller('studyMaterialStatusCtrl', ["$scope", "toaster", "$filter", "ngTa
|
||||
};
|
||||
$http(updateStudyMaterial).then(function (response) {
|
||||
if (response.data.addStatus) {
|
||||
swal("Success!", response.data.message, "success");
|
||||
swal(" ", "Updated successfully.", "success");
|
||||
$scope.disableButton = false;
|
||||
// for success state
|
||||
// $scope.allSelected('undefined');
|
||||
@ -351,7 +351,7 @@ app.controller('studyMaterialStatusCtrl', ["$scope", "toaster", "$filter", "ngTa
|
||||
});
|
||||
$scope.OpenWindowStatus = false;
|
||||
} else {
|
||||
swal("Failed!", response.data.message, "error");
|
||||
swal(" ", response.data.message, "error");
|
||||
$scope.disableButton = false;
|
||||
}
|
||||
});
|
||||
|
||||
@ -9,7 +9,6 @@ app.controller('universityCtrl', ["$scope", "toaster", "$filter", "ngTableParams
|
||||
* university details capture
|
||||
* by : kdk
|
||||
*/
|
||||
|
||||
// get local cliend details
|
||||
var localDetail = JSON.parse(localStorage.getItem('localObj'));
|
||||
var localDetails = ipCookie('cookiechk');
|
||||
@ -75,7 +74,7 @@ app.controller('universityCtrl', ["$scope", "toaster", "$filter", "ngTableParams
|
||||
};
|
||||
$http(checkReq).then(function (response) {
|
||||
if (response.data.existUniv === true) {
|
||||
swal("Warning!", response.data.message, "warning");
|
||||
swal("", "University Id already exists", "warning");
|
||||
$scope.myModel.UniversityID = '';
|
||||
} else {
|
||||
}
|
||||
@ -123,12 +122,12 @@ app.controller('universityCtrl', ["$scope", "toaster", "$filter", "ngTableParams
|
||||
};
|
||||
$http(req).then(function (response) {
|
||||
if (response.data.updateUniversityStatus = true) {
|
||||
swal("Success!", response.data.message, "success");
|
||||
swal(" ", "Updated successfully.", "success");
|
||||
$scope.getUniversityList();
|
||||
$scope.editId = -1;
|
||||
} else {
|
||||
// $scope.ldloading1[loading.replace('-', '_')] = false;
|
||||
swal("Failed!", response.data.message, "error");
|
||||
swal(" ", "Something went wrong, please try again.", "error");
|
||||
}
|
||||
});
|
||||
}
|
||||
@ -167,11 +166,11 @@ app.controller('universityCtrl', ["$scope", "toaster", "$filter", "ngTableParams
|
||||
};
|
||||
$http(req).then(function (response) {
|
||||
if (response.data.addUniv == true) {
|
||||
swal("Success!", response.data.message, "success");
|
||||
swal("", "University details added successfully.", "success");
|
||||
$state.go($state.current, {}, { reload: true });
|
||||
} else {
|
||||
// $scope.ldloading1[loading.replace('-', '_')] = false;
|
||||
swal("Failed!", response.data.message, "error");
|
||||
swal("","Something went wrong, please try again.", "error");
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@ -11,10 +11,10 @@
|
||||
<section id="page-title">
|
||||
<div class="row">
|
||||
<div class="col-sm-8">
|
||||
<h1 class="mainTitle" translate="Activity Details"></h1>
|
||||
<!--
|
||||
<span class="mainDescription">Over a dozen reusable components built to provide popovers, media objects, navigation, tooltips and much more. </span>
|
||||
-->
|
||||
<h1 class="mainTitle" translate="Activity"></h1>
|
||||
|
||||
<span class="mainDescription">Add / Edit Activity list used for call tracking. </span>
|
||||
|
||||
</div>
|
||||
<div ncy-breadcrumb></div>
|
||||
</div>
|
||||
@ -91,7 +91,7 @@
|
||||
Submit
|
||||
</button>-->
|
||||
<button type="submit" ladda="ldloading.zoom_in" tabindex="4" class="btn btn-wide btn-success" data-style="zoom-in">
|
||||
Submit
|
||||
Add
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
@ -137,7 +137,7 @@
|
||||
<td>{{p.ActivityID}}</td>
|
||||
<td>{{p.ActivityName}}</td>
|
||||
<td>{{p.Description}}</td>
|
||||
<td><span ng-if="p.IsActive == 1"> Active </span><span ng-if="p.IsActive == 0">De-Active</span></td>
|
||||
<td><span ng-if="p.IsActive == 1"> Active </span><span ng-if="p.IsActive == 0">In-Active</span></td>
|
||||
<td>
|
||||
<a class="text-azure" id="editRowBtn{{p.ActivityID}}" ng-click="setEditId(p);"><b class="fa fa-hover fa-pencil " aria-hidden="true"></b>
|
||||
</a>
|
||||
|
||||
@ -12,8 +12,8 @@
|
||||
<section id="page-title">
|
||||
<div class="row">
|
||||
<div class="col-sm-8">
|
||||
<h1 class="mainTitle" translate="Add/View Announcement Details">{{ mainTitle }}</h1>
|
||||
|
||||
<h1 class="mainTitle" translate="Announcement ">{{ mainTitle }}</h1>
|
||||
<span class="mainDescription">Add/View Announcement Details. </span>
|
||||
</div>
|
||||
<div ncy-breadcrumb></div>
|
||||
</div>
|
||||
@ -59,7 +59,7 @@
|
||||
<table class="table table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th ng-click="sort('Heading')">Heading
|
||||
<th ng-click="sort('Heading')">Title
|
||||
<span class="glyphicon sort-icon" ng-show="sortKey=='Heading'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"></span>
|
||||
</th>
|
||||
<!--<th ng-click="sort('description')">Description
|
||||
@ -75,7 +75,7 @@
|
||||
<tr>
|
||||
<td>{{p.Heading}}</td>
|
||||
<!--<td>{{p.description}}</td>-->
|
||||
<td><span ng-if="p.IsActive == 1"> Active </span><span ng-if="p.IsActive == 0">De-Active</span></td>
|
||||
<td><span ng-if="p.IsActive == 1"> Active </span><span ng-if="p.IsActive == 0">In-Active</span></td>
|
||||
<td>
|
||||
<a class="text-azure" id="editRowBtn{{p.ID}}" ng-click="setEditId(p.ID);"><b class="fa fa-hover fa-pencil " aria-hidden="true"></b>
|
||||
</a></td>
|
||||
@ -112,22 +112,22 @@
|
||||
<div class="col-md-12 form-group">
|
||||
<div class="col-md-2">
|
||||
<label>
|
||||
Heading <span class="symbol required"></span>
|
||||
Title <span class="symbol required"></span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="col-md-10" ng-class="{'has-error':Form.Heading.$dirty && Form.Heading.$invalid, 'has-success':Form.Heading.$valid}">
|
||||
<input type="text" placeholder="Enter Heading Name"
|
||||
<input type="text" placeholder="Enter Title"
|
||||
tabindex="2" class="form-control" name="Heading"
|
||||
ng-model="myModel.Heading" required/>
|
||||
<span class="error text-small block"
|
||||
ng-if="Form.Heading.$dirty && Form.Heading.$error.required">Heading is required</span>
|
||||
ng-if="Form.Heading.$dirty && Form.Heading.$error.required">Title is required</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-12 form-group">
|
||||
<div class="col-md-2">
|
||||
<label>
|
||||
Description <span class="symbol required"></span>
|
||||
Message <span class="symbol required"></span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="col-md-10">
|
||||
|
||||
@ -16,15 +16,15 @@
|
||||
|
||||
<div class="col-md-2">
|
||||
<label>
|
||||
Heading <span class="symbol required"></span>
|
||||
Title <span class="symbol required"></span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="col-md-10" ng-class="{'has-error':Form.Heading.$dirty && Form.Heading.$invalid, 'has-success':Form.Heading.$valid}">
|
||||
<input type="text" placeholder="Enter Heading Name"
|
||||
<input type="text" placeholder="Enter Title"
|
||||
tabindex="1" class="form-control" name="Heading"
|
||||
ng-model="p.Heading" required/>
|
||||
<span class="error text-small block"
|
||||
ng-if="Form.Heading.$dirty && Form.Heading.$error.required">Heading is required</span>
|
||||
ng-if="Form.Heading.$dirty && Form.Heading.$error.required">Title is required</span>
|
||||
</div>
|
||||
|
||||
|
||||
@ -35,7 +35,7 @@
|
||||
<div class="col-md-12 form-group">
|
||||
<div class="col-md-2">
|
||||
<label>
|
||||
Description <span class="symbol required"></span>
|
||||
Message <span class="symbol required"></span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="col-md-10">
|
||||
|
||||
@ -12,10 +12,10 @@
|
||||
<section id="page-title">
|
||||
<div class="row">
|
||||
<div class="col-sm-8">
|
||||
<h1 class="mainTitle" translate="Add/View Batch Details"></h1>
|
||||
<!--
|
||||
<span class="mainDescription">Over a dozen reusable components built to provide popovers, media objects, navigation, tooltips and much more. </span>
|
||||
-->
|
||||
<h1 class="mainTitle" translate="Batch"></h1>
|
||||
|
||||
<span class="mainDescription">Add/View Batch Details. </span>
|
||||
|
||||
</div>
|
||||
<div ncy-breadcrumb></div>
|
||||
</div>
|
||||
@ -82,7 +82,7 @@
|
||||
<td>{{p.BatchCode}}</td>
|
||||
<td>{{p.BatchName}}</td>
|
||||
<td>{{p.UniversityName}}</td>
|
||||
<td><span ng-if="p.IsActive == 1"> Active </span><span ng-if="p.IsActive == 0">De-Active</span></td>
|
||||
<td><span ng-if="p.IsActive == 1"> Active </span><span ng-if="p.IsActive == 0">In-Active</span></td>
|
||||
<td>
|
||||
|
||||
<a class="text-azure" id="editRowBtn{{p.BatchCode}}" ng-click="setEditId(p.BatchCode);"><b class="fa fa-hover fa-pencil " aria-hidden="true"></b>
|
||||
|
||||
@ -10,10 +10,10 @@
|
||||
<section id="page-title">
|
||||
<div class="row">
|
||||
<div class="col-sm-8">
|
||||
<h1 class="mainTitle" translate="Add/View Branch Details">{{ mainTitle }}</h1>
|
||||
<!--
|
||||
<span class="mainDescription">Over a dozen reusable components built to provide popovers, media objects, navigation, tooltips and much more. </span>
|
||||
-->
|
||||
<h1 class="mainTitle" translate="Branch">{{ mainTitle }}</h1>
|
||||
|
||||
<span class="mainDescription">Add/View Branch Details. </span>
|
||||
|
||||
</div>
|
||||
<div ncy-breadcrumb></div>
|
||||
</div>
|
||||
@ -98,7 +98,7 @@
|
||||
<td>{{p.MobileNumber}}</td>
|
||||
<!-- <td>{{p.AlternateNumber}}</td>-->
|
||||
<td>{{p.LandlineNumber}}</td>
|
||||
<td><span ng-if="p.IsActive == 1"> Active </span><span ng-if="p.IsActive == 0">De-Active</span></td>
|
||||
<td><span ng-if="p.IsActive == 1"> Active </span><span ng-if="p.IsActive == 0">In-Active</span></td>
|
||||
<td>
|
||||
<a class="text-azure" id="editRowBtn{{p.BranchCode}}" ng-click="setEditId(p.BranchCode);"><b class="fa fa-hover fa-pencil " aria-hidden="true"></b>
|
||||
</a></td>
|
||||
@ -184,7 +184,7 @@
|
||||
</label>
|
||||
<input type="email" tabindex="3" placeholder="Enter Email ID" class="form-control" name="Email" ng-pattern="/^[-a-z0-9~!$%^&*_=+}{\'?]+(\.[-a-z0-9~!$%^&*_=+}{\'?]+)*@([a-z0-9_][-a-z0-9_]*(\.[-a-z0-9_]+)*\.(aero|arpa|biz|com|coop|edu|gov|info|int|mil|museum|name|net|org|pro|travel|mobi|[a-z][a-z])|([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}))(:[0-9]{1,5})?$/i"
|
||||
ng-model="myModel.email" required>
|
||||
<span class="error text-small block" ng-if="Form.Email.$dirty && Form.primaryEmail.$invalid" ng-hide="Form.Email.$error.email">Email is required.</span>
|
||||
<span class="error text-small block" ng-if="Form.Email.$dirty && Form.Email.$invalid" ng-hide="Form.Email.$error.email">Email is required.</span>
|
||||
<span class="error text-small block" ng-if="Form.Email.$error.email">Please, enter a valid email address.</span>
|
||||
<!--<span style="color:#000" class="success text-small"
|
||||
ng-if="Form.primaryEmail.$valid">It's a valid e-mail!</span>-->
|
||||
|
||||
@ -22,10 +22,9 @@
|
||||
<div class="row">
|
||||
<div class="col-sm-8">
|
||||
|
||||
<h1 class="mainTitle" translate="Recent Close Tracking Details">{{ mainTitle }}</h1>
|
||||
<!--
|
||||
<span class="mainDescription">Over a dozen reusable components built to provide popovers, media objects, navigation, tooltips and much more. </span>
|
||||
-->
|
||||
<h1 class="mainTitle" translate="Closed leads">{{ mainTitle }}</h1>
|
||||
<span class="mainDescription">View all closed leads. </span>
|
||||
|
||||
</div>
|
||||
<div ncy-breadcrumb></div>
|
||||
</div>
|
||||
@ -69,17 +68,17 @@
|
||||
<thead>
|
||||
<tr >
|
||||
<th></th>
|
||||
<th ng-click="sort('TrackingID')">Tracking ID
|
||||
<th ng-click="sort('TrackingID')">ID
|
||||
<span class="glyphicon sort-icon" ng-show="sortKey=='TrackingID'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"></span>
|
||||
</th>
|
||||
<th ng-click="sort('followupDetails')">Followup On
|
||||
<th ng-click="sort('followupDetails')">Followup
|
||||
<span class="glyphicon sort-icon" ng-show="sortKey=='followupDetails'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"></span>
|
||||
</th>
|
||||
|
||||
<th ng-click="sort('LeadName')">Student Name
|
||||
<th ng-click="sort('LeadName')">Name
|
||||
<span class="glyphicon sort-icon" ng-show="sortKey=='LeadName'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"></span>
|
||||
</th>
|
||||
<th ng-click="sort('MobileNumber')">Mobile Number
|
||||
<th ng-click="sort('MobileNumber')">Mobile
|
||||
<span class="glyphicon sort-icon" ng-show="sortKey=='MobileNumber'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"></span>
|
||||
</th>
|
||||
|
||||
@ -87,8 +86,8 @@
|
||||
<th>Course</th>
|
||||
<th>Activity
|
||||
</th>
|
||||
<th>Assigned To</th>
|
||||
<th>Created On</th>
|
||||
<th>Assigned </th>
|
||||
<th>Created </th>
|
||||
<th>Status</th>
|
||||
|
||||
</tr>
|
||||
@ -97,10 +96,10 @@
|
||||
<tr>
|
||||
|
||||
<td ng-if="p.Flag==false">
|
||||
<a class="glyphicon ng-scope fa margin-right-5 fa-flag text-grey text-extra-large" tooltip="Important" ng-click="markAsImportant(p.TrackingID,true);"></a>
|
||||
<a class="glyphicon ng-scope fa margin-right-5 fa-flag text-grey text-extra-large" tooltip="Potential" ng-click="markAsImportant(p.TrackingID,true);"></a>
|
||||
</td>
|
||||
<td ng-if="p.Flag==true">
|
||||
<a class="glyphicon ng-scope fa margin-right-5 fa-flag text-purple text-extra-large" tooltip="Important" ng-click="markAsImportant(p.TrackingID,false);"></a>
|
||||
<a class="glyphicon ng-scope fa margin-right-5 fa-flag text-purple text-extra-large" tooltip="Potential" ng-click="markAsImportant(p.TrackingID,false);"></a>
|
||||
</td>
|
||||
|
||||
<td><a class="text-orange" ng-click="setEditId(p,'','','','','',myModel.search);">{{p.TrackingID}}</a></td>
|
||||
|
||||
@ -22,10 +22,10 @@
|
||||
<div class="row">
|
||||
<div class="col-sm-8">
|
||||
|
||||
<h1 class="mainTitle" translate="Call Tracking Details">{{ mainTitle }}</h1>
|
||||
<!--
|
||||
<span class="mainDescription">Over a dozen reusable components built to provide popovers, media objects, navigation, tooltips and much more. </span>
|
||||
-->
|
||||
<h1 class="mainTitle" translate="Add/View leads details">{{ mainTitle }}</h1>
|
||||
|
||||
<span class="mainDescription">Manage new leads. </span>
|
||||
|
||||
</div>
|
||||
<div ncy-breadcrumb></div>
|
||||
</div>
|
||||
@ -88,19 +88,19 @@
|
||||
</div>
|
||||
|
||||
<div class="col-md-2">
|
||||
<input class="form-control" type="text" ng-model="search2" id="search2" autofocus tabindex="2" placeholder="Search " />
|
||||
<input class="form-control" type="text" ng-model="search2" id="search2" autofocus tabindex="2" placeholder="Search anything" />
|
||||
</div>
|
||||
<!-- Search By Activity-->
|
||||
<div class="col-md-2 col-md">
|
||||
<input class="form-control" type="text" ng-model="search3.ActivityName" id="search3" autofocus tabindex="3" placeholder="Search Activity" />
|
||||
<input class="form-control" type="text" ng-model="search3.ActivityName" id="search3" autofocus tabindex="3" placeholder=" Activity" />
|
||||
</div>
|
||||
<!-- Search By Assign To-->
|
||||
<div class="col-md-2">
|
||||
<input class="form-control" type="text" ng-model="search4.Firstname" id="search4" autofocus tabindex="4" placeholder="Search Assigned To" />
|
||||
<input class="form-control" type="text" ng-model="search4.Firstname" id="search4" autofocus tabindex="4" placeholder=" Assigned To" />
|
||||
</div>
|
||||
<!-- Search By Status-->
|
||||
<div class="col-md-2">
|
||||
<input class="form-control" type="text" ng-model="search5.statusName" id="search5" autofocus tabindex="5" placeholder="Search Status" />
|
||||
<input class="form-control" type="text" ng-model="search5.statusName" id="search5" autofocus tabindex="5" placeholder="Status" />
|
||||
</div>
|
||||
<br><br>
|
||||
</div>
|
||||
@ -129,25 +129,24 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th ng-click="sort('TrackingID')">Tracking ID
|
||||
<th ng-click="sort('TrackingID')"> ID
|
||||
<span class="glyphicon sort-icon" ng-show="sortKey=='TrackingID'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"></span>
|
||||
</th>
|
||||
<th ng-click="sort('followupDetails')">Followup On
|
||||
<th ng-click="sort('followupDetails')">Followup
|
||||
<span class="glyphicon sort-icon" ng-show="sortKey=='followupDetails'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"></span>
|
||||
</th>
|
||||
|
||||
<th ng-click="sort('LeadName')">Student Name
|
||||
<th ng-click="sort('LeadName')"> Name
|
||||
<span class="glyphicon sort-icon" ng-show="sortKey=='LeadName'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"></span>
|
||||
</th>
|
||||
<th ng-click="sort('MobileNumber')">Mobile Number
|
||||
<th ng-click="sort('MobileNumber')">Mobile
|
||||
<span class="glyphicon sort-icon" ng-show="sortKey=='MobileNumber'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"></span>
|
||||
</th>
|
||||
|
||||
<th>University</th>
|
||||
<th>Course</th>
|
||||
<th>Activity
|
||||
</th>
|
||||
<th>Assigned To</th>
|
||||
<th>Activity </th>
|
||||
<th>Assigned </th>
|
||||
<th>Status</th>
|
||||
|
||||
</tr>
|
||||
@ -155,10 +154,10 @@
|
||||
<tbody dir-paginate="p in data|unique:'TrackingID' |orderBy:sortKey:reverse|filter:search2:strict| filter:search3:strict| filter:search4:strict| filter:search5:strict|itemsPerPage:10">
|
||||
<tr>
|
||||
<td ng-if="p.Flag==false">
|
||||
<a class="glyphicon ng-scope fa margin-right-5 fa-flag text-grey text-extra-large" tooltip="Important" ng-click="markAsImportant(p.TrackingID,true);"></a>
|
||||
<a class="glyphicon ng-scope fa margin-right-5 fa-flag text-grey text-extra-large" tooltip="Potential" ng-click="markAsImportant(p.TrackingID,true);"></a>
|
||||
</td>
|
||||
<td ng-if="p.Flag==true">
|
||||
<a class="glyphicon ng-scope fa margin-right-5 fa-flag text-purple text-extra-large" tooltip="Important" ng-click="markAsImportant(p.TrackingID,false);"></a>
|
||||
<a class="glyphicon ng-scope fa margin-right-5 fa-flag text-purple text-extra-large" tooltip="Potential" ng-click="markAsImportant(p.TrackingID,false);"></a>
|
||||
</td>
|
||||
<td><a tooltip="Click To View" class="text-orange" ng-click="setEditId(p,search,search2,search3.ActivityName,search4.Firstname,search5.statusName,myModel.search,myModel.dateTo);">{{p.TrackingID}}</a></td>
|
||||
<td>{{p.followupDetails }}</td>
|
||||
@ -333,7 +332,7 @@
|
||||
<div class="col-md-3 form-group"
|
||||
ng-class="{'has-error':Form.date.$dirty && Form.date.$invalid, 'has-success':Form.date.$valid}">
|
||||
<label>
|
||||
Date <span
|
||||
Followup Date <span
|
||||
class="symbol required"></span>
|
||||
</label>
|
||||
<input type="text"
|
||||
@ -350,7 +349,7 @@
|
||||
max-date="futureDate"
|
||||
close-text="Close" required="required"/>
|
||||
<span class="error text-small block"
|
||||
ng-if="Form.date.$dirty && Form.date.$error.required">Date is required.</span>
|
||||
ng-if="Form.date.$dirty && Form.date.$error.required">Followup Date is required.</span>
|
||||
<!--<span class="success text-small block"-->
|
||||
<!--ng-if="Form.date.$valid ">Thank You</span>-->
|
||||
</div>
|
||||
|
||||
@ -22,10 +22,10 @@
|
||||
<div class="row">
|
||||
<div class="col-sm-8">
|
||||
|
||||
<h1 class="mainTitle" translate="Recent Lead Details">{{ mainTitle }}</h1>
|
||||
<!--
|
||||
<span class="mainDescription">Over a dozen reusable components built to provide popovers, media objects, navigation, tooltips and much more. </span>
|
||||
-->
|
||||
<h1 class="mainTitle" translate="Day wise leads.">{{ mainTitle }}</h1>
|
||||
|
||||
<span class="mainDescription">Leads created on a given date. </span>
|
||||
|
||||
</div>
|
||||
<div ncy-breadcrumb></div>
|
||||
</div>
|
||||
@ -69,17 +69,17 @@
|
||||
<thead>
|
||||
<tr >
|
||||
<th></th>
|
||||
<th ng-click="sort('TrackingID')">Tracking ID
|
||||
<th ng-click="sort('TrackingID')">ID
|
||||
<span class="glyphicon sort-icon" ng-show="sortKey=='TrackingID'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"></span>
|
||||
</th>
|
||||
<th ng-click="sort('followupDetails')">Followup On
|
||||
<th ng-click="sort('followupDetails')">Followup
|
||||
<span class="glyphicon sort-icon" ng-show="sortKey=='followupDetails'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"></span>
|
||||
</th>
|
||||
|
||||
<th ng-click="sort('LeadName')">Student Name
|
||||
<th ng-click="sort('LeadName')">Name
|
||||
<span class="glyphicon sort-icon" ng-show="sortKey=='LeadName'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"></span>
|
||||
</th>
|
||||
<th ng-click="sort('MobileNumber')">Mobile Number
|
||||
<th ng-click="sort('MobileNumber')">Mobile
|
||||
<span class="glyphicon sort-icon" ng-show="sortKey=='MobileNumber'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"></span>
|
||||
</th>
|
||||
|
||||
@ -87,8 +87,8 @@
|
||||
<th>Course</th>
|
||||
<th>Activity
|
||||
</th>
|
||||
<th>Assigned To</th>
|
||||
<th>Created On</th>
|
||||
<th>Assigned </th>
|
||||
<th>Created </th>
|
||||
<th>Status</th>
|
||||
|
||||
</tr>
|
||||
@ -96,10 +96,10 @@
|
||||
<tbody dir-paginate="p in data|orderBy:sortKey:reverse|filter:search:strict|filter:search2:strict| filter:search3:strict| filter:search4:strict| filter:search5:strict|itemsPerPage:10">
|
||||
<tr>
|
||||
<td ng-if="p.Flag==false">
|
||||
<a class="glyphicon ng-scope fa margin-right-5 fa-flag text-grey text-extra-large" tooltip="Important" ng-click="markAsImportant(p.TrackingID,true);"></a>
|
||||
<a class="glyphicon ng-scope fa margin-right-5 fa-flag text-grey text-extra-large" tooltip="Potential" ng-click="markAsImportant(p.TrackingID,true);"></a>
|
||||
</td>
|
||||
<td ng-if="p.Flag==true">
|
||||
<a class="glyphicon ng-scope fa margin-right-5 fa-flag text-purple text-extra-large" tooltip="Important" ng-click="markAsImportant(p.TrackingID,false);"></a>
|
||||
<a class="glyphicon ng-scope fa margin-right-5 fa-flag text-purple text-extra-large" tooltip="Potential" ng-click="markAsImportant(p.TrackingID,false);"></a>
|
||||
</td>
|
||||
<td><a class="text-orange" ng-click="setEditId(p,'','','','','',myModel.search);">{{p.TrackingID}}</a></td>
|
||||
<td>{{p.followupDetails }}</td>
|
||||
|
||||
@ -22,10 +22,10 @@
|
||||
<div class="row">
|
||||
<div class="col-sm-8">
|
||||
|
||||
<h1 class="mainTitle" translate="Recent Pending Tracking Details">{{ mainTitle }}</h1>
|
||||
<!--
|
||||
<span class="mainDescription">Over a dozen reusable components built to provide popovers, media objects, navigation, tooltips and much more. </span>
|
||||
-->
|
||||
<h1 class="mainTitle" translate="Pending leads">{{ mainTitle }}</h1>
|
||||
|
||||
<span class="mainDescription">View all pending leads.</span>
|
||||
|
||||
</div>
|
||||
<div ncy-breadcrumb></div>
|
||||
</div>
|
||||
@ -69,17 +69,17 @@
|
||||
<thead>
|
||||
<tr >
|
||||
<th></th>
|
||||
<th ng-click="sort('TrackingID')">Tracking ID
|
||||
<th ng-click="sort('TrackingID')">ID
|
||||
<span class="glyphicon sort-icon" ng-show="sortKey=='TrackingID'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"></span>
|
||||
</th>
|
||||
<th ng-click="sort('followupDetails')">Followup On
|
||||
<th ng-click="sort('followupDetails')">Followup
|
||||
<span class="glyphicon sort-icon" ng-show="sortKey=='followupDetails'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"></span>
|
||||
</th>
|
||||
|
||||
<th ng-click="sort('LeadName')">Student Name
|
||||
<th ng-click="sort('LeadName')">Name
|
||||
<span class="glyphicon sort-icon" ng-show="sortKey=='LeadName'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"></span>
|
||||
</th>
|
||||
<th ng-click="sort('MobileNumber')">Mobile Number
|
||||
<th ng-click="sort('MobileNumber')">Mobile
|
||||
<span class="glyphicon sort-icon" ng-show="sortKey=='MobileNumber'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"></span>
|
||||
</th>
|
||||
|
||||
@ -87,8 +87,8 @@
|
||||
<th>Course</th>
|
||||
<th>Activity
|
||||
</th>
|
||||
<th>Assigned To</th>
|
||||
<th>Created On</th>
|
||||
<th>Assigned</th>
|
||||
<th>Created</th>
|
||||
<th>Status</th>
|
||||
|
||||
</tr>
|
||||
@ -96,10 +96,10 @@
|
||||
<tbody dir-paginate="p in data|orderBy:sortKey:reverse|filter:search:strict|filter:search2:strict| filter:search3:strict| filter:search4:strict| filter:search5:strict|itemsPerPage:10">
|
||||
<tr>
|
||||
<td ng-if="p.Flag==false">
|
||||
<a class="glyphicon ng-scope fa margin-right-5 fa-flag text-grey text-extra-large" tooltip="Important" ng-click="markAsImportant(p.TrackingID,true);"></a>
|
||||
<a class="glyphicon ng-scope fa margin-right-5 fa-flag text-grey text-extra-large" tooltip="Potential" ng-click="markAsImportant(p.TrackingID,true);"></a>
|
||||
</td>
|
||||
<td ng-if="p.Flag==true">
|
||||
<a class="glyphicon ng-scope fa margin-right-5 fa-flag text-purple text-extra-large" tooltip="Important" ng-click="markAsImportant(p.TrackingID,false);"></a>
|
||||
<a class="glyphicon ng-scope fa margin-right-5 fa-flag text-purple text-extra-large" tooltip="Potential" ng-click="markAsImportant(p.TrackingID,false);"></a>
|
||||
</td>
|
||||
<td><a class="text-orange" ng-click="setEditId(p,'','','','','',myModel.search);">{{p.TrackingID}}</a></td>
|
||||
<td>{{p.followupDetails }}</td>
|
||||
|
||||
@ -12,10 +12,10 @@
|
||||
<section id="page-title">
|
||||
<div class="row">
|
||||
<div class="col-sm-8">
|
||||
<h1 class="mainTitle" translate="Add/View Course Details">{{ mainTitle }}</h1>
|
||||
<!--
|
||||
<span class="mainDescription">Over a dozen reusable components built to provide popovers, media objects, navigation, tooltips and much more. </span>
|
||||
-->
|
||||
<h1 class="mainTitle" translate="Course ">{{ mainTitle }}</h1>
|
||||
|
||||
<span class="mainDescription">Add/View Course Details. </span>
|
||||
|
||||
</div>
|
||||
<div ncy-breadcrumb></div>
|
||||
</div>
|
||||
@ -78,10 +78,10 @@
|
||||
</thead>
|
||||
<tbody dir-paginate="p in data|orderBy:sortKey:reverse|filter:search:strict|itemsPerPage:10">
|
||||
<tr>
|
||||
<td>{{p.CourseID}}</td>
|
||||
<td>{{p.CourseCode}}</td>
|
||||
<td>{{p.CourseName}}</td>
|
||||
<td>{{p.UniversityName}}</td>
|
||||
<td><span ng-if="p.IsActive == 1"> Active </span><span ng-if="p.IsActive == 0">De-Active</span></td>
|
||||
<td><span ng-if="p.IsActive == 1"> Active </span><span ng-if="p.IsActive == 0">In-Active</span></td>
|
||||
<td>
|
||||
<a class="text-azure" id="editRowBtn{{p.CourseID}}" ng-click="setEditId(p.CourseID,p);"><b class="fa fa-hover fa-pencil " aria-hidden="true"></b>
|
||||
</a>
|
||||
|
||||
@ -4,23 +4,26 @@
|
||||
}
|
||||
</style>
|
||||
<!-- start: DASHBOARD TITLE -->
|
||||
<section id="page-title" class="padding-top-15 padding-bottom-15">
|
||||
<!--<section id="page-title" class="padding-top-15 padding-bottom-15">
|
||||
<div class="row">
|
||||
<div class="col-sm-7">
|
||||
<h1 class="mainTitle" translate="dashboard.WELCOME" translate-values="{ appName: app.name }">{{ mainTitle }}</h1>
|
||||
<span class="mainDescription"></span>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</section> -->
|
||||
<!-- end: DASHBOARD TITLE -->
|
||||
<!-- start: FEATURED BOX LINKS -->
|
||||
<div class="container-fluid container-fullw bg-white" ng-controller="dashboardCtrl">
|
||||
<div class="row" data-ng-init="initCallTracking()">
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
|
||||
<div class="panel panel-white" id="panel1">
|
||||
<div class="panel-heading panel-white">
|
||||
<h4 class="panel-title text-green">Today Follow Up Details</h4>
|
||||
<h4 class="panel-title text-green">Follow Ups For Today : {{todayFolloupDetails.length}}</h4>
|
||||
<ct-paneltool class="panel-tools" tool-refresh="load1" ng-click="initCallTracking()"></ct-paneltool>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
@ -32,11 +35,11 @@
|
||||
<div class="panel-scroll height-180" perfect-scrollbar wheel-propagation="false" suppress-scroll-x="true" ng-if="emptyDataToday==false">
|
||||
<table class="table table-hover" ng-controller="studentModalDemoCtrl">
|
||||
<thead>
|
||||
<tr><td colspan="5" style="background:#1FBBA6;color:#fff !important">Total Entries :{{todayFolloupDetails.length}}</td></tr>
|
||||
<tr><!--<td colspan="5" style="background:#1FBBA6;color:#fff !important">Total Entries :{{todayFolloupDetails.length}}</td></tr>-->
|
||||
<tr>
|
||||
<th>Tracking ID</th>
|
||||
<th>Lead Name</th>
|
||||
<th>Mobile No</th>
|
||||
<th> ID</th>
|
||||
<th> Name</th>
|
||||
<th>Mobile </th>
|
||||
<th>Activity</th>
|
||||
<th>Status</th>
|
||||
|
||||
@ -61,11 +64,58 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="panel panel-white" id="panel3">
|
||||
<div class="panel-heading panel-white">
|
||||
<h4 class="panel-title text-purple"> Leads Created Today :{{leadDetails.length}}</h4>
|
||||
<ct-paneltool class="panel-tools" tool-refresh="load1" ng-click="initCallTracking()"></ct-paneltool>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div ng-if="emptyDataLead==true">
|
||||
<center>
|
||||
<h5 class="text-dark">No Lead Created By Today!</h5>
|
||||
</center>
|
||||
</div>
|
||||
<div class="panel-scroll height-180" perfect-scrollbar wheel-propagation="false" suppress-scroll-x="true" ng-if="emptyDataLead==false">
|
||||
<table class="table table-hover" ng-controller="studentModalDemoCtrl">
|
||||
<thead>
|
||||
<!-- <tr><td colspan="6" style="background:#DD5A82;color:#fff !important">Total Entries :{{leadDetails.length}}</td></tr> -->
|
||||
<tr>
|
||||
<th> ID</th>
|
||||
<th> Name</th>
|
||||
<th>Mobile </th>
|
||||
<th>Activity</th>
|
||||
<th>Followup </th>
|
||||
<th>Status</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody ng-repeat="lead in leadDetails">
|
||||
|
||||
<tr>
|
||||
<td>{{lead.TrackingID}}</td>
|
||||
<td><a tooltip="View Student" class="text-dark" ng-click="open(lead);">{{lead.LeadName}}</a></td>
|
||||
<td><a tooltip="View Student" class="text-dark" ng-click="open(lead);">{{lead.MobileNumber}}</a></td>
|
||||
<td>{{lead.ActivityName}}</td>
|
||||
<td>{{lead.FollowupOn}}</td>
|
||||
<td class="hidden-xs" ng-if="lead.statusName=='CLOSE'"><span class="label label-sm label-info">{{lead.statusName}}</span></td>
|
||||
<td class="hidden-xs" ng-if="lead.statusName!='CLOSE'"><span class="label label-sm label-info">{{lead.statusName}}</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
<div class="panel panel-white" id="panel2">
|
||||
<div class="panel-heading panel-white">
|
||||
<h4 class="panel-title text-red">Pending Follow Up Details</h4>
|
||||
<h4 class="panel-title text-red">Pending Follow Ups :{{pendingFolloupDetails.length}}</h4>
|
||||
<ct-paneltool class="panel-tools" tool-refresh="load1" ng-click="initCallTracking()"></ct-paneltool>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
@ -74,16 +124,17 @@
|
||||
<h5 class="text-dark">No Pending Followup!</h5>
|
||||
</center>
|
||||
</div>
|
||||
<div class="panel-scroll height-180" perfect-scrollbar wheel-propagation="false" suppress-scroll-x="true" ng-if="emptyDataPending==false">
|
||||
<div class="panel-scroll height-460" perfect-scrollbar wheel-propagation="false" suppress-scroll-x="true" ng-if="emptyDataPending==false">
|
||||
<table class="table table-hover" ng-controller="studentModalDemoCtrl">
|
||||
<thead>
|
||||
<tr><td colspan="6" style="background:#C82E29;color:#fff !important">Total Entries :{{pendingFolloupDetails.length}}</td></tr>
|
||||
<!-- <tr> -->
|
||||
<!-- <td colspan="6" style="background:#C82E29;color:#fff !important">Total Entries :{{pendingFolloupDetails.length}}</td></tr> -->
|
||||
<tr>
|
||||
<th>Tracking ID</th>
|
||||
<th>Lead Name</th>
|
||||
<th>Mobile No</th>
|
||||
<th> ID</th>
|
||||
<th> Name</th>
|
||||
<th>Mobile </th>
|
||||
<th>Activity</th>
|
||||
<th>Followup On</th>
|
||||
<th>Followup </th>
|
||||
<th>Status</th>
|
||||
|
||||
</tr>
|
||||
@ -108,10 +159,10 @@
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-sm-6">
|
||||
<!-- <div class="col-sm-6">
|
||||
<div class="panel panel-white" id="panel3">
|
||||
<div class="panel-heading panel-white">
|
||||
<h4 class="panel-title text-purple">Today Created Lead Details</h4>
|
||||
<h4 class="panel-title text-purple"> Leads Created Today :{{leadDetails.length}}</h4>
|
||||
<ct-paneltool class="panel-tools" tool-refresh="load1" ng-click="initCallTracking()"></ct-paneltool>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
@ -123,13 +174,12 @@
|
||||
<div class="panel-scroll height-180" perfect-scrollbar wheel-propagation="false" suppress-scroll-x="true" ng-if="emptyDataLead==false">
|
||||
<table class="table table-hover" ng-controller="studentModalDemoCtrl">
|
||||
<thead>
|
||||
<tr><td colspan="6" style="background:#DD5A82;color:#fff !important">Total Entries :{{leadDetails.length}}</td></tr>
|
||||
<tr>
|
||||
<th>Tracking ID</th>
|
||||
<th>Lead Name</th>
|
||||
<th>Mobile No</th>
|
||||
<tr>
|
||||
<th> ID</th>
|
||||
<th> Name</th>
|
||||
<th>Mobile </th>
|
||||
<th>Activity</th>
|
||||
<th>Followup On</th>
|
||||
<th>Followup </th>
|
||||
<th>Status</th>
|
||||
|
||||
</tr>
|
||||
@ -151,46 +201,24 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-6">
|
||||
</div> -->
|
||||
<!-- <div class="col-sm-6">
|
||||
<div class="panel panel-white no-radius">
|
||||
<div class="panel-heading border-bottom">
|
||||
<h4 class="panel-title">New Users</h4>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<!-- /// controller: 'OnotherCtrl' - localtion: assets/js/controllers/dashboardCtrl.js /// -->
|
||||
<div ng-controller="OnotherCtrl">
|
||||
<div class="text-center" data-ng-init="init()">
|
||||
<span class="mini-pie"> <canvas class="tc-chart" tc-chartjs-doughnut chart-options="options" chart-data="data" chart-legend="chart3" width="100"></canvas> <span>{{total}}</span> </span>
|
||||
<!--<span class="inline text-large no-wrap">Acquisition</span>-->
|
||||
</div>
|
||||
<div class="margin-top-20 text-center legend-xs">
|
||||
<div tc-chartjs-legend chart-legend="chart3" class="inline"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--<div class="panel-footer">
|
||||
<div class="clearfix padding-5 space5">
|
||||
<div class="col-xs-4 text-center no-padding">
|
||||
<div class="border-right border-dark">
|
||||
<span class="text-bold block text-extra-large">90%</span>
|
||||
<span class="text-light">Satisfied</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-4 text-center no-padding">
|
||||
<div class="border-right border-dark">
|
||||
<span class="text-bold block text-extra-large">2%</span>
|
||||
<span class="text-light">Unsatisfied</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-xs-4 text-center no-padding">
|
||||
<span class="text-bold block text-extra-large">8%</span>
|
||||
<span class="text-light">NA</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>-->
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
<section id="page-title">
|
||||
<div class="row">
|
||||
<div class="col-sm-8">
|
||||
<h1 class="mainTitle" translate="sidebar.nav.daybook.MAIN">{{ mainTitle }}</h1>
|
||||
<h1 class="mainTitle" translate="Approve expense">{{ mainTitle }}</h1>
|
||||
</div>
|
||||
<div ncy-breadcrumb></div>
|
||||
</div>
|
||||
@ -144,7 +144,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="table-responsive">
|
||||
<table style="width: 1200px;" class="table table-hover" ng-if="dataLengthIncome > 0">
|
||||
<table style="width: 100%;" class="table table-hover" ng-if="dataLengthIncome > 0">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
@ -169,9 +169,7 @@
|
||||
<th>Amount
|
||||
<!--<span class="glyphicon sort-icon" ng-show="sortKey=='EmailID'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"></span>-->
|
||||
</th>
|
||||
<th>Comments
|
||||
<!--<span class="glyphicon sort-icon" ng-show="sortKey=='EmailID'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"></span>-->
|
||||
</th>
|
||||
|
||||
<!--<th ng-click="sort('amount')">Status
|
||||
<span class="glyphicon sort-icon" ng-show="sortKey=='EmailID'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"></span>
|
||||
</th>-->
|
||||
@ -188,19 +186,19 @@
|
||||
<td>
|
||||
<div id="containersPara">
|
||||
<div id="wrapper">
|
||||
{{p.PaidDescription}}
|
||||
{{p.PaidDescription}} / {{p.Description}}
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
<td>{{p.TypeName}}</td>
|
||||
<td>{{p.Amount}}</td>
|
||||
<td>
|
||||
<!-- <td>
|
||||
<div id="containersPara">
|
||||
<div id="wrapper">
|
||||
{{p.Description}}
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</td> -->
|
||||
<!--<td tooltip="{{p.Approval_Comments}}"><span ng-if="p.Status == 'Pending'" style="text-transform: uppercase; text-shadow: 1px 1px #286d5f; color: #55d4bb ">{{p.Status}}</span>
|
||||
<span ng-if="p.Status == 'Approved'" style="text-transform: uppercase; text-shadow: 1px 1px #166307; color: #2be209 ">{{p.Status}}</span>
|
||||
<span ng-if="p.Status == 'Rejected'" style="text-transform: uppercase; text-shadow: 1px 1px rgb(167, 88, 15); color: rgba(236, 24, 24, 0.98823529);">{{p.Status}}</span>
|
||||
@ -239,7 +237,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="table-responsive">
|
||||
<table style="width: 1200px;" class="table table-hover" ng-if="dataLengthExpense > 0">
|
||||
<table style="width: 100%;" class="table table-hover" ng-if="dataLengthExpense > 0">
|
||||
<thead>
|
||||
<tr>
|
||||
<th ng-if="dayBookApprovalAccess == '1'">
|
||||
@ -267,9 +265,7 @@
|
||||
<th>Amount
|
||||
<!--<span class="glyphicon sort-icon" ng-show="sortKey=='EmailID'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"></span>-->
|
||||
</th>
|
||||
<th>Comments
|
||||
<!--<span class="glyphicon sort-icon" ng-show="sortKey=='EmailID'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"></span>-->
|
||||
</th>
|
||||
|
||||
<th ng-click="sort('Status')">Status
|
||||
<span class="glyphicon sort-icon" ng-show="sortKey=='Status'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"></span>
|
||||
</th>
|
||||
@ -291,19 +287,19 @@
|
||||
<td>
|
||||
<div id="containersPara">
|
||||
<div id="wrapper">
|
||||
{{p.PaidDescription}}
|
||||
{{p.PaidDescription}} / {{p.Description}}
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
<td>{{p.TypeName}}</td>
|
||||
<td>{{p.Amount}}</td>
|
||||
<td>
|
||||
<!-- <td>
|
||||
<div id="containersPara">
|
||||
<div id="wrapper">
|
||||
{{p.Description}}
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</td> -->
|
||||
<td tooltip="{{p.Approval_Comments}} BY {{p.Approved_by_name}}"><span ng-if="p.Status == 'Pending'" style="text-transform: uppercase; text-shadow: 1px 1px #286d5f; color: #55d4bb ">{{p.Status}}</span>
|
||||
<span ng-if="p.Status == 'Approved'" style="text-transform: uppercase; text-shadow: 1px 1px #166307; color: #2be209 ">{{p.Status}}</span>
|
||||
<span ng-if="p.Status == 'Rejected'" style="text-transform: uppercase; text-shadow: 1px 1px rgb(167, 88, 15); color: rgba(236, 24, 24, 0.98823529);">{{p.Status}}</span>
|
||||
@ -358,7 +354,7 @@
|
||||
|
||||
<textarea type="text" placeholder="Enter Comments" tabindex="3" class="form-control" name="description" ng-model="myStatusModel.description"
|
||||
maxlength="100" />
|
||||
<span class="text-small block">Comments Should be Less than 100 Characters.</span>
|
||||
<span class="text-small block">Max 100 Characters.</span>
|
||||
<span class="error text-small block" ng-if="Form.description.$dirty && Form.description.$error.pattern">Invalid Comments</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -181,7 +181,7 @@
|
||||
|
||||
<textarea type="text" placeholder="Enter Description" tabindex="3" class="form-control" name="editdescription_paid" ng-model="myModel.description_paid"
|
||||
maxlength="100" />
|
||||
<span class="text-small block" style="color: rgba(128, 128, 128, 0.64)">Description Should be Less than 100 Characters.</span>
|
||||
<span class="text-small block" style="color: rgba(128, 128, 128, 0.64)">Max 100 Characters.</span>
|
||||
<span class="error text-small block" ng-if="Form.editdescription_paid.$dirty && Form.editdescription_paid.$error.pattern">Invalid Description</span>
|
||||
|
||||
</div>
|
||||
@ -218,7 +218,7 @@
|
||||
|
||||
<textarea type="text" placeholder="Enter Comments" tabindex="3" class="form-control" name="editComments" ng-model="myModel.description"
|
||||
maxlength="100" />
|
||||
<span class="text-small block" style="color: rgba(128, 128, 128, 0.64)">Comments Should be Less than 100 Charactes.</span>
|
||||
<span class="text-small block" style="color: rgba(128, 128, 128, 0.64)">Max 100 Charactes.</span>
|
||||
<span class="error text-small block" ng-if="Form.description.$dirty && Form.description.$error.pattern">Invalid Comments</span>
|
||||
|
||||
</div>
|
||||
@ -311,7 +311,7 @@
|
||||
|
||||
<textarea type="text" placeholder="Enter Description" tabindex="3" class="form-control" name="description_paid" ng-model="myModelAdd.description_paid"
|
||||
maxlength="100" />
|
||||
<span class="text-small block" style="color: rgba(128, 128, 128, 0.64)">Description Should be Less than 100 Characters.</span>
|
||||
<span class="text-small block" style="color: rgba(128, 128, 128, 0.64)">Max 100 Characters.</span>
|
||||
<span class="error text-small block" ng-if="Form.description_paid.$dirty && Form.description_paid.$error.pattern">Invalid Description</span>
|
||||
|
||||
</div>
|
||||
@ -346,7 +346,7 @@
|
||||
|
||||
<textarea type="text" placeholder="Enter Comments" tabindex="3" class="form-control" name="addComments" ng-model="myModelAdd.description"
|
||||
maxlength="100" />
|
||||
<span class="text-small block" style="color: rgba(128, 128, 128, 0.64)">Comments Should be Less than 100 Characters.</span>
|
||||
<span class="text-small block" style="color: rgba(128, 128, 128, 0.64)">Max 100 Characters.</span>
|
||||
<span class="error text-small block" ng-if="Form.addComments.$dirty && Form.addComments.$error.pattern">Invalid Comments</span>
|
||||
|
||||
</div>
|
||||
|
||||
@ -359,7 +359,7 @@
|
||||
|
||||
<textarea type="text" placeholder="Enter Comments" tabindex="3" class="form-control" name="description" ng-model="myStatusModel.description"
|
||||
maxlength="100" />
|
||||
<span class="text-small block">Comments Should be Less than 100 Characters.</span>
|
||||
<span class="text-small block">Max 100 Characters.</span>
|
||||
<span class="error text-small block" ng-if="Form.description.$dirty && Form.description.$error.pattern">Invalid Comments</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -154,7 +154,7 @@
|
||||
|
||||
<div class="table-responsive">
|
||||
|
||||
<table style="width: 1200px;" class="table table-hover" ng-if="dataLengthIncome > 0">
|
||||
<table style="width: 100%;" class="table table-hover" ng-if="dataLengthIncome > 0">
|
||||
<thead>
|
||||
<tr>
|
||||
<th ng-click="sort('BranchName')">Branch
|
||||
@ -182,9 +182,7 @@
|
||||
<th>Amount
|
||||
<!--<span class="glyphicon sort-icon" ng-show="sortKey=='EmailID'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"></span>-->
|
||||
</th>
|
||||
<th>Description
|
||||
<!--<span class="glyphicon sort-icon" ng-show="sortKey=='EmailID'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"></span>-->
|
||||
</th>
|
||||
|
||||
<!--<th ng-click="sort('amount')">Status
|
||||
<span class="glyphicon sort-icon" ng-show="sortKey=='EmailID'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"></span>
|
||||
</th>-->
|
||||
@ -200,19 +198,19 @@
|
||||
<td>
|
||||
<div id="containersPara">
|
||||
<div id="wrapper">
|
||||
{{p.PaidDescription}}
|
||||
{{p.PaidDescription}} / {{p.Description}}
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
<td>{{p.TypeName}}</td>
|
||||
<td>{{p.Amount}}</td>
|
||||
<td>
|
||||
<!-- <td>
|
||||
<div id="containersPara">
|
||||
<div id="wrapper">
|
||||
{{p.Description}}
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</td> -->
|
||||
<!--<td tooltip="{{p.Approval_Comments}}"><span ng-if="p.Status == 'Pending'" style="text-transform: uppercase; text-shadow: 1px 1px #286d5f; color: #55d4bb ">{{p.Status}}</span>
|
||||
<span ng-if="p.Status == 'Approved'" style="text-transform: uppercase; text-shadow: 1px 1px #166307; color: #2be209 ">{{p.Status}}</span>
|
||||
<span ng-if="p.Status == 'Rejected'" style="text-transform: uppercase; text-shadow: 1px 1px rgb(167, 88, 15); color: rgba(236, 24, 24, 0.98823529);">{{p.Status}}</span>
|
||||
@ -258,7 +256,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="table-responsive">
|
||||
<table style="width: 1200px;" class="table table-hover" ng-if="dataLengthExpense > 0">
|
||||
<table style="width: 100%;" class="table table-hover" ng-if="dataLengthExpense > 0">
|
||||
<thead>
|
||||
<tr>
|
||||
<th ng-click="sort('BranchName')">Branch
|
||||
@ -285,9 +283,7 @@
|
||||
<th>Amount
|
||||
<!--<span class="glyphicon sort-icon" ng-show="sortKey=='EmailID'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"></span>-->
|
||||
</th>
|
||||
<th>Description
|
||||
<!--<span class="glyphicon sort-icon" ng-show="sortKey=='EmailID'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"></span>-->
|
||||
</th>
|
||||
|
||||
<th ng-click="sort('Status')">Status
|
||||
<span class="glyphicon sort-icon" ng-show="sortKey=='Status'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"></span>
|
||||
</th>
|
||||
@ -303,19 +299,19 @@
|
||||
<td>
|
||||
<div id="containersPara">
|
||||
<div id="wrapper">
|
||||
{{p.PaidDescription}}
|
||||
{{p.PaidDescription}} / {{p.Description}}
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
<td>{{p.TypeName}}</td>
|
||||
<td>{{p.Amount}}</td>
|
||||
<td>
|
||||
<!-- <td>
|
||||
<div id="containersPara">
|
||||
<div id="wrapper">
|
||||
{{p.Description}}
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</td> -->
|
||||
<td tooltip="{{p.Approval_Comments}} BY {{p.Approved_by_name}}"><span ng-if="p.Status == 'Pending'" style="text-transform: uppercase; text-shadow: 1px 1px #286d5f; color: #55d4bb ">{{p.Status}}</span>
|
||||
<span ng-if="p.Status == 'Approved'" style="text-transform: uppercase; text-shadow: 1px 1px #166307; color: #2be209 ">{{p.Status}}</span>
|
||||
<span ng-if="p.Status == 'Rejected'" style="text-transform: uppercase; text-shadow: 1px 1px rgb(167, 88, 15); color: rgba(236, 24, 24, 0.98823529);">{{p.Status}}</span>
|
||||
@ -370,7 +366,7 @@
|
||||
|
||||
<textarea type="text" placeholder="Enter Comments" tabindex="3" class="form-control" name="description" ng-model="myStatusModel.description"
|
||||
maxlength="100" />
|
||||
<span class="text-small block">Comments Should be Less than 100 Characters.</span>
|
||||
<span class="text-small block">Max 100 Characters.</span>
|
||||
<span class="error text-small block" ng-if="Form.description.$dirty && Form.description.$error.pattern">Invalid Comments</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -57,7 +57,7 @@
|
||||
ng-pattern="/^[-a-z0-9~!$%^&*_=+}{\'?]+(\.[-a-z0-9~!$%^&*_=+}{\'?]+)*@([a-z0-9_][-a-z0-9_]*(\.[-a-z0-9_]+)*\.(aero|arpa|biz|com|coop|edu|gov|info|int|mil|museum|name|net|org|pro|travel|mobi|[a-z][a-z])|([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}))(:[0-9]{1,5})?$/i"
|
||||
ng-model="p.EmailID" required>
|
||||
<span class="error text-small block"
|
||||
ng-if="Form.Email.$dirty && Form.primaryEmail.$invalid"
|
||||
ng-if="Form.Email.$dirty && Form.Email.$invalid"
|
||||
ng-hide="Form.Email.$error.email">Email is required.</span>
|
||||
<span class="error text-small block"
|
||||
ng-if="Form.Email.$error.email">Please, enter a valid email address.</span>
|
||||
|
||||
@ -17,7 +17,7 @@
|
||||
|
||||
<input type="text" placeholder="Enter Course ID"
|
||||
tabindex="2" class="form-control" name="coursecode"
|
||||
ng-model="p.CourseID" ng-pattern="/^[a-zA-Z0-9-]*$/" readonly required/>
|
||||
ng-model="p.CourseCode" ng-pattern="/^[a-zA-Z0-9-]*$/" required/>
|
||||
<span class="error text-small block"
|
||||
ng-if="Form.coursecode.$dirty && Form.coursecode.$error.required">Course id is required</span>
|
||||
<span class="error text-small block"
|
||||
|
||||
@ -207,15 +207,26 @@
|
||||
ng-pattern="/^[a-zA-Z0-9.\s]*$/" />
|
||||
<span class="error text-small block" ng-if="Form.mothername.$dirty && Form.mothername.$error.pattern">Invalid Last Name </span>
|
||||
</div>
|
||||
<div class=" col-md-4 form-group" ng-class="{'has-error':Form.emailId.$dirty && Form.emailId.$invalid, 'has-success':Form.emailId.$valid}">
|
||||
<label>
|
||||
Email ID <span class="symbol required"></span>
|
||||
</label>
|
||||
<input type="email" tabindex="6" placeholder="Enter Email ID" class="form-control" name="emailId" ng-pattern="/^[-a-z0-9~!$%^&*_=+}{\'?]+(\.[-a-z0-9~!$%^&*_=+}{\'?]+)*@([a-z0-9_][-a-z0-9_]*(\.[-a-z0-9_]+)*\.(aero|arpa|biz|com|coop|edu|gov|info|int|mil|museum|name|net|org|pro|travel|mobi|[a-z][a-z])|([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}))(:[0-9]{1,5})?$/i"
|
||||
ng-model="myModelEdit.EmailID" ng-blur='updateCheckEmailExist(myModelEdit)' required>
|
||||
<span class="error text-small block" ng-if="Form.emailId.$dirty && Form.primaryEmail.$invalid" ng-hide="Form.emailId.$error.email">Email is required.</span>
|
||||
<span class="error text-small block" ng-if="Form.emailId.$error.email">Please, enter a valid email address.</span>
|
||||
</div>
|
||||
|
||||
<div data-ng-controller="DatepickerDemoCtrl">
|
||||
<div class="col-md-4 form-group" ng-class="{'has-error':Form.dateofbirth.$dirty && Form.dateofbirth.$invalid, 'has-success':Form.dateofbirth.$valid}">
|
||||
|
||||
|
||||
<label>
|
||||
Date Of Birth <span
|
||||
class="symbol required"></span>
|
||||
</label>
|
||||
|
||||
<input type="text" tabindex="6" class="form-control " ng-click="startOpen = !startOpen" datepicker-popup="dd-MM-yyyy" ng-model="myModelEdit.DOB"
|
||||
is-open="startOpen" ng-init="startOpen = false" name="dateofbirth" datepicker-options="dateOptions"
|
||||
placeholder="Select Date of Birth" close-text="Close" required="required" ng-change="getMaxEndDate(myModel.startDate)"
|
||||
max-date="currentDate" />
|
||||
|
||||
|
||||
<span class="error text-small block" ng-if="Form.dateofbirth.$dirty && Form.dateofbirth.$invalid" ng-hide="Form.dateofbirth.$error.maxlength">Date of Birth is required.</span>
|
||||
<span class="error text-small block" ng-if="Form.dateofbirth.$error.maxlength">Enter a Valid Date of Birth</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
|
||||
@ -238,26 +249,15 @@
|
||||
ng-minlength="10" ng-maxlength="12" ng-pattern="/^[0-9]*$/" />
|
||||
<span class="error text-small block" ng-if="Form.secondaryPhone.$error.maxlength || Form.secondaryPhone.$error.minlength || Form.secondaryPhone.$error.pattern">Enter a Valid Phone Number</span>
|
||||
</div>
|
||||
|
||||
<div data-ng-controller="DatepickerDemoCtrl">
|
||||
<div class="col-md-4 form-group" ng-class="{'has-error':Form.dateofbirth.$dirty && Form.dateofbirth.$invalid, 'has-success':Form.dateofbirth.$valid}">
|
||||
|
||||
|
||||
<div class=" col-md-4 form-group" ng-class="{'has-error':Form.emailId.$dirty && Form.emailId.$invalid, 'has-success':Form.emailId.$valid}">
|
||||
<label>
|
||||
Date Of Birth <span
|
||||
class="symbol required"></span>
|
||||
</label>
|
||||
|
||||
<input type="text" tabindex="9" class="form-control " ng-click="startOpen = !startOpen" datepicker-popup="dd-MM-yyyy" ng-model="myModelEdit.DOB"
|
||||
is-open="startOpen" ng-init="startOpen = false" name="dateofbirth" datepicker-options="dateOptions"
|
||||
placeholder="Select Date of Birth" close-text="Close" required="required" ng-change="getMaxEndDate(myModel.startDate)"
|
||||
max-date="currentDate" />
|
||||
|
||||
|
||||
<span class="error text-small block" ng-if="Form.dateofbirth.$dirty && Form.dateofbirth.$invalid" ng-hide="Form.dateofbirth.$error.maxlength">Date of Birth is required.</span>
|
||||
<span class="error text-small block" ng-if="Form.dateofbirth.$error.maxlength">Enter a Valid Date of Birth</span>
|
||||
Email ID <span class="symbol required"></span>
|
||||
</label>
|
||||
<input type="email" tabindex="9" placeholder="Enter Email ID" class="form-control" name="emailId" ng-pattern="/^[-a-z0-9~!$%^&*_=+}{\'?]+(\.[-a-z0-9~!$%^&*_=+}{\'?]+)*@([a-z0-9_][-a-z0-9_]*(\.[-a-z0-9_]+)*\.(aero|arpa|biz|com|coop|edu|gov|info|int|mil|museum|name|net|org|pro|travel|mobi|[a-z][a-z])|([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}))(:[0-9]{1,5})?$/i"
|
||||
ng-model="myModelEdit.EmailID" ng-blur='updateCheckEmailExist(myModelEdit)' required>
|
||||
<span class="error text-small block" ng-if="Form.emailId.$dirty && Form.emailId.$invalid" ng-hide="Form.emailId.$error.email">Email is required.</span>
|
||||
<span class="error text-small block" ng-if="Form.emailId.$error.email">Please, enter a valid email address.</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="row">
|
||||
@ -283,32 +283,33 @@
|
||||
Qualification
|
||||
</label>
|
||||
|
||||
<input type="text" placeholder="Enter Qualification" tabindex="11" class="form-control" name="qualificaion" ng-model="myModelEdit.Qualification"
|
||||
<input type="text" placeholder="Enter Qualification" tabindex="10" class="form-control" name="qualificaion" ng-model="myModelEdit.Qualification"
|
||||
ng-pattern="/^[a-zA-Z.\s]*$/" />
|
||||
<span class="error text-small block" ng-if="Form.qualificaion.$dirty && Form.qualificaion.$error.pattern">Enter a Valid Qualification</span>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4 form-group" ng-class="{'has-error':Form.aadharNumber.$dirty && Form.aadharNumber.$invalid, 'has-success':Form.aadharNumber.$valid}">
|
||||
<label>
|
||||
Aadhar Number <span class="symbol required"></span>
|
||||
</label>
|
||||
<!--<input type="text" class="form-control" name="masked" placeholder="99/99/9999" ui-mask="99/99/9999" ng-model="x">-->
|
||||
|
||||
<input type="text" name="aadharNumber" tabindex="12" placeholder="____-____-____" ui-mask="9999-9999-9999" class="form-control"
|
||||
ng-model="myModelEdit.AadharNumber" ng-minlength="10" ng-maxlength="15" ng-pattern="/^[0-9]*$/" required>
|
||||
<span class="error text-small block" ng-if="Form.aadharNumber.$dirty && Form.aadharNumber.$invalid" ng-hide="Form.aadharNumber.$error.maxlength || Form.aadharNumber.$error.minlength || Form.aadharNumber.$error.pattern">Aadhar Number is required.</span>
|
||||
<span class="error text-small block" ng-if="Form.aadharNumber.$error.maxlength || Form.aadharNumber.$error.minlength || Form.aadharNumber.$error.pattern">Enter a Valid Aadhar Number</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-4 form-group" ng-class="{'has-error':Form.aadharNumber.$dirty && Form.aadharNumber.$invalid, 'has-success':Form.aadharNumber.$valid}">
|
||||
<label>
|
||||
Aadhar Number <span class="symbol required"></span>
|
||||
</label>
|
||||
<!--<input type="text" class="form-control" name="masked" placeholder="99/99/9999" ui-mask="99/99/9999" ng-model="x">-->
|
||||
|
||||
<input type="text" name="aadharNumber" tabindex="11" placeholder="____-____-____" ui-mask="9999-9999-9999" class="form-control"
|
||||
ng-model="myModelEdit.AadharNumber" ng-minlength="10" ng-maxlength="15" ng-pattern="/^[0-9]*$/" required>
|
||||
<span class="error text-small block" ng-if="Form.aadharNumber.$dirty && Form.aadharNumber.$invalid" ng-hide="Form.aadharNumber.$error.maxlength || Form.aadharNumber.$error.minlength || Form.aadharNumber.$error.pattern">Aadhar Number is required.</span>
|
||||
<span class="error text-small block" ng-if="Form.aadharNumber.$error.maxlength || Form.aadharNumber.$error.minlength || Form.aadharNumber.$error.pattern">Enter a Valid Aadhar Number</span>
|
||||
</div>
|
||||
<div class="col-md-4 form-group">
|
||||
<div class="row">
|
||||
<div class="col-md-6 form-group" ng-class="{'has-error':Form.otherId.$dirty && Form.otherId.$invalid}">
|
||||
<label>
|
||||
Other ID
|
||||
</label>
|
||||
<input type="text" name="otherId" tabindex="13" placeholder="Other Id" class="form-control" ng-model="myModelEdit.OtherID" ng-minlength="1"
|
||||
<input type="text" name="otherId" tabindex="12" placeholder="Other Id" class="form-control" ng-model="myModelEdit.OtherID" ng-minlength="1"
|
||||
ng-maxlength="20" ng-pattern="/^[a-zA-Z0-9 ._-]+$/">
|
||||
<span class="error text-small block" ng-if="Form.otherId.$dirty && Form.otherId.$invalid" ng-hide="Form.otherId.$error.maxlength || Form.otherId.$error.minlength || Form.otherId.$error.pattern">Aadhar Number is required.</span>
|
||||
<span class="error text-small block" ng-if="Form.otherId.$error.maxlength || Form.otherId.$error.minlength || Form.otherId.$error.pattern">Enter a Valid Details</span>
|
||||
@ -317,28 +318,32 @@
|
||||
<label>
|
||||
Other ID Details
|
||||
</label>
|
||||
<input type="text" name="otherIdDetails" tabindex="14" placeholder="Other Id Details" class="form-control" ng-model="myModelEdit.OtherIDDetails"
|
||||
<input type="text" name="otherIdDetails" tabindex="13" placeholder="Other Id Details" class="form-control" ng-model="myModelEdit.OtherIDDetails"
|
||||
ng-minlength="1" ng-maxlength="20" ng-pattern="/^[a-zA-Z0-9 ._-]+$/">
|
||||
<span class="error text-small block" ng-if="Form.otherIdDetails.$dirty && Form.otherIdDetails.$invalid" ng-hide="Form.otherIdDetails.$error.maxlength || Form.otherIdDetails.$error.minlength || Form.otherIdDetails.$error.pattern">Aadhar Number is required.</span>
|
||||
<span class="error text-small block" ng-if="Form.otherIdDetails.$error.maxlength || Form.otherIdDetails.$error.minlength || Form.otherIdDetails.$error.pattern">Enter a Valid Details</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4 form-group" ng-class="{'has-error':Form.address1.$dirty && Form.address1.$invalid}">
|
||||
<label>
|
||||
Permanent Address
|
||||
</label>
|
||||
<textarea placeholder="Enter Permanent Address" tabindex="15" class="form-control textdsc" name="address1" ng-model="myModelEdit.PermanentAddress"></textarea>
|
||||
<span class="error text-small block" ng-if="Form.address1.$dirty && Form.address1.$invalid">Permanent Address is required</span>
|
||||
</div>
|
||||
<div class="col-md-4 form-group" ng-class="{'has-error':Form.address2.$dirty && Form.address2.$invalid}">
|
||||
<label>
|
||||
Current Address
|
||||
</label>
|
||||
<textarea placeholder="Enter Current Address" tabindex="16" class="form-control textdsc" name="address2" ng-model="myModelEdit.PresentAddress"></textarea>
|
||||
<span class="error text-small block" ng-if="Form.address2.$dirty && Form.address2.$invalid">Current Address is required</span>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-4 form-group" ng-class="{'has-error':Form.address1.$dirty && Form.address1.$invalid}">
|
||||
<label>
|
||||
Permanent Address
|
||||
</label>
|
||||
<textarea placeholder="Enter Permanent Address" tabindex="14" class="form-control textdsc" name="address1" ng-model="myModelEdit.PermanentAddress"></textarea>
|
||||
<span class="error text-small block" ng-if="Form.address1.$dirty && Form.address1.$invalid">Permanent Address is required</span>
|
||||
</div>
|
||||
<div class="col-md-4 form-group" ng-class="{'has-error':Form.address2.$dirty && Form.address2.$invalid}">
|
||||
<label>
|
||||
Current Address
|
||||
</label>
|
||||
<textarea placeholder="Enter Current Address" tabindex="15" class="form-control textdsc" name="address2" ng-model="myModelEdit.PresentAddress"></textarea>
|
||||
<span class="error text-small block" ng-if="Form.address2.$dirty && Form.address2.$invalid">Current Address is required</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div data-ng-controller="DatepickerDemoCtrl">
|
||||
<div class="col-md-4 form-group" ng-class="{'has-error':Form.dateofjoining.$dirty && Form.dateofjoining.$invalid, 'has-success':Form.dateofjoining.$valid}">
|
||||
@ -346,7 +351,7 @@
|
||||
Date Of Joining <span class="symbol required"></span>
|
||||
</label>
|
||||
|
||||
<input type="text" tabindex="17" class="form-control" ng-click="startOpen = !startOpen" datepicker-popup="dd-MM-yyyy" ng-model="myModelEdit.DOJ"
|
||||
<input type="text" tabindex="16" class="form-control" ng-click="startOpen = !startOpen" datepicker-popup="dd-MM-yyyy" ng-model="myModelEdit.DOJ"
|
||||
is-open="startOpen" ng-init="startOpen = false" name="dateofjoining" datepicker-options="dateOptions"
|
||||
placeholder="Select Date of Birth" close-text="Close" required="required" ng-change="getMaxEndDate(myModel.startDate)"
|
||||
/>
|
||||
@ -355,14 +360,14 @@
|
||||
is-open="startOpen" ng-init="startOpen = false" name="dateofjoining" datepicker-options="dateOptions"
|
||||
placeholder="Select Date of Joining" close-text="Close" required="required"
|
||||
/>-->
|
||||
<span class="error text-small block" ng-if="Form.dateofjoining.$dirty && Form.dateofjoining.$error.required">Date of Joining required</span>
|
||||
<span class="error text-small block" ng-if="Form.dateofjoining.$dirty && Form.dateofjoining.$error.required">Date of Joining is required</span>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<div class="col-md-2">
|
||||
<label>
|
||||
Active/De-Active
|
||||
</label>
|
||||
@ -387,7 +392,7 @@
|
||||
<switch ng-model="p.IsActive" ng-init="p.IsActive = true" class="green"></switch>
|
||||
</div>-->
|
||||
</div>
|
||||
<div class="col-md-2">
|
||||
<div class="col-md-4">
|
||||
<img class="thumb prof" ng-src="images/{{myModelEdit.ProfilePicPath}}" />
|
||||
<style>
|
||||
.thumb {
|
||||
@ -410,14 +415,14 @@
|
||||
<div class="file-upload">
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-4">
|
||||
<div class="col-md-6">
|
||||
<h5>Update Profile Picture</h5>
|
||||
<div class=" margin-bottom-5">
|
||||
|
||||
</div>
|
||||
<input type="file" accept="image/*" ng-init="resetImage()" file-upload onchange="angular.element(this).scope().imageUpload(event)" />
|
||||
</div>
|
||||
<div class="col-md-2">
|
||||
<div class="col-md-6">
|
||||
|
||||
|
||||
<div class="form-group">
|
||||
|
||||
@ -15,10 +15,19 @@
|
||||
|
||||
<input type="text" placeholder="University Id" tabindex="1" class="form-control" name="universityId" ng-model="p.UniversityID"
|
||||
ng-pattern="/^[a-zA-Z0-9.\s]*$/" ng-blur='checkEmpIdExist()' readonly required/>
|
||||
<span class="error text-small block" ng-if="Form.universityId.$dirty && Form.universityId.$error.required">university Id</span>
|
||||
<span class="error text-small block" ng-if="Form.universityId.$dirty && Form.universityId.$error.required">University Id is required</span>
|
||||
<span class="error text-small block" ng-if="Form.universityId.$dirty && Form.universityId.$error.pattern">Invalid university Id </span>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4 form-group" ng-class="{'has-error':Form.UniversityName.$dirty && Form.UniversityName.$invalid, 'has-success':Form.UniversityName.$valid}">
|
||||
<label>
|
||||
University Name <span class="symbol required"></span>
|
||||
</label>
|
||||
|
||||
<input type="text" placeholder="University Name" tabindex="3" class="form-control" name="UniversityName" ng-model="p.UniversityName"
|
||||
required/>
|
||||
<span class="error text-small block" ng-if="Form.UniversityName.$dirty && Form.UniversityName.$invalid">University Name is required </span>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4 form-group" ng-class="{'has-error':Form.UniversityShortName.$dirty && Form.UniversityShortName.$invalid, 'has-success':Form.UniversityShortName.$valid}">
|
||||
<label>
|
||||
@ -27,18 +36,10 @@
|
||||
|
||||
<input type="text" placeholder="University Short Name" tabindex="2" class="form-control" name="UniversityShortName" ng-model="p.UniversityShortName"
|
||||
required/>
|
||||
<span class="error text-small block" ng-if="Form.UniversityShortName.$dirty && Form.UniversityShortName.$error.required">University Short Name required</span>
|
||||
<span class="error text-small block" ng-if="Form.UniversityShortName.$dirty && Form.UniversityShortName.$error.required">University Short Name is required</span>
|
||||
<!--<span class="error text-small block" ng-if="Form.UniversityShortName.$dirty && Form.UniversityShortName.$error.pattern">Invalid University Short Name </span>-->
|
||||
</div>
|
||||
<div class="col-md-4 form-group" ng-class="{'has-error':Form.UniversityName.$dirty && Form.UniversityName.$invalid, 'has-success':Form.UniversityName.$valid}">
|
||||
<label>
|
||||
University Name <span class="symbol required"></span>
|
||||
</label>
|
||||
|
||||
<input type="text" placeholder="University Name" tabindex="3" class="form-control" name="UniversityName" ng-model="p.UniversityName"
|
||||
required/>
|
||||
<span class="error text-small block" ng-if="Form.UniversityName.$dirty && Form.UniversityName.$invalid">University Name required </span>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
@ -61,7 +62,7 @@
|
||||
</label>
|
||||
<input type="email" tabindex="5" placeholder="Enter Email ID" class="form-control" name="emailId" ng-pattern="/^[-a-z0-9~!$%^&*_=+}{\'?]+(\.[-a-z0-9~!$%^&*_=+}{\'?]+)*@([a-z0-9_][-a-z0-9_]*(\.[-a-z0-9_]+)*\.(aero|arpa|biz|com|coop|edu|gov|info|int|mil|museum|name|net|org|pro|travel|mobi|[a-z][a-z])|([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}))(:[0-9]{1,5})?$/i"
|
||||
ng-model="p.EmailID" ng-blur='updateCheckEmailExist(p)' required>
|
||||
<span class="error text-small block" ng-if="Form.emailId.$dirty && Form.primaryEmail.$invalid" ng-hide="Form.emailId.$error.email">Email is required.</span>
|
||||
<span class="error text-small block" ng-if="Form.emailId.$dirty && Form.emailId.$invalid" ng-hide="Form.emailId.$error.email">Email is required.</span>
|
||||
<span class="error text-small block" ng-if="Form.emailId.$error.email">Please, enter a valid email address.</span>
|
||||
</div>
|
||||
<div class="col-md-4 form-group" ng-class="{'has-error':Form.Address.$dirty && Form.Address.$invalid, 'has-success':Form.Address.$valid}">
|
||||
|
||||
@ -2,10 +2,10 @@
|
||||
<section id="page-title">
|
||||
<div class="row">
|
||||
<div class="col-sm-8">
|
||||
<h1 class="mainTitle" translate="View/Add Employee Details">{{ mainTitle }}</h1>
|
||||
<!--
|
||||
<span class="mainDescription">Over a dozen reusable components built to provide popovers, media objects, navigation, tooltips and much more. </span>
|
||||
-->
|
||||
<h1 class="mainTitle" translate="Employee">{{ mainTitle }}</h1>
|
||||
|
||||
<span class="mainDescription">View/Add Employee Details. </span>
|
||||
|
||||
</div>
|
||||
<div ncy-breadcrumb></div>
|
||||
</div>
|
||||
@ -92,7 +92,7 @@
|
||||
<th ng-click="sort('Lastname')">Last Name
|
||||
<span class="glyphicon sort-icon" ng-show="sortKey=='Lastname'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"></span>
|
||||
</th>
|
||||
<th ng-click="sort('MobileNumber')">MobileNumber
|
||||
<th ng-click="sort('MobileNumber')">Mobile
|
||||
<span class="glyphicon sort-icon" ng-show="sortKey=='MobileNumber'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"></span>
|
||||
</th>
|
||||
<th ng-click="sort('EmailID')">Email ID
|
||||
@ -110,11 +110,14 @@
|
||||
<td>{{p.Lastname}}</td>
|
||||
<td>{{p.MobileNumber}}</td>
|
||||
<td>{{p.EmailID}}</td>
|
||||
<td><span ng-if="p.IsActive == 1"> Active </span><span ng-if="p.IsActive == 0">De-Active</span></td>
|
||||
<td><span ng-if="p.IsActive == 1"> Active </span><span ng-if="p.IsActive == 0">In-Active</span></td>
|
||||
<td style="text-align: center;">
|
||||
<input type=button class="btn btn-info btn-xs" ladda="ldloading1.zoom_in" id="editRowBtn{{p.StaffID}}" value="Personal Details"
|
||||
ng-click="setEditId(p.StaffID);getEditDetails(p);">
|
||||
<input type=button class="btn btn-blue btn-xs" id="editBranchRowBtn{{p.StaffID}}" value="Branch Details" ng-click="setEditBranchId(p.StaffID);">
|
||||
<!-- <input type=button class="btn btn-info btn-xs" ladda="ldloading1.zoom_in" id="editRowBtn{{p.StaffID}}" value="Personal Details"
|
||||
ng-click="setEditId(p.StaffID);getEditDetails(p);"> -->
|
||||
<i class="ti-user" tooltip="Personal Details" ng-click="setEditId(p.StaffID);getEditDetails(p);"></i>
|
||||
<i class="ti-map-alt" tooltip="Branch Details" ng-click="setEditBranchId(p.StaffID);"></i>
|
||||
|
||||
<!-- <input type=button class="btn btn-blue btn-xs" id="editBranchRowBtn{{p.StaffID}}" value="Branch Details" ng-click="setEditBranchId(p.StaffID);"> -->
|
||||
</td>
|
||||
</tr>
|
||||
<tr ng-show="editId === p.StaffID" ng-if="editId === p.StaffID">
|
||||
@ -170,7 +173,7 @@
|
||||
|
||||
<input type="text" placeholder="Enter Employee Id" tabindex="1" class="form-control" name="employeeId" ng-model="myModel.employeeId"
|
||||
ng-pattern="/^[a-zA-Z0-9.\s]*$/" ng-blur='checkEmpIdExist()' required/>
|
||||
<span class="error text-small block" ng-if="Form.employeeId.$dirty && Form.employeeId.$error.required">Employee Id required</span>
|
||||
<span class="error text-small block" ng-if="Form.employeeId.$dirty && Form.employeeId.$error.required">Employee Id is required</span>
|
||||
<span class="error text-small block" ng-if="Form.employeeId.$dirty && Form.employeeId.$error.pattern">Invalid Employee Id </span>
|
||||
</div>
|
||||
|
||||
@ -182,7 +185,7 @@
|
||||
|
||||
<input type="text" placeholder="Enter First Name" tabindex="2" class="form-control" name="firstname" ng-model="myModel.firstname"
|
||||
ng-pattern="/^[a-zA-Z0-9.\s]*$/" required/>
|
||||
<span class="error text-small block" ng-if="Form.firstname.$dirty && Form.firstname.$error.required">First Name required</span>
|
||||
<span class="error text-small block" ng-if="Form.firstname.$dirty && Form.firstname.$error.required">First Name is required</span>
|
||||
<span class="error text-small block" ng-if="Form.firstname.$dirty && Form.firstname.$error.pattern">Invalid First Name </span>
|
||||
</div>
|
||||
|
||||
@ -193,7 +196,7 @@
|
||||
|
||||
<input type="text" placeholder="Enter Last Name" tabindex="3" class="form-control" name="lastname" ng-model="myModel.lastname"
|
||||
ng-pattern="/^[a-zA-Z0-9.\s]*$/" required/>
|
||||
<span class="error text-small block" ng-if="Form.lastname.$dirty && Form.lastname.$error.required">Last Name required</span>
|
||||
<span class="error text-small block" ng-if="Form.lastname.$dirty && Form.lastname.$error.required">Last Name is required</span>
|
||||
<span class="error text-small block" ng-if="Form.lastname.$dirty && Form.lastname.$error.pattern">Invalid Last Name </span>
|
||||
</div>
|
||||
</div>
|
||||
@ -229,14 +232,25 @@
|
||||
ng-pattern="/^[a-zA-Z0-9.\s]*$/" />
|
||||
<span class="error text-small block" ng-if="Form.mothername.$dirty && Form.mothername.$error.pattern">Invalid Last Name </span>
|
||||
</div>
|
||||
<div class=" col-md-4 form-group" ng-class="{'has-error':Form.emailId.$dirty && Form.emailId.$invalid, 'has-success':Form.emailId.$valid}">
|
||||
<label>
|
||||
Email ID <span class="symbol required"></span>
|
||||
|
||||
<div data-ng-controller="DatepickerDemoCtrl">
|
||||
|
||||
<!--<pre>Selected date is: <em>{{myModel.dateofbirth}}</em></pre>-->
|
||||
|
||||
<div class="col-md-4 form-group" ng-class="{'has-error':Form.dateofbirth.$dirty && Form.dateofbirth.$invalid, 'has-success':Form.dateofbirth.$valid}">
|
||||
<label>
|
||||
Date Of Birth <span
|
||||
class="symbol required"></span>
|
||||
</label>
|
||||
<input type="email" tabindex="6" placeholder="Enter Email ID" class="form-control" name="emailId" ng-pattern="/^[-a-z0-9~!$%^&*_=+}{\'?]+(\.[-a-z0-9~!$%^&*_=+}{\'?]+)*@([a-z0-9_][-a-z0-9_]*(\.[-a-z0-9_]+)*\.(aero|arpa|biz|com|coop|edu|gov|info|int|mil|museum|name|net|org|pro|travel|mobi|[a-z][a-z])|([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}))(:[0-9]{1,5})?$/i"
|
||||
ng-model="myModel.emailId" ng-blur='checkEmailExist()' required>
|
||||
<span class="error text-small block" ng-if="Form.emailId.$dirty && Form.primaryEmail.$invalid" ng-hide="Form.emailId.$error.email">Email is required.</span>
|
||||
<span class="error text-small block" ng-if="Form.emailId.$error.email">Please, enter a valid email address.</span>
|
||||
<input type="text" tabindex="6" class="form-control " ng-click="startOpen = !startOpen" datepicker-popup="dd-MM-yyyy" ng-model="myModel.dateofbirth"
|
||||
is-open="startOpen" ng-init="startOpen = true" name="dateofbirth" datepicker-options="dateOptions"
|
||||
placeholder="Select Date of Birth" close-text="Close" required="required"
|
||||
ng-change="getMaxEndDate(myModel.startDate)" max-date="currentDate" />
|
||||
|
||||
|
||||
<span class="error text-small block" ng-if="Form.dateofbirth.$dirty && Form.dateofbirth.$invalid" ng-hide="Form.dateofbirth.$error.maxlength">Date of Birth is required.</span>
|
||||
<span class="error text-small block" ng-if="Form.dateofbirth.$error.maxlength">Enter a Valid Date of Birth</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
@ -265,19 +279,14 @@
|
||||
|
||||
<!--<pre>Selected date is: <em>{{myModel.dateofbirth}}</em></pre>-->
|
||||
|
||||
<div class="col-md-4 form-group" ng-class="{'has-error':Form.dateofbirth.$dirty && Form.dateofbirth.$invalid, 'has-success':Form.dateofbirth.$valid}">
|
||||
<div class=" col-md-4 form-group" ng-class="{'has-error':Form.emailId.$dirty && Form.emailId.$invalid, 'has-success':Form.emailId.$valid}">
|
||||
<label>
|
||||
Date Of Birth <span
|
||||
class="symbol required"></span>
|
||||
</label>
|
||||
<input type="text" tabindex="9" class="form-control " ng-click="startOpen = !startOpen" datepicker-popup="dd-MM-yyyy" ng-model="myModel.dateofbirth"
|
||||
is-open="startOpen" ng-init="startOpen = true" name="dateofbirth" datepicker-options="dateOptions"
|
||||
placeholder="Select Date of Birth" close-text="Close" required="required"
|
||||
ng-change="getMaxEndDate(myModel.startDate)" max-date="currentDate" />
|
||||
|
||||
|
||||
<span class="error text-small block" ng-if="Form.dateofbirth.$dirty && Form.dateofbirth.$invalid" ng-hide="Form.dateofbirth.$error.maxlength">Date of Birth is required.</span>
|
||||
<span class="error text-small block" ng-if="Form.dateofbirth.$error.maxlength">Enter a Valid Date of Birth</span>
|
||||
Email ID <span class="symbol required"></span>
|
||||
</label>
|
||||
<input type="email" tabindex="9" placeholder="Enter Email ID" class="form-control" name="emailId" ng-pattern="/^[-a-z0-9~!$%^&*_=+}{\'?]+(\.[-a-z0-9~!$%^&*_=+}{\'?]+)*@([a-z0-9_][-a-z0-9_]*(\.[-a-z0-9_]+)*\.(aero|arpa|biz|com|coop|edu|gov|info|int|mil|museum|name|net|org|pro|travel|mobi|[a-z][a-z])|([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}))(:[0-9]{1,5})?$/i"
|
||||
ng-model="myModel.emailId" ng-blur='checkEmailExist()' required>
|
||||
<span class="error text-small block" ng-if="Form.emailId.$dirty && Form.emailId.$invalid" ng-hide="Form.emailId.$error.email">Email is required.</span>
|
||||
<span class="error text-small block" ng-if="Form.emailId.$error.email">Please, enter a valid email address.</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -310,21 +319,22 @@
|
||||
<span class="error text-small block" ng-if="Form.qualificaion.$dirty && Form.qualificaion.$error.pattern">Enter a Valid Qualification</span>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4 form-group" ng-class="{'has-error':Form.aadharNumber.$dirty && Form.aadharNumber.$invalid, 'has-success':Form.aadharNumber.$valid}">
|
||||
<label>
|
||||
Aadhar Number <span class="symbol required"></span>
|
||||
</label>
|
||||
<!--<input type="text" class="form-control" name="masked" placeholder="99/99/9999" ui-mask="99/99/9999" ng-model="x">-->
|
||||
|
||||
<input type="text" name="aadharNumber" tabindex="12" placeholder="____-____-____" ui-mask="9999-9999-9999" class="form-control"
|
||||
ng-model="myModel.aadharNumber" ng-minlength="10" ng-maxlength="15" ng-pattern="/^[0-9]*$/"
|
||||
required>
|
||||
<span class="error text-small block" ng-if="Form.aadharNumber.$dirty && Form.aadharNumber.$invalid" ng-hide="Form.aadharNumber.$error.maxlength || Form.aadharNumber.$error.minlength || Form.aadharNumber.$error.pattern">Aadhar Number is required.</span>
|
||||
<span class="error text-small block" ng-if="Form.aadharNumber.$error.maxlength || Form.aadharNumber.$error.minlength || Form.aadharNumber.$error.pattern">Enter a Valid Aadhar Number</span>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-4 form-group" ng-class="{'has-error':Form.aadharNumber.$dirty && Form.aadharNumber.$invalid, 'has-success':Form.aadharNumber.$valid}">
|
||||
<label>
|
||||
Aadhar Number <span class="symbol required"></span>
|
||||
</label>
|
||||
<!--<input type="text" class="form-control" name="masked" placeholder="99/99/9999" ui-mask="99/99/9999" ng-model="x">-->
|
||||
|
||||
<input type="text" name="aadharNumber" tabindex="12" placeholder="____-____-____" ui-mask="9999-9999-9999" class="form-control"
|
||||
ng-model="myModel.aadharNumber" ng-minlength="10" ng-maxlength="15" ng-pattern="/^[0-9]*$/"
|
||||
required>
|
||||
<span class="error text-small block" ng-if="Form.aadharNumber.$dirty && Form.aadharNumber.$invalid" ng-hide="Form.aadharNumber.$error.maxlength || Form.aadharNumber.$error.minlength || Form.aadharNumber.$error.pattern">Aadhar Number is required.</span>
|
||||
<span class="error text-small block" ng-if="Form.aadharNumber.$error.maxlength || Form.aadharNumber.$error.minlength || Form.aadharNumber.$error.pattern">Enter a Valid Aadhar Number</span>
|
||||
</div>
|
||||
<div class="col-md-4 form-group">
|
||||
<div class="row">
|
||||
<div class="col-md-6 form-group" ng-class="{'has-error':Form.otherId.$dirty && Form.otherId.$invalid}">
|
||||
@ -347,6 +357,9 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-4 form-group" ng-class="{'has-error':Form.address1.$dirty && Form.address1.$invalid}">
|
||||
<label>
|
||||
Permanent Address
|
||||
@ -368,7 +381,7 @@
|
||||
<div class="file-upload">
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-6">
|
||||
<div class="col-md-12">
|
||||
|
||||
|
||||
<div class="form-group">
|
||||
@ -452,7 +465,7 @@
|
||||
is-open="startOpen" ng-init="startOpen = false" name="dateofjoining" datepicker-options="dateOptions"
|
||||
placeholder="Select Date of Joining" close-text="Close" required="required"
|
||||
/>
|
||||
<span class="error text-small block" ng-if="Form.dateofjoining.$dirty && Form.dateofjoining.$error.required">Date of Joining required</span>
|
||||
<span class="error text-small block" ng-if="Form.dateofjoining.$dirty && Form.dateofjoining.$error.required">Date of Joining is required</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -470,12 +483,12 @@
|
||||
<div class="row">
|
||||
<div class="col-md-4 form-group" ng-class="{'has-error':Form.financeModuleAccess.$dirty && Form.financeModuleAccess.$invalid, 'has-success':Form.financeModuleAccess.$valid && myModel.finaceModuleAccess == true}">
|
||||
<label>
|
||||
Day Book Access <span ng-if="myModel.finaceModuleAccess" class="symbol"></span>
|
||||
Expense Access <span ng-if="myModel.finaceModuleAccess" class="symbol"></span>
|
||||
</label>
|
||||
<div class="checkbox clip-check check-primary">
|
||||
<input type="checkbox" id="checkbox6" name="financeModuleAccess" ng-model="myModel.finaceModuleAccess">
|
||||
<label for="checkbox6">
|
||||
Day Book Approval Access
|
||||
Expense Approval Access
|
||||
</label>
|
||||
</div>
|
||||
<span ng-if="myModel.finaceModuleAccess" class="success text-small block"></span>
|
||||
|
||||
@ -65,11 +65,11 @@
|
||||
<td> {{userInfo.EmailID}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Father Name <span style="float: right;">:</span></td>
|
||||
<td>Father's Name <span style="float: right;">:</span></td>
|
||||
<td> {{userInfo.Fathername}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Mother Name <span style="float: right;">:</span></td>
|
||||
<td>Mother's Name <span style="float: right;">:</span></td>
|
||||
<td> {{userInfo.MotherName}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
@ -15,6 +15,7 @@
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li ng-class="{'active open':$state.includes('app.master')}">
|
||||
<a href="javascript:void(0)">
|
||||
<div class="item-content">
|
||||
@ -27,32 +28,34 @@
|
||||
</div>
|
||||
</a>
|
||||
<ul class="sub-menu">
|
||||
<li ui-sref-active="active">
|
||||
<a ui-sref="app.master.studentStatusUpdate">
|
||||
<span class="title" translate="sidebar.nav.master.STUDENTSTATUS"> DEFAULT STUDENT ACTIVITY</span>
|
||||
</a>
|
||||
</li>
|
||||
<li ui-sref-active="active">
|
||||
<a ui-sref="app.master.activity">
|
||||
<span class="title" translate="sidebar.nav.master.ACTIVITY"> ACTIVITY DETAILS </span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li ui-sref-active="active">
|
||||
<a ui-sref="app.master.status">
|
||||
<span class="title" translate="sidebar.nav.master.STATUS"> STATUS DETAILS</span>
|
||||
</a>
|
||||
</li>
|
||||
<li ui-sref-active="active">
|
||||
<a ui-sref="app.master.studentStatusUpdate">
|
||||
<span class="title" translate="sidebar.nav.master.STUDENTSTATUS"> DEFAULT STUDENT ACTIVITY</span>
|
||||
</a>
|
||||
</li>
|
||||
<li ui-sref-active="active">
|
||||
<a ui-sref="app.master.activity">
|
||||
<span class="title" translate="sidebar.nav.master.ACTIVITY"> ACTIVITY DETAILS </span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<a ui-sref="app.master.status">
|
||||
<span class="title" translate="sidebar.nav.master.STATUS"> STATUS DETAILS</span>
|
||||
</a>
|
||||
</li>
|
||||
<li ui-sref-active="active">
|
||||
<a ui-sref="app.master.university">
|
||||
<span class="title" translate="sidebar.nav.master.UNIVERSITY"> UNIVERSITY DETAILS </span>
|
||||
</a>
|
||||
</li>
|
||||
<li ui-sref-active="active">
|
||||
<a ui-sref="app.master.batch">
|
||||
<span class="title" translate="sidebar.nav.master.BATCH"> BATCH DETAILS </span>
|
||||
</a>
|
||||
</li>
|
||||
<li ui-sref-active="active">
|
||||
<a ui-sref="app.master.university">
|
||||
<span class="title" translate="sidebar.nav.master.UNIVERSITY"> UNIVERSITY DETAILS </span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li ui-sref-active="active">
|
||||
<a ui-sref="app.master.course">
|
||||
<span class="title" translate="sidebar.nav.master.COURSE"> COURSE DETAILS </span>
|
||||
@ -68,11 +71,7 @@
|
||||
<span class="title" translate="sidebar.nav.master.EMPLOYEE"> EMPLOYEE DETAILS </span>
|
||||
</a>
|
||||
</li>
|
||||
<li ui-sref-active="active">
|
||||
<a ui-sref="app.master.announcement">
|
||||
<span class="title" translate="sidebar.nav.master.ANNOUNCEMENT"> Announcement DETAILS </span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li ui-sref-active="active">
|
||||
<a ui-sref="app.master.dayBookMaster">
|
||||
<span class="title" translate="sidebar.nav.master.DAYBOOKMASTER"> DAY BOOK DETAILS </span>
|
||||
@ -83,6 +82,24 @@
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
<li ui-sref-active="active">
|
||||
<a ui-sref="app.master.announcement">
|
||||
<div class="item-content">
|
||||
<div class="item-media">
|
||||
<i class="ti-announcement"></i>
|
||||
</div>
|
||||
<div class="item-inner">
|
||||
<span class="title" translate="sidebar.nav.master.ANNOUNCEMENT"> ANNOUNCEMENT DETAILS </span>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
<!-- <li ui-sref-active="active">
|
||||
<a ui-sref="app.master.announcement">
|
||||
<span class="title" translate="sidebar.nav.master.ANNOUNCEMENT"> Announcement DETAILS </span>
|
||||
</a>
|
||||
</li> -->
|
||||
<li ng-class="{'active open':$state.includes('app.student')}">
|
||||
<a href="javascript:void(0)">
|
||||
<div class="item-content">
|
||||
@ -156,7 +173,7 @@
|
||||
<a href="javascript:void(0)">
|
||||
<div class="item-content">
|
||||
<div class="item-media">
|
||||
<i class="ti-layers-alt"></i>
|
||||
<i class="ti-headphone-alt"></i>
|
||||
</div>
|
||||
<div class="item-inner">
|
||||
<span class="title" translate="sidebar.nav.tracking.MAIN"> CAll TRACKING </span><i class="icon-arrow"></i>
|
||||
@ -196,7 +213,7 @@
|
||||
<a ui-sref="app.daybooksuperadmin">
|
||||
<div class="item-content">
|
||||
<div class="item-media">
|
||||
<i class="ti-check-box"></i>
|
||||
<i class="ti-money"></i>
|
||||
</div>
|
||||
<div class="item-inner">
|
||||
<span class="title" translate="sidebar.nav.daybook.MAIN">DAY BOOK</span>
|
||||
@ -208,7 +225,7 @@
|
||||
<a href="javascript:void(0)">
|
||||
<div class="item-content">
|
||||
<div class="item-media">
|
||||
<i class="ti-id-badge"></i>
|
||||
<i class="ti-comment-alt"></i>
|
||||
</div>
|
||||
<div class="item-inner">
|
||||
<span class="title" translate="sidebar.nav.sendSMSPage.MAIN">BROADCAST</span><i class="icon-arrow"></i>
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
<div class="row">
|
||||
<div class="col-sm-8">
|
||||
<h1 class="mainTitle" translate="sidebar.nav.student.status.ANSWERBOOKLET">{{ mainTitle }}</h1>
|
||||
<span class="mainDescription"></span>
|
||||
<span class="mainDescription">Update answer booklet status.</span>
|
||||
</div>
|
||||
<div ncy-breadcrumb></div>
|
||||
</div>
|
||||
@ -130,7 +130,7 @@
|
||||
<th ng-click="sort('Lastname')">Last Name
|
||||
<span class="glyphicon sort-icon" ng-show="sortKey=='Lastname'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"></span>
|
||||
</th>
|
||||
<th ng-click="sort('MobileNumber')">MobileNumber
|
||||
<th ng-click="sort('MobileNumber')">Mobile
|
||||
<span class="glyphicon sort-icon" ng-show="sortKey=='MobileNumber'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"></span>
|
||||
</th>
|
||||
<th ng-click="sort('EmailID')">Email ID
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
<div class="row">
|
||||
<div class="col-sm-8">
|
||||
<h1 class="mainTitle" translate="sidebar.nav.student.status.APPLICATION">{{ mainTitle }}</h1>
|
||||
<span class="mainDescription"></span>
|
||||
<span class="mainDescription">Update application status.</span>
|
||||
</div>
|
||||
<div ncy-breadcrumb></div>
|
||||
</div>
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
<div class="row">
|
||||
<div class="col-sm-8">
|
||||
<h1 class="mainTitle" translate="sidebar.nav.student.status.CERTIFICATION">{{ mainTitle }}</h1>
|
||||
<span class="mainDescription"></span>
|
||||
<span class="mainDescription">Update certification status.</span>
|
||||
</div>
|
||||
<div ncy-breadcrumb></div>
|
||||
</div>
|
||||
|
||||
@ -26,9 +26,9 @@
|
||||
<div class="col-sm-8">
|
||||
|
||||
<h1 class="mainTitle" translate="Student Fees Status">{{ mainTitle }}</h1>
|
||||
<!--
|
||||
<span class="mainDescription">Over a dozen reusable components built to provide popovers, media objects, navigation, tooltips and much more. </span>
|
||||
-->
|
||||
|
||||
<span class="mainDescription">Update fees status. </span>
|
||||
|
||||
</div>
|
||||
<div ncy-breadcrumb></div>
|
||||
</div>
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
<div class="row">
|
||||
<div class="col-sm-8">
|
||||
<h1 class="mainTitle" translate="sidebar.nav.student.status.STUDYMATERIAL">{{ mainTitle }}</h1>
|
||||
<span class="mainDescription"></span>
|
||||
<span class="mainDescription">Update study material status.</span>
|
||||
</div>
|
||||
<div ncy-breadcrumb></div>
|
||||
</div>
|
||||
|
||||
@ -11,10 +11,10 @@
|
||||
<section id="page-title">
|
||||
<div class="row">
|
||||
<div class="col-sm-8">
|
||||
<h1 class="mainTitle" translate="Status Details"></h1>
|
||||
<!--
|
||||
<span class="mainDescription">Over a dozen reusable components built to provide popovers, media objects, navigation, tooltips and much more. </span>
|
||||
-->
|
||||
<h1 class="mainTitle" translate="Status"></h1>
|
||||
|
||||
<span class="mainDescription">Manage various status for the entire application. </span>
|
||||
|
||||
</div>
|
||||
<div ncy-breadcrumb></div>
|
||||
</div>
|
||||
@ -77,7 +77,7 @@
|
||||
<div class="col-md-2" style="padding-top: 2.3%;">
|
||||
<div class="pull-right">
|
||||
<button type="submit" ladda="ldloading1.zoom_in" tabindex="2" class="btn btn-wide btn-success" data-style="zoom-in">
|
||||
Submit
|
||||
Add
|
||||
</button>
|
||||
<!-- <button type="submit" class="btn btn-success btn-o" tabindex="8">
|
||||
Submit
|
||||
@ -132,7 +132,7 @@
|
||||
<tr>
|
||||
<td>{{p.ListCode}}</td>
|
||||
<td>{{p.ListName}}</td>
|
||||
<td><span ng-if="p.IsActive == 1"> Active </span><span ng-if="p.IsActive == 0">De-Active</span></td>
|
||||
<td><span ng-if="p.IsActive == 1"> Active </span><span ng-if="p.IsActive == 0">In-Active</span></td>
|
||||
<td>
|
||||
<a class="text-azure" id="editRowBtn{{p.ListCode}}" ng-click="setEditId(p.ListCode);"><b class="fa fa-hover fa-pencil " aria-hidden="true"></b>
|
||||
</a>
|
||||
|
||||
@ -124,7 +124,7 @@
|
||||
</label>
|
||||
<input type="text" name="enrollmentid" tabindex="27" placeholder="Enter Entollment ID" class="form-control" ng-model="stucour.EnrollmentID"
|
||||
/>
|
||||
<span class="error text-small block" ng-if="Form.enrollmentid.$dirty && Form.enrollmentid.$error.required">Enrollment ID required</span>
|
||||
<span class="error text-small block" ng-if="Form.enrollmentid.$dirty && Form.enrollmentid.$error.required">Enrollment ID is required</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
@ -144,7 +144,7 @@
|
||||
Reason for Deactivating <span class="symbol required"></span>
|
||||
</label>
|
||||
<textarea maxlength="100" placeholder="Reason for Deactivating" tabindex="25" class="form-control textdsc" name="DeactiveComments" ng-model="stucour.DeactiveComments" required></textarea>
|
||||
<span class="text-small block">Comments Should be Less than 100 Characters.</span>
|
||||
<span class="text-small block">Max 100 Characters.</span>
|
||||
<span class="error text-small block" ng-if="Form.DeactiveComments.$dirty && Form.DeactiveComments.$invalid">De-Active Comments is required</span>
|
||||
</div>
|
||||
</div>
|
||||
@ -232,7 +232,7 @@
|
||||
</label>
|
||||
<input type="text" name="enrollmentid" tabindex="27" placeholder="Enter Entollment ID" class="form-control" ng-model="myModelCourse.enrollmentid"
|
||||
/>
|
||||
<span class="error text-small block" ng-if="FormAdd.enrollmentid.$dirty && FormAdd.enrollmentid.$error.required">Enrollment ID required</span>
|
||||
<span class="error text-small block" ng-if="FormAdd.enrollmentid.$dirty && FormAdd.enrollmentid.$error.required">Enrollment ID is required</span>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4 form-group" ng-class="{'has-error':FormAdd.dateofjoining.$dirty && FormAdd.dateofjoining.$invalid, 'has-success':FormAdd.dateofjoining.$valid}">
|
||||
@ -250,7 +250,7 @@
|
||||
placeholder="Select Date of Joining" close-text="Close" required="required" datepicker-position="top"
|
||||
max-date="todayDate"/>
|
||||
|
||||
<span class="error text-small block" ng-if="FormAdd.dateofjoining.$dirty && FormAdd.dateofjoining.$error.required">Date of Joining required</span>
|
||||
<span class="error text-small block" ng-if="FormAdd.dateofjoining.$dirty && FormAdd.dateofjoining.$error.required">Date of Joining is required</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
|
||||
@ -105,7 +105,7 @@
|
||||
</label>
|
||||
<input type="text" placeholder="Enter First Name" tabindex="2" class="form-control" name="firstname" ng-model="p.Firstname"
|
||||
ng-pattern="/^[a-zA-Z.\s]*$/" required/>
|
||||
<span class="error text-small block" ng-if="Form.firstname.$dirty && Form.firstname.$error.required">First Name required</span>
|
||||
<span class="error text-small block" ng-if="Form.firstname.$dirty && Form.firstname.$error.required">First Name is required</span>
|
||||
<span class="error text-small block" ng-if="Form.firstname.$dirty && Form.firstname.$error.pattern">Invalid First Name </span>
|
||||
</div>
|
||||
<div class="col-md-4 form-group" ng-class="{'has-error':Form.lastname.$dirty && Form.lastname.$invalid, 'has-success':Form.lastname.$valid}">
|
||||
@ -114,7 +114,7 @@
|
||||
</label>
|
||||
<input type="text" placeholder="Enter Last Name" tabindex="3" class="form-control" name="lastname" ng-model="p.Lastname"
|
||||
ng-pattern="/^[a-zA-Z.\s]*$/" required/>
|
||||
<span class="error text-small block" ng-if="Form.lastname.$dirty && Form.lastname.$error.required">Last Name required</span>
|
||||
<span class="error text-small block" ng-if="Form.lastname.$dirty && Form.lastname.$error.required">Last Name is required</span>
|
||||
<span class="error text-small block" ng-if="Form.lastname.$dirty && Form.lastname.$error.pattern">Invalid Last Name </span>
|
||||
</div>
|
||||
</div>
|
||||
@ -125,7 +125,7 @@
|
||||
</label>
|
||||
<input type="text" placeholder="Enter Father Name" tabindex="4" class="form-control" name="fathername" ng-model="p.Fathername"
|
||||
ng-pattern="/^[a-zA-Z.\s]*$/" required/>
|
||||
<span class="error text-small block" ng-if="Form.fathername.$dirty && Form.fathername.$error.required">Father Name required</span>
|
||||
<span class="error text-small block" ng-if="Form.fathername.$dirty && Form.fathername.$error.required">Father Name is required</span>
|
||||
<span class="error text-small block" ng-if="Form.fathername.$dirty && Form.fathername.$error.pattern">Invalid Father Name </span>
|
||||
</div>
|
||||
<div class="col-md-4 form-group" ng-class="{'has-error':Form.mothername.$dirty && Form.mothername.$invalid, 'has-success':Form.mothername.$valid}">
|
||||
@ -135,7 +135,7 @@
|
||||
|
||||
<input type="text" placeholder="Enter Mother Name" tabindex="5" class="form-control" name="mothername" ng-model="p.MotherName"
|
||||
ng-pattern="/^[a-zA-Z.\s]*$/" required/>
|
||||
<span class="error text-small block" ng-if="Form.mothername.$dirty && Form.mothername.$error.required">Mother Name required</span>
|
||||
<span class="error text-small block" ng-if="Form.mothername.$dirty && Form.mothername.$error.required">Mother Name is required</span>
|
||||
<span class="error text-small block" ng-if="Form.mothername.$dirty && Form.mothername.$error.pattern">Invalid Mother Name </span>
|
||||
</div>
|
||||
<div class=" col-md-4 form-group" ng-class="{'has-error':Form.emailId.$dirty && Form.emailId.$invalid, 'has-success':Form.emailId.$valid}">
|
||||
@ -144,7 +144,7 @@
|
||||
</label>
|
||||
<input type="email" tabindex="6" placeholder="Enter Email ID" class="form-control" name="emailId" ng-pattern="/^[-a-z0-9~!$%^&*_=+}{\'?]+(\.[-a-z0-9~!$%^&*_=+}{\'?]+)*@([a-z0-9_][-a-z0-9_]*(\.[-a-z0-9_]+)*\.(aero|arpa|biz|com|coop|edu|gov|info|int|mil|museum|name|net|org|pro|travel|mobi|[a-z][a-z])|([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}))(:[0-9]{1,5})?$/i"
|
||||
ng-model="p.EmailID" required>
|
||||
<span class="error text-small block" ng-if="Form.emailId.$dirty && Form.primaryEmail.$invalid" ng-hide="Form.emailId.$error.email">Email is required.</span>
|
||||
<span class="error text-small block" ng-if="Form.emailId.$dirty && Form.emailId.$invalid" ng-hide="Form.emailId.$error.email">Email is required.</span>
|
||||
<span class="error text-small block" ng-if="Form.emailId.$error.email">Please, enter a valid email address.</span>
|
||||
</div>
|
||||
</div>
|
||||
@ -345,7 +345,7 @@
|
||||
Comments
|
||||
</label>
|
||||
<textarea maxlength="100" placeholder="Enter Comments" tabindex="26" class="form-control textdsc" name="Comments" ng-model="p.Comments"></textarea>
|
||||
<span class="text-small block">Comments Should be Less than 100 Characters.</span>
|
||||
<span class="text-small block">Max 100 Characters.</span>
|
||||
<!--<span class="error text-small block" ng-if="Form.DeactiveComments.$dirty && Form.DeactiveComments.$invalid">De-Active Comments is required</span>-->
|
||||
</div>
|
||||
</div>
|
||||
@ -367,7 +367,7 @@
|
||||
</label>
|
||||
<textarea maxlength="100" placeholder="Reason for Deactivating" tabindex="25" class="form-control textdsc" name="DeactiveComments"
|
||||
ng-model="p.DeactiveComments" required></textarea>
|
||||
<span class="text-small block">Comments Should be Less than 100 Characters.</span>
|
||||
<span class="text-small block">Max 100 Characters.</span>
|
||||
<span class="error text-small block" ng-if="Form.DeactiveComments.$dirty && Form.DeactiveComments.$invalid">De-Active Comments is required</span>
|
||||
</div>
|
||||
|
||||
|
||||
@ -112,11 +112,11 @@
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Father Name</td>
|
||||
<td>Father's Name</td>
|
||||
<td>{{items.studentDetails.Fathername}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Mother Name</td>
|
||||
<td>Mother's Name</td>
|
||||
<td>
|
||||
|
||||
{{items.studentDetails.MotherName}}
|
||||
@ -177,16 +177,17 @@
|
||||
<div class="panel panel-white" id="panel2">
|
||||
<div class="panel-heading">
|
||||
<div class="clearfix padding-5 space5" >
|
||||
|
||||
<div class="col-xs-3 text-center no-padding">
|
||||
<div class="row">
|
||||
<div class="col-xs-12 text-center no-padding">
|
||||
<!--
|
||||
<h4 class="panel-title text-purple">{{course.UniversityName}} / {{course.CourseName}}</h4>
|
||||
-->
|
||||
<a class="panel-title text-blue" tooltip="University">
|
||||
{{course.UniversityName}}
|
||||
<h3> {{course.UniversityName}}</h3>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-xs-3 text-center no-padding">
|
||||
</div>
|
||||
<div class="col-xs-5 text-center no-padding">
|
||||
<a class="text-blue">
|
||||
Course : {{course.CourseName}}
|
||||
</a>
|
||||
@ -196,7 +197,7 @@
|
||||
Enrollment ID : {{course.EnrollmentID}}
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-xs-3 text-center no-padding">
|
||||
<div class="col-xs-4 text-center no-padding">
|
||||
<a class="text-blue">
|
||||
Batch Name : {{course.BatchName}}
|
||||
</a>
|
||||
|
||||
@ -258,11 +258,11 @@
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Father Name</td>
|
||||
<td>Father's Name</td>
|
||||
<td>{{studentDetails.Fathername}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Mother Name</td>
|
||||
<td>Mother's Name</td>
|
||||
<td>
|
||||
|
||||
{{studentDetails.MotherName}}
|
||||
@ -353,16 +353,17 @@
|
||||
<div class="panel panel-white" id="panel2">
|
||||
<div class="panel-heading">
|
||||
<div class="clearfix padding-5 space5" >
|
||||
|
||||
<div class="col-xs-3 text-center no-padding">
|
||||
<div class="row">
|
||||
<div class="col-xs-12 text-center no-padding">
|
||||
<!--
|
||||
<h4 class="panel-title text-purple">{{course.UniversityName}} / {{course.CourseName}}</h4>
|
||||
-->
|
||||
<a class="panel-title text-blue" tooltip="University">
|
||||
{{course.UniversityName}}
|
||||
<h3>{{course.UniversityName}}</h3>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-xs-3 text-center no-padding">
|
||||
</div>
|
||||
<div class="col-xs-5 text-center no-padding">
|
||||
<a class="text-blue">
|
||||
Course : {{course.CourseName}}
|
||||
</a>
|
||||
@ -372,7 +373,7 @@
|
||||
Enrollment ID : {{course.EnrollmentID}}
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-xs-3 text-center no-padding">
|
||||
<div class="col-xs-4 text-center no-padding">
|
||||
<a class="text-blue">
|
||||
Batch Name : {{course.BatchName}}
|
||||
</a>
|
||||
|
||||
@ -165,7 +165,7 @@
|
||||
<table class="table table-hover" ng-controller="studentModalDemoCtrl">
|
||||
<thead>
|
||||
<tr>
|
||||
<th ng-click="sort('MobileNumber')">MobileNumber
|
||||
<th ng-click="sort('MobileNumber')">Mobile
|
||||
<span class="glyphicon sort-icon" ng-show="sortKey=='MobileNumber'" ng-class="{'glyphicon-chevron-up':reverse,'glyphicon-chevron-down':!reverse}"></span>
|
||||
</th>
|
||||
<th ng-click="sort('Firstname')">Student Name
|
||||
@ -324,7 +324,7 @@
|
||||
</label>
|
||||
<input type="text" placeholder="Enter First Name" tabindex="2" class="form-control" name="firstname" ng-model="myModel.firstname"
|
||||
ng-pattern="/^[a-zA-Z.\s]*$/" required/>
|
||||
<span class="error text-small block" ng-if="Form.firstname.$dirty && Form.firstname.$error.required">First Name required</span>
|
||||
<span class="error text-small block" ng-if="Form.firstname.$dirty && Form.firstname.$error.required">First Name is required</span>
|
||||
<span class="error text-small block" ng-if="Form.firstname.$dirty && Form.firstname.$error.pattern">Invalid First Name </span>
|
||||
</div>
|
||||
<div class="col-md-4 form-group" ng-class="{'has-error':Form.lastname.$dirty && Form.lastname.$invalid, 'has-success':Form.lastname.$valid}">
|
||||
@ -333,7 +333,7 @@
|
||||
</label>
|
||||
<input type="text" placeholder="Enter Last Name" tabindex="3" class="form-control" name="lastname" ng-model="myModel.lastname"
|
||||
ng-pattern="/^[a-zA-Z.\s]*$/" required/>
|
||||
<span class="error text-small block" ng-if="Form.lastname.$dirty && Form.lastname.$error.required">Last Name required</span>
|
||||
<span class="error text-small block" ng-if="Form.lastname.$dirty && Form.lastname.$error.required">Last Name is required</span>
|
||||
<span class="error text-small block" ng-if="Form.lastname.$dirty && Form.lastname.$error.pattern">Invalid Last Name </span>
|
||||
</div>
|
||||
</div>
|
||||
@ -344,7 +344,7 @@
|
||||
</label>
|
||||
<input type="text" placeholder="Enter Father Name" tabindex="4" class="form-control" name="fathername" ng-model="myModel.fathername"
|
||||
ng-pattern="/^[a-zA-Z.\s]*$/" required/>
|
||||
<span class="error text-small block" ng-if="Form.fathername.$dirty && Form.fathername.$error.required">Father Name required</span>
|
||||
<span class="error text-small block" ng-if="Form.fathername.$dirty && Form.fathername.$error.required">Father Name is required</span>
|
||||
<span class="error text-small block" ng-if="Form.fathername.$dirty && Form.fathername.$error.pattern">Invalid Father Name </span>
|
||||
</div>
|
||||
<div class="col-md-4 form-group" ng-class="{'has-error':Form.mothername.$dirty && Form.mothername.$invalid, 'has-success':Form.mothername.$valid}">
|
||||
@ -354,7 +354,7 @@
|
||||
|
||||
<input type="text" placeholder="Enter Mother Name" tabindex="5" class="form-control" name="mothername" ng-model="myModel.mothername"
|
||||
ng-pattern="/^[a-zA-Z.\s]*$/" required/>
|
||||
<span class="error text-small block" ng-if="Form.mothername.$dirty && Form.mothername.$error.required">Mother Name required</span>
|
||||
<span class="error text-small block" ng-if="Form.mothername.$dirty && Form.mothername.$error.required">Mother Name is required</span>
|
||||
<span class="error text-small block" ng-if="Form.mothername.$dirty && Form.mothername.$error.pattern">Invalid Mother Name </span>
|
||||
</div>
|
||||
<div class=" col-md-4 form-group" ng-class="{'has-error':Form.emailId.$dirty && Form.emailId.$invalid, 'has-success':Form.emailId.$valid}">
|
||||
@ -363,7 +363,7 @@
|
||||
</label>
|
||||
<input type="email" tabindex="6" placeholder="Enter Email ID" class="form-control" name="emailId" ng-pattern="/^[-a-z0-9~!$%^&*_=+}{\'?]+(\.[-a-z0-9~!$%^&*_=+}{\'?]+)*@([a-z0-9_][-a-z0-9_]*(\.[-a-z0-9_]+)*\.(aero|arpa|biz|com|coop|edu|gov|info|int|mil|museum|name|net|org|pro|travel|mobi|[a-z][a-z])|([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}))(:[0-9]{1,5})?$/i"
|
||||
ng-model="myModel.emailId" required>
|
||||
<span class="error text-small block" ng-if="Form.emailId.$dirty && Form.primaryEmail.$invalid" ng-hide="Form.emailId.$error.email">Email is required.</span>
|
||||
<span class="error text-small block" ng-if="Form.emailId.$dirty && Form.emailId.$invalid" ng-hide="Form.emailId.$error.email">Email is required.</span>
|
||||
<span class="error text-small block" ng-if="Form.emailId.$error.email">Please, enter a valid email address.</span>
|
||||
</div>
|
||||
</div>
|
||||
@ -571,7 +571,7 @@
|
||||
Comments
|
||||
</label>
|
||||
<textarea maxlength="100" placeholder="Enter Comments" tabindex="26" class="form-control textdsc" name="Comments" ng-model="myModel.Comments"></textarea>
|
||||
<span class="text-small block">Comments Should be Less than 100 Characters.</span>
|
||||
<span class="text-small block">Max 100 Characters.</span>
|
||||
<!--<span class="error text-small block" ng-if="Form.DeactiveComments.$dirty && Form.DeactiveComments.$invalid">De-Active Comments is required</span>-->
|
||||
</div>
|
||||
</div>
|
||||
@ -599,7 +599,7 @@
|
||||
</label>
|
||||
<textarea maxlength="100" placeholder="Reason for Deactivating" tabindex="27" class="form-control textdsc" name="DeactiveComments"
|
||||
ng-model="myModel.DeactiveComments" required></textarea>
|
||||
<span class="text-small block">Comments Should be Less than 100 Characters.</span>
|
||||
<span class="text-small block">Max 100 Characters.</span>
|
||||
<span class="error text-small block" ng-if="Form.DeactiveComments.$dirty && Form.DeactiveComments.$invalid">De-Active Comments is required</span>
|
||||
</div>
|
||||
</div>
|
||||
@ -678,7 +678,7 @@
|
||||
</label>
|
||||
<input type="text" name="enrollmentid" tabindex="27" placeholder="Enter Entollment ID" class="form-control" ng-model="myModelCourseAdd.enrollmentid"
|
||||
/>
|
||||
<span class="error text-small block" ng-if="Form.enrollmentid.$dirty && Form.enrollmentid.$error.required">Enrollment ID required</span>
|
||||
<span class="error text-small block" ng-if="Form.enrollmentid.$dirty && Form.enrollmentid.$error.required">Enrollment ID is required</span>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4 form-group" ng-class="{'has-error':Form.dateofjoining.$dirty && Form.dateofjoining.$invalid, 'has-success':Form.dateofjoining.$valid}">
|
||||
@ -696,7 +696,7 @@
|
||||
placeholder="Select Date of Joining" close-text="Close" required="required" datepicker-position="top"
|
||||
max-date="todayDate"/>
|
||||
|
||||
<span class="error text-small block" ng-if="Form.dateofjoining.$dirty && Form.dateofjoining.$error.required">Date of Joining required</span>
|
||||
<span class="error text-small block" ng-if="Form.dateofjoining.$dirty && Form.dateofjoining.$error.required">Date of Joining is required</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
|
||||
@ -2,7 +2,8 @@
|
||||
<section id="page-title">
|
||||
<div class="row">
|
||||
<div class="col-sm-8">
|
||||
<h1 class="mainTitle" translate="Add/Edit Student Details">{{ mainTitle }}</h1>
|
||||
<h1 class="mainTitle" translate="Manage Student Details">{{ mainTitle }}</h1>
|
||||
<span class="mainDescription">Add/Edit Student Details. </span>
|
||||
</div>
|
||||
<div ncy-breadcrumb></div>
|
||||
</div>
|
||||
@ -350,7 +351,7 @@
|
||||
</label>
|
||||
<input type="text" placeholder="Enter First Name" tabindex="2" class="form-control" name="firstname" ng-model="myModel.firstname"
|
||||
ng-pattern="/^[a-zA-Z.\s]*$/" required/>
|
||||
<span class="error text-small block" ng-if="Form.firstname.$dirty && Form.firstname.$error.required">First Name required</span>
|
||||
<span class="error text-small block" ng-if="Form.firstname.$dirty && Form.firstname.$error.required">First Name is required</span>
|
||||
<span class="error text-small block" ng-if="Form.firstname.$dirty && Form.firstname.$error.pattern">Invalid First Name </span>
|
||||
</div>
|
||||
<div class="col-md-4 form-group" ng-class="{'has-error':Form.lastname.$dirty && Form.lastname.$invalid, 'has-success':Form.lastname.$valid}">
|
||||
@ -359,7 +360,7 @@
|
||||
</label>
|
||||
<input type="text" placeholder="Enter Last Name" tabindex="3" class="form-control" name="lastname" ng-model="myModel.lastname"
|
||||
ng-pattern="/^[a-zA-Z.\s]*$/" required/>
|
||||
<span class="error text-small block" ng-if="Form.lastname.$dirty && Form.lastname.$error.required">Last Name required</span>
|
||||
<span class="error text-small block" ng-if="Form.lastname.$dirty && Form.lastname.$error.required">Last Name is required</span>
|
||||
<span class="error text-small block" ng-if="Form.lastname.$dirty && Form.lastname.$error.pattern">Invalid Last Name </span>
|
||||
</div>
|
||||
</div>
|
||||
@ -370,7 +371,7 @@
|
||||
</label>
|
||||
<input type="text" placeholder="Enter Father Name" tabindex="4" class="form-control" name="fathername" ng-model="myModel.fathername"
|
||||
ng-pattern="/^[a-zA-Z.\s]*$/" required/>
|
||||
<span class="error text-small block" ng-if="Form.fathername.$dirty && Form.fathername.$error.required">Father Name required</span>
|
||||
<span class="error text-small block" ng-if="Form.fathername.$dirty && Form.fathername.$error.required">Father Name is required</span>
|
||||
<span class="error text-small block" ng-if="Form.fathername.$dirty && Form.fathername.$error.pattern">Invalid Father Name </span>
|
||||
</div>
|
||||
<div class="col-md-4 form-group" ng-class="{'has-error':Form.mothername.$dirty && Form.mothername.$invalid, 'has-success':Form.mothername.$valid}">
|
||||
@ -380,7 +381,7 @@
|
||||
|
||||
<input type="text" placeholder="Enter Mother Name" tabindex="5" class="form-control" name="mothername" ng-model="myModel.mothername"
|
||||
ng-pattern="/^[a-zA-Z.\s]*$/" required/>
|
||||
<span class="error text-small block" ng-if="Form.mothername.$dirty && Form.mothername.$error.required">Mother Name required</span>
|
||||
<span class="error text-small block" ng-if="Form.mothername.$dirty && Form.mothername.$error.required">Mother Name is required</span>
|
||||
<span class="error text-small block" ng-if="Form.mothername.$dirty && Form.mothername.$error.pattern">Invalid Mother Name </span>
|
||||
</div>
|
||||
<div class=" col-md-4 form-group" ng-class="{'has-error':Form.emailId.$dirty && Form.emailId.$invalid, 'has-success':Form.emailId.$valid}">
|
||||
@ -389,7 +390,7 @@
|
||||
</label>
|
||||
<input type="email" tabindex="6" placeholder="Enter Email ID" class="form-control" name="emailId" ng-pattern="/^[-a-z0-9~!$%^&*_=+}{\'?]+(\.[-a-z0-9~!$%^&*_=+}{\'?]+)*@([a-z0-9_][-a-z0-9_]*(\.[-a-z0-9_]+)*\.(aero|arpa|biz|com|coop|edu|gov|info|int|mil|museum|name|net|org|pro|travel|mobi|[a-z][a-z])|([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}))(:[0-9]{1,5})?$/i"
|
||||
ng-model="myModel.emailId" required>
|
||||
<span class="error text-small block" ng-if="Form.emailId.$dirty && Form.primaryEmail.$invalid" ng-hide="Form.emailId.$error.email">Email is required.</span>
|
||||
<span class="error text-small block" ng-if="Form.emailId.$dirty && Form.emailId.$invalid" ng-hide="Form.emailId.$error.email">Email is required.</span>
|
||||
<span class="error text-small block" ng-if="Form.emailId.$error.email">Please, enter a valid email address.</span>
|
||||
</div>
|
||||
</div>
|
||||
@ -597,7 +598,7 @@
|
||||
Comments
|
||||
</label>
|
||||
<textarea maxlength="100" placeholder="Enter Comments" tabindex="26" class="form-control textdsc" name="Comments" ng-model="myModel.Comments"></textarea>
|
||||
<span class="text-small block">Comments Should be Less than 100 Characters.</span>
|
||||
<span class="text-small block">Max 100 Characters.</span>
|
||||
<!--<span class="error text-small block" ng-if="Form.DeactiveComments.$dirty && Form.DeactiveComments.$invalid">De-Active Comments is required</span>-->
|
||||
</div>
|
||||
</div>
|
||||
@ -625,7 +626,7 @@
|
||||
</label>
|
||||
<textarea maxlength="100" placeholder="Reason for Deactivating" tabindex="27" class="form-control textdsc" name="DeactiveComments"
|
||||
ng-model="myModel.DeactiveComments" required></textarea>
|
||||
<span class="text-small block">Comments Should be Less than 100 Characters.</span>
|
||||
<span class="text-small block">Max 100 Characters.</span>
|
||||
<span class="error text-small block" ng-if="Form.DeactiveComments.$dirty && Form.DeactiveComments.$invalid">De-Active Comments is required</span>
|
||||
</div>
|
||||
</div>
|
||||
@ -704,7 +705,7 @@
|
||||
</label>
|
||||
<input type="text" name="enrollmentid" tabindex="27" placeholder="Enter Entollment ID" class="form-control" ng-model="myModelCourseAdd.enrollmentid"
|
||||
/>
|
||||
<span class="error text-small block" ng-if="Form.enrollmentid.$dirty && Form.enrollmentid.$error.required">Enrollment ID required</span>
|
||||
<span class="error text-small block" ng-if="Form.enrollmentid.$dirty && Form.enrollmentid.$error.required">Enrollment ID is required</span>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4 form-group" ng-class="{'has-error':Form.dateofjoining.$dirty && Form.dateofjoining.$invalid, 'has-success':Form.dateofjoining.$valid}">
|
||||
@ -723,7 +724,7 @@
|
||||
max-date="todayDate"
|
||||
/>
|
||||
|
||||
<span class="error text-small block" ng-if="Form.dateofjoining.$dirty && Form.dateofjoining.$error.required">Date of Joining required</span>
|
||||
<span class="error text-small block" ng-if="Form.dateofjoining.$dirty && Form.dateofjoining.$error.required">Date of Joining is required</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
|
||||
@ -11,10 +11,10 @@
|
||||
<section id="page-title">
|
||||
<div class="row">
|
||||
<div class="col-sm-8">
|
||||
<h1 class="mainTitle" translate="Student Activity Status"></h1>
|
||||
<!--
|
||||
<span class="mainDescription">Over a dozen reusable components built to provide popovers, media objects, navigation, tooltips and much more. </span>
|
||||
-->
|
||||
<h1 class="mainTitle" translate="Activity Status"></h1>
|
||||
|
||||
<span class="mainDescription">Manage statuses for each activity. </span>
|
||||
|
||||
</div>
|
||||
<div ncy-breadcrumb></div>
|
||||
</div>
|
||||
|
||||
@ -2,10 +2,10 @@
|
||||
<section id="page-title">
|
||||
<div class="row">
|
||||
<div class="col-sm-8">
|
||||
<h1 class="mainTitle" translate="View/Add University Details">{{ mainTitle }}</h1>
|
||||
<!--
|
||||
<span class="mainDescription">Over a dozen reusable components built to provide popovers, media objects, navigation, tooltips and much more. </span>
|
||||
-->
|
||||
<h1 class="mainTitle" translate="University">{{ mainTitle }}</h1>
|
||||
|
||||
<span class="mainDescription">View/Add University Details. </span>
|
||||
|
||||
</div>
|
||||
<div ncy-breadcrumb></div>
|
||||
</div>
|
||||
@ -67,7 +67,7 @@
|
||||
<td>{{p.UniversityShortName}}</td>
|
||||
<td>{{p.UniversityName}}</td>
|
||||
<td>{{p.EmailID}}</td>
|
||||
<td><span ng-if="p.IsActive == 1"> Active </span><span ng-if="p.IsActive == 0">De-Active</span></td>
|
||||
<td><span ng-if="p.IsActive == 1"> Active </span><span ng-if="p.IsActive == 0">In-Active</span></td>
|
||||
<td style="text-align: center;">
|
||||
<input type=button class="btn btn-info btn-xs" ladda="ldloading1.zoom_in" id="editRowBtn{{p.UniversityID}}" value="Modify"
|
||||
ng-click="setEditId(p.UniversityID);">
|
||||
@ -123,7 +123,7 @@
|
||||
|
||||
<input type="text" placeholder="University Id" tabindex="1" class="form-control" name="universityId" ng-model="myModel.UniversityID"
|
||||
ng-pattern="/^[a-zA-Z0-9.\s]*$/" ng-blur='checkUnivIdExist()' required/>
|
||||
<span class="error text-small block" ng-if="Form.universityId.$dirty && Form.universityId.$error.required">University Id</span>
|
||||
<span class="error text-small block" ng-if="Form.universityId.$dirty && Form.universityId.$error.required">University Id is required</span>
|
||||
<span class="error text-small block" ng-if="Form.universityId.$dirty && Form.universityId.$error.pattern">Invalid university Id </span>
|
||||
</div>
|
||||
|
||||
@ -135,7 +135,7 @@
|
||||
|
||||
<input type="text" placeholder="University Name" tabindex="3" class="form-control" name="UniversityName" ng-model="myModel.UniversityName"
|
||||
required/>
|
||||
<span class="error text-small block" ng-if="Form.UniversityName.$dirty && Form.UniversityName.$invalid">University Name required </span>
|
||||
<span class="error text-small block" ng-if="Form.UniversityName.$dirty && Form.UniversityName.$invalid">University Name is required </span>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4 form-group" ng-class="{'has-error':Form.UniversityShortName.$dirty && Form.UniversityShortName.$invalid, 'has-success':Form.UniversityShortName.$valid}">
|
||||
@ -145,7 +145,7 @@
|
||||
|
||||
<input type="text" placeholder="University Short Name" tabindex="2" class="form-control" name="UniversityShortName" ng-model="myModel.UniversityShortName"
|
||||
required/>
|
||||
<span class="error text-small block" ng-if="Form.UniversityShortName.$dirty && Form.UniversityShortName.$error.required">University Short Name required</span>
|
||||
<span class="error text-small block" ng-if="Form.UniversityShortName.$dirty && Form.UniversityShortName.$error.required">University Short Name is required</span>
|
||||
<!--<span class="error text-small block" ng-if="Form.UniversityShortName.$dirty && Form.UniversityShortName.$error.pattern">Invalid University Short Name </span>-->
|
||||
</div>
|
||||
</div>
|
||||
@ -167,7 +167,7 @@
|
||||
</label>
|
||||
<input type="email" tabindex="5" placeholder="Enter Email ID" class="form-control" name="emailId" ng-pattern="/^[-a-z0-9~!$%^&*_=+}{\'?]+(\.[-a-z0-9~!$%^&*_=+}{\'?]+)*@([a-z0-9_][-a-z0-9_]*(\.[-a-z0-9_]+)*\.(aero|arpa|biz|com|coop|edu|gov|info|int|mil|museum|name|net|org|pro|travel|mobi|[a-z][a-z])|([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}))(:[0-9]{1,5})?$/i"
|
||||
ng-model="myModel.EmailID" required>
|
||||
<span class="error text-small block" ng-if="Form.emailId.$dirty && Form.primaryEmail.$invalid" ng-hide="Form.emailId.$error.email">Email is required.</span>
|
||||
<span class="error text-small block" ng-if="Form.emailId.$dirty && Form.emailId.$invalid" ng-hide="Form.emailId.$error.email">Email is required.</span>
|
||||
<span class="error text-small block" ng-if="Form.emailId.$error.email">Please, enter a valid email address.</span>
|
||||
</div>
|
||||
<div class="col-md-4 form-group" ng-class="{'has-error':Form.Address.$dirty && Form.Address.$invalid, 'has-success':Form.Address.$valid}">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user