employee add live issue

This commit is contained in:
venbatechnologies@gmail.com 2019-01-10 10:41:17 +05:30
parent 84c0305438
commit b73c6674f7
3 changed files with 9 additions and 5 deletions

View File

@ -176,6 +176,9 @@ class Employee_Controller extends REST_Controller {
public function addEmployee_post() {
$data = $this->post('data');
//print_r($data);die();
$createdBy = $this->post('createdBy');
$imagename = '';

View File

@ -45,7 +45,8 @@ app.controller('staffCtrl', ["$scope", "toaster", "$filter", "ngTableParams", "$
'role': '',
'jobResponsibility': '',
'switchsetting': true,
'finaceModuleAccess': false
'finaceModuleAccess': false,
'callModuleAccess':false
};
var data = '';
$scope.roleDetails = '';
@ -386,7 +387,7 @@ app.controller('staffCtrl', ["$scope", "toaster", "$filter", "ngTableParams", "$
$scope.addEmpBranchDetails = function(emp, form) {
// console.log(form);return false;;
// console.log($scope.empAddBranchDetails.callModuleAccess);return false;;
if (form.$invalid) {
var field = null, firstError = null;
for (field in form) {

View File

@ -114,8 +114,8 @@
Call Tracking Access <span ng-if="empRoleDetail.callModuleAccess" class="symbol"></span>
</label>
<div class="checkbox clip-check check-primary">
<input type="checkbox" id="checkbox7" name="CalltrackingAccess" ng-model="empEditBranchDetails.callModuleAccess">
<label for="checkbox7">
<input type="checkbox" id="checkbox8" name="CalltrackingAccess" ng-model="empEditBranchDetails.callModuleAccess">
<label for="checkbox8">
Call Tracking Access
</label>
</div>