This commit is contained in:
venbatechnologies@gmail.com 2018-10-24 17:26:57 +05:30
commit ecd9be2830
4 changed files with 8 additions and 11 deletions

View File

@ -793,7 +793,7 @@ class Calltracking_model extends CI_Model {
if($leadDet){ if($leadDet){
$result_array = array(); $result_array = array();
$result_array['followupStatus']=true; $result_array['followupStatus']=true;
$result=''; $result=[];
$activityID=''; $activityID='';
foreach ($leadDet->result() as $row) foreach ($leadDet->result() as $row)
{ {

View File

@ -603,7 +603,7 @@ $upperresult=strtoupper($getlastansbookstatus);
$this->db->select('t3.BatchName, t3.BatchCode,t3.BatchDate'); $this->db->select('t3.BatchName, t3.BatchCode,t3.BatchDate');
$this->db->from('' . BATCH . ' as t3'); $this->db->from('' . BATCH . ' as t3');
$this->db->where('t3.UniversityID', $clip->UniversityID); $this->db->where('t3.UniversityID', $clip->UniversityID);
$this->db->where('t3.IsActive', 1); // $this->db->where('t3.IsActive', 1);
$this->db->where('t3.BranchCode', $branch); $this->db->where('t3.BranchCode', $branch);
$batDetails = $this->db->get(); $batDetails = $this->db->get();
$batchDetails = $batDetails->result(); $batchDetails = $batDetails->result();

View File

@ -897,8 +897,6 @@ app.controller('dashboardCtrl', ["$scope", "$rootScope", "toaster", "$filter", "
allowSortingBySummary: true, allowSortingBySummary: true,
allowSorting: true, allowSorting: true,
allowFiltering: true, allowFiltering: true,
allowExpandAll: true,
wordWrapEnabled: true,
height: 440, height: 440,
showBorders: true, showBorders: true,
fieldChooser: { fieldChooser: {
@ -920,8 +918,6 @@ app.controller('dashboardCtrl', ["$scope", "$rootScope", "toaster", "$filter", "
}, { }, {
caption: "staff", caption: "staff",
dataField: "Staff", dataField: "Staff",
dataType: "string",
width: 200,
area: "column" area: "column"
}, { }, {
caption: "TotalNoOfAdmissions", caption: "TotalNoOfAdmissions",
@ -1041,15 +1037,15 @@ app.controller('dashboardCtrl', ["$scope", "$rootScope", "toaster", "$filter", "
}, { }, {
caption: "staff", caption: "staff",
dataField: "Staff", dataField: "Staff",
dataType: "string", // dataType: "string",
width: 200, // width: 200,
area: "column" area: "column"
}, { }, {
caption: "TotalNoOfAdmissions", caption: "TotalNoOfAdmissions",
dataField: "TotalNoOfAdmissions", dataField: "TotalNoOfAdmissions",
dataType: "number", dataType: "number",
summaryType: "sum", summaryType: "sum",
width: 100, // width: 100,
area: "data" area: "data"
}], }],
store: $scope.adBatchfilter store: $scope.adBatchfilter

View File

@ -136,9 +136,10 @@
</center> </center>
</div> </div>
<!-- <div id="dxPivotGrid" dx-pivot-grid="adBatchgrid" ng-if="adb==false"></div> --> <!-- <div id="dxPivotGrid" dx-pivot-grid="adBatchgrid" ng-if="adb==false"></div> -->
<div id="dxPivotGrid" dx-pivot-grid="adBatchgrid" ng-if="adb==false && fbselect==false"></div> <div class="table-responsive">
<div dx-pivot-grid="adBatchgrid" ng-if="adb==false && fbselect==false"></div>
<div dx-pivot-grid="adBatchgrid1" ng-if="fbselect==true"></div> <div dx-pivot-grid="adBatchgrid1" ng-if="fbselect==true"></div>
</div>
</div> </div>