Deliveryperformance

This commit is contained in:
venbatechnologies 2018-06-13 19:35:44 +05:30
parent e4e4cddfcd
commit 088f8212bd
3 changed files with 4 additions and 4 deletions

View File

@ -219,7 +219,7 @@ return $query->result();
// //return $this->db->get('T_MaterialMaster'); // //return $this->db->get('T_MaterialMaster');
// } // }
$temp[] = '' ; $temp[] = '' ;
echo $materialcategory; // echo $materialcategory;
$this->db->distinct(); $this->db->distinct();
$this->db->select('ConfigValue'); $this->db->select('ConfigValue');
$this->db->from('T_ConfigDetails'); $this->db->from('T_ConfigDetails');

View File

@ -187,7 +187,7 @@
<td style="text-align:right;"><?php <td style="text-align:right;"><?php
$OrderedQuantity= round($rel->qty); $OrderedQuantity= round($rel->qty);
$DispatchQuantity= round($rel->qty); $DispatchQuantity= round($rel->qty);
$Rating =$DispatchQuantity / $OrderedQuantity *100; $Rating =empty($DispatchQuantity)?"":$DispatchQuantity / empty($OrderedQuantity)?"":$OrderedQuantity *100;
echo number_format($Rating, 2, '.', ' ') ; ?></td> echo number_format($Rating, 2, '.', ' ') ; ?></td>