issues fixed on cost center report

This commit is contained in:
gandhimathi 2017-08-22 18:13:28 +05:30
parent 6947361140
commit f284773964
2 changed files with 3 additions and 2 deletions

View File

@ -420,7 +420,8 @@ DATE_FORMAT(IF(matv.CreatedDate = '0000-00-00', NOW(), matv.CreatedDate), '%b-%Y
matv.MaterialCode,mat.MaterialName,mat.UOM,ROUND(AVG(matv.Rate),2) as Average_Rate matv.MaterialCode,mat.MaterialName,mat.UOM,ROUND(AVG(matv.Rate),2) as Average_Rate
from T_MaterialItem_PO matv from T_MaterialItem_PO matv
join T_MaterialMaster mat on matv.MaterialCode=mat.MaterialCode join T_MaterialMaster mat on matv.MaterialCode=mat.MaterialCode
group by monthname(matv.CreatedDate),matv.MaterialCode"; group by matv.MaterialCode
order by monthname(matv.CreatedDate)";
$query = $this->db->query($sql); $query = $this->db->query($sql);
return $query->result(); return $query->result();

View File

@ -60,7 +60,7 @@ if(!empty($ccrpt))
<!-- /.box-header --> <!-- /.box-header -->
<div class="box-body"> <div class="box-body">
<div> <div>
<table class="table table-bordered table-hover" id="cc" > <table class="table table-bordered table-hover" id="cc" style="font-size:12px">
<thead> <thead>
<tr> <tr>
<th>Cost Center Code</th> <th>Cost Center Code</th>