call tracking

This commit is contained in:
venbatechnologies@gmail.com 2019-01-04 16:26:02 +05:30
parent 306599f181
commit d19263b556
8 changed files with 236 additions and 30 deletions

View File

@ -89,6 +89,7 @@ defined('ADMIN') OR define('ADMIN','R003');
defined('EMPLOYEE') OR define('EMPLOYEE','R002'); defined('EMPLOYEE') OR define('EMPLOYEE','R002');
defined('STUDENT') OR define('STUDENT','R001'); defined('STUDENT') OR define('STUDENT','R001');
defined('TRAINEE') OR define('TRAINEE','R005'); defined('TRAINEE') OR define('TRAINEE','R005');
defined('CALLADMIN') OR define('CALLADMIN','R006');
//status code //status code
defined('OPEN') OR define('OPEN','S001'); defined('OPEN') OR define('OPEN','S001');
defined('CLOSE') OR define('CLOSE','S002'); defined('CLOSE') OR define('CLOSE','S002');

View File

@ -204,6 +204,8 @@ class Employee_Controller extends REST_Controller {
$req['FinanceModuleAccess'] = $data['finaceModuleAccess']; $req['FinanceModuleAccess'] = $data['finaceModuleAccess'];
$req['CallModuleAccess'] = $data['callModuleAccess'];
$req['DOJ'] = $data['dateofjoining']; $req['DOJ'] = $data['dateofjoining'];
$req['JobResponsibility'] = $data['jobResponsibility']; $req['JobResponsibility'] = $data['jobResponsibility'];
// $req['DOJ'] = $data['dateofjoining']; // $req['DOJ'] = $data['dateofjoining'];
@ -448,6 +450,7 @@ class Employee_Controller extends REST_Controller {
$req['JobResponsibility'] = $this->post('JobResponsibility'); $req['JobResponsibility'] = $this->post('JobResponsibility');
$req['FinanceModuleAccess'] = $this->post('FinanceModuleAccess') == 1 ? '1' : '0'; $req['FinanceModuleAccess'] = $this->post('FinanceModuleAccess') == 1 ? '1' : '0';
$req['CallModuleAccess'] = $this->post('CallModuleAccess') == 1 ? '1' : '0';
$req['CreatedBy'] = $this->post('updateBy'); $req['CreatedBy'] = $this->post('updateBy');
$date = date('Y-m-d H:i:s'); $date = date('Y-m-d H:i:s');
$req['IsActive'] = '1'; $req['IsActive'] = '1';
@ -480,12 +483,16 @@ class Employee_Controller extends REST_Controller {
$req['HomeBranch'] = $this->post('HomeBranch'); $req['HomeBranch'] = $this->post('HomeBranch');
$req['FinanceModuleAccess'] = $this->post('FinanceModuleAccess') == 1 ? '1' : '0'; $req['FinanceModuleAccess'] = $this->post('FinanceModuleAccess') == 1 ? '1' : '0';
$req['CallModuleAccess'] = $this->post('CallModuleAccess') == 1 ? '1' : '0';
$req['IsActive'] = $this->post('IsActive') == 1 ? '1' : '0'; $req['IsActive'] = $this->post('IsActive') == 1 ? '1' : '0';
// echo $req['FinanceModuleAccess'];exit(); // echo $req['FinanceModuleAccess'];exit();
$req['UpdatedBy'] = $this->post('updateBy'); $req['UpdatedBy'] = $this->post('updateBy');
$date = date('Y-m-d H:i:s'); $date = date('Y-m-d H:i:s');
$req['UpdatedOn'] = $date; $req['UpdatedOn'] = $date;
// echo $req['CallModuleAccess'];die();
$updateFor = $this->post('ID'); $updateFor = $this->post('ID');
$updateBranch = $this->employee_model->upate_employee_branch( $updateFor, $req );// Check if the employee exist $updateBranch = $this->employee_model->upate_employee_branch( $updateFor, $req );// Check if the employee exist

View File

@ -235,6 +235,11 @@ class Calltracking_model extends CI_Model {
if($userType== SUPER_ADMIN){ if($userType== SUPER_ADMIN){
$this->db->where('STB.BranchCode',$branchID); $this->db->where('STB.BranchCode',$branchID);
} }
if($userType== TRAINEE){
$this->db->where('STB.BranchCode',$branchID);
$this->db->where('LO.ID',$requestedBy);
}
$staffDetails=$this->db->get(); $staffDetails=$this->db->get();
if($staffDetails){ if($staffDetails){
$result_staff = array(); $result_staff = array();
@ -486,6 +491,58 @@ class Calltracking_model extends CI_Model {
public function getTrackingDetails($search=null,$status) public function getTrackingDetails($search=null,$status)
{ {
//print_r($search);die();
$userno = $search['requestedBy'];
$branch = $search['CreatedBranch'];
//echo $branch;die();
// echo $search['requestedDept'] ;die();
$EMPID = '';
$this->db->select('StaffID');
$this->db->from('T_Login');
$this->db->where('ID',$userno);
$EmpidDetails = $this->db->get();
//print_r($EmpidDetails->result());die();
$Empidarray = $EmpidDetails->result();
foreach($Empidarray as $em)
{
$EMPID = $em->StaffID;
}
$this->db->select('CallModuleAccess');
$this->db->from('T_Staff_BranchAccess');
$this->db->where('StaffID',$EMPID);
$this->db->where('BranchCode',$branch);
$callaccessdetails = $this->db->get();
$callaccessdetails = $callaccessdetails->result();
// print_r($callaccessdetails);die() ;
$CallModuleAccess='0';
foreach($callaccessdetails as $ca)
{
if($ca->CallModuleAccess !='')
{
$CallModuleAccess = $ca->CallModuleAccess;
}
}
// echo $CallModuleAccess;die();
$this->db->select('LTF.FollowupOn,LD.LeadID,LD.LeadName,LD.MobileNumber,LD.IsNewEnquiry,LT.TrackingID,LT.ActivityStatus,LT.AssignedTo,LT.StatusCode,LT.University,LT.Course,LT.AlternateMobile,LT.Address,LT.Flag,ST.StaffID,ST.Firstname,PLD1.ListCode as statusListCode,PLD1.ListName as statusListName,AV.ActivityID,AV.ActivityName,LTF.FollowupComments,LT.ReferredBy as ReferredBy'); $this->db->select('LTF.FollowupOn,LD.LeadID,LD.LeadName,LD.MobileNumber,LD.IsNewEnquiry,LT.TrackingID,LT.ActivityStatus,LT.AssignedTo,LT.StatusCode,LT.University,LT.Course,LT.AlternateMobile,LT.Address,LT.Flag,ST.StaffID,ST.Firstname,PLD1.ListCode as statusListCode,PLD1.ListName as statusListName,AV.ActivityID,AV.ActivityName,LTF.FollowupComments,LT.ReferredBy as ReferredBy');
$this->db->from(LEAD_TRACKING_FOLLOWUP.' as LTF'); $this->db->from(LEAD_TRACKING_FOLLOWUP.' as LTF');
$this->db->join(LEAD_TRACKING.' as LT','LT.TrackingID=LTF.TrackingID'); $this->db->join(LEAD_TRACKING.' as LT','LT.TrackingID=LTF.TrackingID');
@ -497,14 +554,16 @@ class Calltracking_model extends CI_Model {
$this->db->where('PLD1.ListName !=', 'CLOSE'); $this->db->where('PLD1.ListName !=', 'CLOSE');
$this->db->where('LTF.IsActive', '1'); $this->db->where('LTF.IsActive', '1');
if($search['CreatedBranch'] !='All' AND $search['requestedDept'] != EMPLOYEE){ if($search['CreatedBranch'] !='All'){
$this->db->where('LT.CreatedBranch', $search['CreatedBranch']); $this->db->where('LT.CreatedBranch', $search['CreatedBranch']);
} }
if ($search['requestedDept'] == EMPLOYEE){ // if (($search['requestedDept'] == EMPLOYEE)||($search['requestedDept'] == TRAINEE)){
if (($CallModuleAccess == '0')&&($search['requestedDept'] != SUPER_ADMIN)){
$this->db->where('LT.AssignedTo', $search['requestedBy']); $this->db->where('LT.AssignedTo', $search['requestedBy']);
$this->db->where('LT.CreatedBranch', $search['CreatedBranch']); // $this->db->where('LT.CreatedBranch', $search['CreatedBranch']);
} }
if($search['searchDate']!='' OR $search['searchDate']!=null){ if($search['searchDate']!='' OR $search['searchDate']!=null){
@ -526,6 +585,9 @@ class Calltracking_model extends CI_Model {
$leadDet=$this->db->get(); $leadDet=$this->db->get();
// print_r($this->db->last_query());die();
if($this->db->affected_rows()==0){ if($this->db->affected_rows()==0){
$result_array['trackingStatus']=false; $result_array['trackingStatus']=false;
$result_array['trackingDetails']=""; $result_array['trackingDetails']="";
@ -572,7 +634,7 @@ class Calltracking_model extends CI_Model {
} }
} }
//print_r($result_array);die();
if($status!=true) if($status!=true)
@ -618,6 +680,61 @@ class Calltracking_model extends CI_Model {
public function getPrevPendingTrackingDetails($search=null) public function getPrevPendingTrackingDetails($search=null)
{ {
$userno = $search['requestedBy'];
$branch = $search['CreatedBranch'];
// echo $userno;die();
// echo $search['requestedDept'] ;die();
$EMPID = '';
$this->db->select('StaffID');
$this->db->from('T_Login');
$this->db->where('ID',$userno);
$EmpidDetails = $this->db->get();
//print_r($EmpidDetails->result());die();
$Empidarray = $EmpidDetails->result();
foreach($Empidarray as $em)
{
$EMPID = $em->StaffID;
}
$this->db->select('CallModuleAccess');
$this->db->from('T_Staff_BranchAccess');
$this->db->where('StaffID',$EMPID);
$this->db->where('BranchCode',$branch);
$callaccessdetails = $this->db->get();
$callaccessdetails = $callaccessdetails->result();
// print_r($callaccessdetails);die() ;
$CallModuleAccess='0';
foreach($callaccessdetails as $ca)
{
if($ca->CallModuleAccess !='')
{
$CallModuleAccess = $ca->CallModuleAccess;
}
}
$this->db->select('LTF.FollowupOn,LD.LeadID,LD.LeadName,LD.MobileNumber,LD.IsNewEnquiry,LT.TrackingID,LT.ActivityStatus,LT.AssignedTo,LT.StatusCode,LT.University,LT.Course,LT.AlternateMobile,LT.Address,LT.Flag,ST.StaffID,ST.Firstname,PLD1.ListCode as statusListCode,PLD1.ListName as statusListName,AV.ActivityID,AV.ActivityName,LTF.FollowupComments'); $this->db->select('LTF.FollowupOn,LD.LeadID,LD.LeadName,LD.MobileNumber,LD.IsNewEnquiry,LT.TrackingID,LT.ActivityStatus,LT.AssignedTo,LT.StatusCode,LT.University,LT.Course,LT.AlternateMobile,LT.Address,LT.Flag,ST.StaffID,ST.Firstname,PLD1.ListCode as statusListCode,PLD1.ListName as statusListName,AV.ActivityID,AV.ActivityName,LTF.FollowupComments');
$this->db->from(LEAD_TRACKING_FOLLOWUP.' as LTF'); $this->db->from(LEAD_TRACKING_FOLLOWUP.' as LTF');
$this->db->join(LEAD_TRACKING.' as LT','LT.TrackingID=LTF.TrackingID'); $this->db->join(LEAD_TRACKING.' as LT','LT.TrackingID=LTF.TrackingID');
@ -628,12 +745,13 @@ class Calltracking_model extends CI_Model {
$this->db->join(PICK_LIST_DETAILS.' as PLD1', 'PLD1.ListCode = LT.StatusCode'); $this->db->join(PICK_LIST_DETAILS.' as PLD1', 'PLD1.ListCode = LT.StatusCode');
$this->db->where('LTF.IsActive', '1'); $this->db->where('LTF.IsActive', '1');
$this->db->where('PLD1.ListName !=', 'CLOSE'); $this->db->where('PLD1.ListName !=', 'CLOSE');
if($search['CreatedBranch'] !='All' AND $search['requestedDept'] != EMPLOYEE){ if($search['CreatedBranch'] !='All'){
$this->db->where('LT.CreatedBranch', $search['CreatedBranch']); $this->db->where('LT.CreatedBranch', $search['CreatedBranch']);
} }
if ($search['requestedDept'] == EMPLOYEE){ // if ($search['requestedDept'] == EMPLOYEE
if (($CallModuleAccess == '0')&& ($search['requestedDept'] != SUPER_ADMIN)){
$this->db->where('LT.AssignedTo', $search['requestedBy']); $this->db->where('LT.AssignedTo', $search['requestedBy']);
$this->db->where('LT.CreatedBranch', $search['CreatedBranch']); $this->db->where('LT.CreatedBranch', $search['CreatedBranch']);

View File

@ -364,6 +364,7 @@ class Employee_model extends CI_Model
$branchArr['ListCode'] = $empArr['ListCode']; $branchArr['ListCode'] = $empArr['ListCode'];
$branchArr['JobResponsibility'] = $empArr['JobResponsibility']; $branchArr['JobResponsibility'] = $empArr['JobResponsibility'];
$branchArr['FinanceModuleAccess'] = $empArr['FinanceModuleAccess']; $branchArr['FinanceModuleAccess'] = $empArr['FinanceModuleAccess'];
$branchArr['CallModuleAccess'] = $empArr['CallModuleAccess'];
$branchArr['HomeBranch'] = 1; $branchArr['HomeBranch'] = 1;
$this->db->insert(STAFF_BRANCH, $branchArr); $this->db->insert(STAFF_BRANCH, $branchArr);
if ($this->db->affected_rows() == '1') { if ($this->db->affected_rows() == '1') {

View File

@ -437,9 +437,11 @@ $scope.trackingTodayno=0;
// console.log(myModel); // console.log(logcheck);
var logcheck = JSON.parse(localStorage.getItem('localObj')); var logcheck = JSON.parse(localStorage.getItem('localObj'));
//console.log(logcheck);
const LOCALTYPE = logcheck.localType; const LOCALTYPE = logcheck.localType;
if (logcheck != null && (LOCALTYPE == 'R003' || LOCALTYPE == 'R004' || LOCALTYPE == 'R002' || LOCALTYPE=='R005')) { if (logcheck != null && (LOCALTYPE == 'R003' || LOCALTYPE == 'R004' || LOCALTYPE == 'R002' || LOCALTYPE=='R005')) {

View File

@ -242,6 +242,7 @@ app.controller('staffCtrl', ["$scope", "toaster", "$filter", "ngTableParams", "$
'JobResponsibility': '', 'JobResponsibility': '',
'IsActive': '', 'IsActive': '',
'FinanceModuleAccess': '', 'FinanceModuleAccess': '',
'callModuleAccess':'',
'HomeBranch': '', 'HomeBranch': '',
'IsActive': '' 'IsActive': ''
} }
@ -257,6 +258,7 @@ app.controller('staffCtrl', ["$scope", "toaster", "$filter", "ngTableParams", "$
$scope.empEditBranchDetails.BranchCode = p.BranchCode; $scope.empEditBranchDetails.BranchCode = p.BranchCode;
$scope.empEditBranchDetails.JobResponsibility = p.JobResponsibility; $scope.empEditBranchDetails.JobResponsibility = p.JobResponsibility;
$scope.empEditBranchDetails.FinanceModuleAccess = p.FinanceModuleAccess == 1 ? true : false; $scope.empEditBranchDetails.FinanceModuleAccess = p.FinanceModuleAccess == 1 ? true : false;
$scope.empEditBranchDetails.callModuleAccess = p.CallModuleAccess == 1 ? true : false;
$scope.empEditBranchDetails.HomeBranch = p.HomeBranch; $scope.empEditBranchDetails.HomeBranch = p.HomeBranch;
$scope.empEditBranchDetails.IsActive = p.IsActive == 1 ? true : false ; $scope.empEditBranchDetails.IsActive = p.IsActive == 1 ? true : false ;
} }
@ -274,6 +276,7 @@ app.controller('staffCtrl', ["$scope", "toaster", "$filter", "ngTableParams", "$
'JobResponsibility': '', 'JobResponsibility': '',
'IsActive': '', 'IsActive': '',
'FinanceModuleAccess': '', 'FinanceModuleAccess': '',
'callModuleAccess':'',
'HomeBranch': '', 'HomeBranch': '',
'IsActive': '' 'IsActive': ''
} }
@ -311,6 +314,7 @@ app.controller('staffCtrl', ["$scope", "toaster", "$filter", "ngTableParams", "$
'updateBranch': $scope.empEditBranchDetails.BranchCode, 'updateBranch': $scope.empEditBranchDetails.BranchCode,
'updateBy': localDetails.localUserID, 'updateBy': localDetails.localUserID,
'FinanceModuleAccess': $scope.empEditBranchDetails.FinanceModuleAccess == true ? 1 : 0, 'FinanceModuleAccess': $scope.empEditBranchDetails.FinanceModuleAccess == true ? 1 : 0,
'CallModuleAccess': $scope.empEditBranchDetails.callModuleAccess == true ? 1 : 0,
'HomeBranch': $scope.empEditBranchDetails.HomeBranch, 'HomeBranch': $scope.empEditBranchDetails.HomeBranch,
'IsActive': $scope.empEditBranchDetails.IsActive == true ? 1 : 0 'IsActive': $scope.empEditBranchDetails.IsActive == true ? 1 : 0
} }
@ -376,10 +380,13 @@ app.controller('staffCtrl', ["$scope", "toaster", "$filter", "ngTableParams", "$
'BranchCode': '', 'BranchCode': '',
'JobResponsibility': '', 'JobResponsibility': '',
'IsActive': '', 'IsActive': '',
'FinanceModuleAccess': '' 'FinanceModuleAccess': '',
'callModuleAccess':''
} }
$scope.addEmpBranchDetails = function(emp, form) { $scope.addEmpBranchDetails = function(emp, form) {
// console.log(form);return false;;
if (form.$invalid) { if (form.$invalid) {
var field = null, firstError = null; var field = null, firstError = null;
for (field in form) { for (field in form) {
@ -403,8 +410,9 @@ app.controller('staffCtrl', ["$scope", "toaster", "$filter", "ngTableParams", "$
'updateBranch': $scope.empAddBranchDetails.BranchCode, 'updateBranch': $scope.empAddBranchDetails.BranchCode,
'updateBy': localDetails.localUserID, 'updateBy': localDetails.localUserID,
'FinanceModuleAccess': $scope.empAddBranchDetails.FinanceModuleAccess == true ? 1 : 0, 'FinanceModuleAccess': $scope.empAddBranchDetails.FinanceModuleAccess == true ? 1 : 0,
'CallModuleAccess': $scope.empAddBranchDetails.callModuleAccess == true ? 1 : 0,
} }
// console.log($scope.addEmpNewBranch);return false;
var req = { var req = {
method: 'POST', method: 'POST',
url: apiPoint.url + 'addEmpBranchDetail/', url: apiPoint.url + 'addEmpBranchDetail/',
@ -600,6 +608,10 @@ app.controller('staffCtrl', ["$scope", "toaster", "$filter", "ngTableParams", "$
// add empolyee // add empolyee
$scope.employeeForm = { $scope.employeeForm = {
submit: function (form, myModel) { submit: function (form, myModel) {
//alert('in');return false;
// var formate = "yyyy-MM-dd'T'HH:mm:ssZ"; // var formate = "yyyy-MM-dd'T'HH:mm:ssZ";
// var date = $filter('date')(new Date($scope.myModel.dateofbirth), formate); // var date = $filter('date')(new Date($scope.myModel.dateofbirth), formate);
// alert(date); // alert(date);
@ -631,6 +643,9 @@ app.controller('staffCtrl', ["$scope", "toaster", "$filter", "ngTableParams", "$
// alert(JSON.stringify($scope.myModel)); // alert(JSON.stringify($scope.myModel));
//console.log(myModel);return false;
var idProof = $scope.files[0]; var idProof = $scope.files[0];
if (idProof !== undefined) { if (idProof !== undefined) {
var formData = new FormData(); var formData = new FormData();
@ -704,7 +719,9 @@ app.controller('staffCtrl', ["$scope", "toaster", "$filter", "ngTableParams", "$
'role': '', 'role': '',
'jobResponsibility': '', 'jobResponsibility': '',
'switchsetting': true, 'switchsetting': true,
'finaceModuleAccess': false 'finaceModuleAccess': false,
'callModuleAccess':false
}; };
} }
} }

View File

@ -12,18 +12,13 @@
<table class="table"> <table class="table">
<thead> <thead>
<tr> <tr>
<th>Branch <th>Branch</th>
</th> <th>Role</th>
<th>Role <th>JobResponsibility</th>
</th> <th>FinanceModule Access</th>
<th>JobResponsibility <th>CallTracking Access</th>
</th> <th>Status</th>
<th>FinanceModule Access <th></th>
</th>
<th>Status
</th>
<th>
</th>
</tr> </tr>
</thead> </thead>
<tbody ng-repeat="s in empBranchs"> <tbody ng-repeat="s in empBranchs">
@ -33,6 +28,12 @@
<td>{{s.JobResponsibility}}</td> <td>{{s.JobResponsibility}}</td>
<td><span ng-if="s.FinanceModuleAccess == 1">Active</span> <td><span ng-if="s.FinanceModuleAccess == 1">Active</span>
<span ng-if="s.FinanceModuleAccess == 0">In-Active</span></td> <span ng-if="s.FinanceModuleAccess == 0">In-Active</span></td>
<td><span ng-if="s.CallModuleAccess == 1">Active</span>
<span ng-if="s.CallModuleAccess == 0">In-Active</span></td>
<td><span ng-if="s.IsActive == 1" style="color: green">Active</span> <td><span ng-if="s.IsActive == 1" style="color: green">Active</span>
<span ng-if="s.IsActive == 0" style="color: red">In-Active</span></td> <span ng-if="s.IsActive == 0" style="color: red">In-Active</span></td>
<td ng-click="getEmpEditBranchDetails(s)" ng-hide = "localUserListCode == 'R003' && s.ListCode == 'R003'" > <td ng-click="getEmpEditBranchDetails(s)" ng-hide = "localUserListCode == 'R003' && s.ListCode == 'R003'" >
@ -105,6 +106,27 @@
</div> </div>
<span ng-if="myModel.finaceModuleAccess" class="success text-small block"></span> <span ng-if="myModel.finaceModuleAccess" class="success text-small block"></span>
</div> </div>
<div class="col-md-4 form-group" ng-class="{'has-error':Form.CalltrackingAccess.$dirty && Form.CalltrackingAccess.$invalid, 'has-success':Form.CalltrackingAccess.$valid && empRoleDetail.callModuleAccess == true}">
<label>
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">
Call Tracking Access
</label>
</div>
<span ng-if="myModel.finaceModuleAccess" class="success text-small block"></span>
</div>
<div class="col-md-4 form-group" ng-class="{'has-error':Form.activeStatus.$dirty && Form.activeStatus.$invalid, 'has-success':Form.activeStatus.$valid && empRoleDetail.activeStatus == true}"> <div class="col-md-4 form-group" ng-class="{'has-error':Form.activeStatus.$dirty && Form.activeStatus.$invalid, 'has-success':Form.activeStatus.$valid && empRoleDetail.activeStatus == true}">
<label> <label>
Status Status
@ -183,6 +205,28 @@
</div> </div>
<span ng-if="myModel.finaceModuleAccess" class="success text-small block"></span> <span ng-if="myModel.finaceModuleAccess" class="success text-small block"></span>
</div> </div>
<div class="col-md-4 form-group" ng-class="{'has-error':Form.CalltrackingAccess.$dirty && Form.CalltrackingAccess.$invalid, 'has-success':Form.CalltrackingAccess.$valid && empAddBranchDetails.callModuleAccess == true}">
<label>
Call Tracking Access <span ng-if="empAddBranchDetails.callModuleAccess" class="symbol"></span>
</label>
<div class="checkbox clip-check check-primary">
<input type="checkbox" id="checkbox7" name="CalltrackingAccess" ng-model="empAddBranchDetails.callModuleAccess">
<label for="checkbox7">
Call Tracking Access
</label>
</div>
<span ng-if="myModel.callModuleAccess" class="success text-small block"></span>
</div>
</div> </div>
<div class="row"> <div class="row">
<div class="col-md-12"> <div class="col-md-12">

View File

@ -493,11 +493,27 @@
</label> </label>
</div> </div>
<span ng-if="myModel.finaceModuleAccess" class="success text-small block"></span> <span ng-if="myModel.finaceModuleAccess" class="success text-small block"></span>
<!--<div class="checkbox clip-check check-primary checkbox-inline">
<input type="checkbox" id="checkbox16" name="financeModuleAccess" ng-model="myModel.finaceModuleAccess">
</div> </div>
<spann ng-if="myModel.finaceModuleAccess" class="text-small block">Job Responsibility Should be Less than 1000 Characters.</span>-->
<div class="col-md-4 form-group" ng-class="{'has-error':Form.CalltrackingAccess.$dirty && Form.CalltrackingAccess.$invalid, 'has-success':Form.CalltrackingAccess.$valid && myModel.callModuleAccess == true}">
<label>
Call Tracking Access <span ng-if="myModel.callModuleAccess" class="symbol"></span>
</label>
<div class="checkbox clip-check check-primary">
<input type="checkbox" id="checkbox7" name="CalltrackingAccess" ng-model="myModel.callModuleAccess">
<label for="checkbox7">
Call Tracking Access
</label>
</div> </div>
<span ng-if="myModel.callModuleAccess" class="success text-small block"></span>
</div>
<div class="col-md-4 form-group" ng-class="{'has-error':Form.jobResponsibility.$dirty && Form.jobResponsibility.$invalid}"> <div class="col-md-4 form-group" ng-class="{'has-error':Form.jobResponsibility.$dirty && Form.jobResponsibility.$invalid}">
<label> <label>
Job Responsibility Job Responsibility