upate certificate type
This commit is contained in:
parent
e630965655
commit
48794a0434
@ -124,6 +124,7 @@ defined('STUDENTS_FEES_PAID') OR define('STUDENTS_FEES_PAID','T_Students_Fees_Pa
|
|||||||
defined('STUDY_MATERIAL_STATUS') OR define('STUDY_MATERIAL_STATUS','T_StudyMaterialStatus');
|
defined('STUDY_MATERIAL_STATUS') OR define('STUDY_MATERIAL_STATUS','T_StudyMaterialStatus');
|
||||||
defined('CERTIFICATION') OR define('CERTIFICATION','T_CertificationMaster');
|
defined('CERTIFICATION') OR define('CERTIFICATION','T_CertificationMaster');
|
||||||
defined('DEFAULTACTIVITY') OR define('DEFAULTACTIVITY','T_StatusMaster');
|
defined('DEFAULTACTIVITY') OR define('DEFAULTACTIVITY','T_StatusMaster');
|
||||||
|
defined('CERTIFICATION_MASTER') OR define('CERTIFICATION_MASTER','T_CertificationMaster');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -168,6 +168,11 @@ $route['getStatusListForUpdate'] = 'StatusUpdation_Controller/getStatusListForUp
|
|||||||
$route['getStudentBasicInfo'] = 'StudentView_Controller/getStudentInfo';
|
$route['getStudentBasicInfo'] = 'StudentView_Controller/getStudentInfo';
|
||||||
|
|
||||||
|
|
||||||
|
/*get certificate Details*/
|
||||||
|
$route['getCertificateDetails'] = 'Certificate_Controller/getCertificateDetails';
|
||||||
|
$route['addCertificateDetails'] = 'Certificate_Controller/addCertificateDetails';
|
||||||
|
$route['updateCertificateDetails'] = 'Certificate_Controller/updateCertificateDetails';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -125,11 +125,11 @@ class StatusUpdation_model extends CI_Model
|
|||||||
$this->db->select('ListName');
|
$this->db->select('ListName');
|
||||||
$this->db->from(PICK_LIST_DETAILS);
|
$this->db->from(PICK_LIST_DETAILS);
|
||||||
$this->db->where('ListCode', $listCode);
|
$this->db->where('ListCode', $listCode);
|
||||||
$this->db->or_like('ListName', 'RECEIVED');
|
// $this->db->or_like('ListName', 'RECEIVED');
|
||||||
$this->db->or_like('ListName', 'ISSUED');
|
// $this->db->or_like('ListName', 'ISSUED');
|
||||||
$statusDetails = $this->db->get()->first_row();
|
$statusDetails = $this->db->get()->first_row();
|
||||||
// echo count($statusDetails);exit();
|
// echo $statusDetails->ListName;exit();
|
||||||
if ( count($statusDetails) == 1) {
|
if ( $statusDetails->ListName == 'RECEIVED' || $statusDetails->ListName == 'ISSUED') {
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
@ -67,7 +67,8 @@
|
|||||||
"EMPLOYEE": "EMPLOYEE DETAILS",
|
"EMPLOYEE": "EMPLOYEE DETAILS",
|
||||||
"ANNOUNCEMENT": "ANNOUNCEMENT DETAILS",
|
"ANNOUNCEMENT": "ANNOUNCEMENT DETAILS",
|
||||||
"STATUS": "STATUS DETAILS",
|
"STATUS": "STATUS DETAILS",
|
||||||
"STUDENTSTATUS": "DEFAULT STUDENT ACTIVITY"
|
"STUDENTSTATUS": "DEFAULT STUDENT ACTIVITY",
|
||||||
|
"CERTIFICATETYPE": "CERTIFICATE TYPE"
|
||||||
},
|
},
|
||||||
"student": {
|
"student": {
|
||||||
"MAIN": "MANAGE STUDENTS",
|
"MAIN": "MANAGE STUDENTS",
|
||||||
|
|||||||
@ -142,6 +142,10 @@ app.constant('JS_REQUIRES', {
|
|||||||
* student Certification status updation
|
* student Certification status updation
|
||||||
* */
|
* */
|
||||||
'applicationStatusCtrl': 'assets/js/controllers/applicationStatusCtrl.js',
|
'applicationStatusCtrl': 'assets/js/controllers/applicationStatusCtrl.js',
|
||||||
|
/*
|
||||||
|
* Certificate Type
|
||||||
|
* */
|
||||||
|
'certificateCtrl': 'assets/js/controllers/certificateCtrl.js',
|
||||||
|
|
||||||
|
|
||||||
'studentStatusUpdateCtrl':'assets/js/controllers/studentStatusUpdateCtrl.js',
|
'studentStatusUpdateCtrl':'assets/js/controllers/studentStatusUpdateCtrl.js',
|
||||||
|
|||||||
@ -165,6 +165,15 @@ app.config(['$stateProvider', '$urlRouterProvider', '$controllerProvider', '$com
|
|||||||
ncyBreadcrumb: {
|
ncyBreadcrumb: {
|
||||||
label: 'Status'
|
label: 'Status'
|
||||||
},
|
},
|
||||||
|
}).state('app.master.certificateType', {
|
||||||
|
url: '/certificates',
|
||||||
|
templateUrl: "assets/views/certificate/certificate.html",
|
||||||
|
resolve: loadSequence('ui.select','certificateCtrl','ngTable', 'ladda', 'angular-ladda'),
|
||||||
|
title: 'Certrificates',
|
||||||
|
ncyBreadcrumb: {
|
||||||
|
label: 'Certificates'
|
||||||
|
},
|
||||||
|
// resolve: loadSequence('iconsCtrl')
|
||||||
}).state('app.master.activity', {
|
}).state('app.master.activity', {
|
||||||
url: '/activity',
|
url: '/activity',
|
||||||
templateUrl: "assets/views/activity.html",
|
templateUrl: "assets/views/activity.html",
|
||||||
|
|||||||
@ -127,7 +127,7 @@
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr ng-show="editId === p.CertificationID" ng-if="editId === p.CertificationID">
|
<tr ng-show="editId === p.CertificationID" ng-if="editId === p.CertificationID">
|
||||||
<td colspan="12" ng-include src="'assets/views/editCertificationDetails.html'"></td>
|
<td colspan="12" ng-include src="'assets/views/certificate/editCertificationDetails.html'"></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|||||||
@ -76,6 +76,7 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<!--<li ng-class="{'active open':$state.includes('app.student')}">
|
<!--<li ng-class="{'active open':$state.includes('app.student')}">
|
||||||
@ -190,6 +191,11 @@
|
|||||||
<span class="title" translate="sidebar.nav.master.ANNOUNCEMENT"> Announcement DETAILS </span>
|
<span class="title" translate="sidebar.nav.master.ANNOUNCEMENT"> Announcement DETAILS </span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
<li ui-sref-active="active" >
|
||||||
|
<a ui-sref="app.master.certificateType">
|
||||||
|
<span class="title" translate="sidebar.nav.master.CERTIFICATETYPE"> CERTIFICATETYPE</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user