change MIR
This commit is contained in:
parent
7a4bcc30c9
commit
e90e49c4b2
@ -249,8 +249,9 @@ where igrm.IGRStatus ='ST027'";
|
||||
|
||||
}
|
||||
|
||||
$sql.="group by igrm.CreatedDate";
|
||||
//$sql.="order by igrm.CreatedDate";
|
||||
|
||||
$sql.="order by igrm.CreatedDate";
|
||||
|
||||
|
||||
$query = $this->db->query($sql);
|
||||
|
||||
@ -184,19 +184,37 @@
|
||||
<td><?php echo $gmir->Quantity;?></td>
|
||||
<td><?php echo $gmir->ReceivedQuantity;?></td>
|
||||
|
||||
|
||||
|
||||
<td style="text-align:right;"><?php
|
||||
|
||||
if ($gmir->Quantity >= $gmir->ReceivedQuantity){
|
||||
|
||||
$Quantity= round($gmir->Quantity);
|
||||
$ReceivedQuantity= round($gmir->ReceivedQuantity);
|
||||
$Shortage=$Quantity - $ReceivedQuantity;
|
||||
|
||||
|
||||
echo $Shortage; ?></td>
|
||||
echo $Shortage;} else ?></td>
|
||||
|
||||
<!-- number_format($Rating, 2, '.', ' ') -->
|
||||
<!-- h:i:sa -->
|
||||
|
||||
|
||||
<td><?php echo $gmir->AmendmentQuantity;?></td>
|
||||
<td><?php
|
||||
{
|
||||
|
||||
$Quantity= round($gmir->Quantity);
|
||||
$ReceivedQuantity= round($gmir->ReceivedQuantity);
|
||||
$Excess= $ReceivedQuantity -$Quantity ;
|
||||
|
||||
|
||||
echo $Excess;}?></td>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<td><?php echo $gmir->DeliveryChellanOrInvoiceNo;?></td>
|
||||
<td><?php echo $gmir->DeliveryChellanDate;?></td>
|
||||
<td><?php echo $gmir->VehicleNo;?></td>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user