This commit is contained in:
venbatechnologies 2018-03-10 10:37:03 +05:30
parent e90e49c4b2
commit 8ab38e6497

View File

@ -153,7 +153,7 @@
<th style="text-align:center">invoice Delivery Challan Date</th> <th style="text-align:center">invoice Delivery Challan Date</th>
<th style="text-align:center">Vehicle No</th> <th style="text-align:center">Vehicle No</th>
<th style="text-align:center">Time Inward</th> <th style="text-align:center">Time Inward</th>
<!-- <th style="text-align:center">Time Outward</th> --> <th style="text-align:center">Time Outward</th>
</tr> </tr>
</thead> </thead>
@ -169,15 +169,13 @@
<tr> <tr>
<td style="text-align:center;"><?php echo ++$i;?></td> <td style="text-align:center;"><?php echo ++$i;?></td>
<td ><?php <td ><?php
$CreatedDate=date("d-m-Y",strtotime($gmir->CreatedDate)); $CreatedDate=date("d-m-Y",strtotime($gmir->CreatedDate));
echo $CreatedDate; echo $CreatedDate;
?> ?>
</td> </td>
<!-- <td><?php echo $gmir->CreatedDate;?></td> --> <!-- <td><?php echo $gmir->CreatedDate;?></td> <br><?php echo $gmir->Address ?>-->
<td><?php echo $gmir->SupplierName;?></td> <td><?php echo $gmir->SupplierName;?></td>
<td><?php echo $gmir->MaterialName;?></td> <td><?php echo $gmir->MaterialName;?></td>
<td><?php echo $gmir->Per;?></td> <td><?php echo $gmir->Per;?></td>
@ -186,45 +184,45 @@
<td style="text-align:right;"><?php <td style="text-align:right"><span><?php
if($gmir->Quantity >= $gmir->ReceivedQuantity){
if ($gmir->Quantity >= $gmir->ReceivedQuantity){
$Quantity= round($gmir->Quantity); $Quantity= round($gmir->Quantity);
$ReceivedQuantity= round($gmir->ReceivedQuantity); $ReceivedQuantity= round($gmir->ReceivedQuantity);
$Shortage=$Quantity - $ReceivedQuantity; $Shortage=$Quantity - $ReceivedQuantity;
echo $Shortage;
}else
echo $Shortage;} else ?></td>
<!-- number_format($Rating, 2, '.', ' ') -->
<!-- h:i:sa -->
<td><?php
{ {
echo '-';
}
?></span></td>
<td style="text-align:right"><span><?php
if($gmir->Quantity <= $gmir->ReceivedQuantity){
$Quantity= round($gmir->Quantity); $Quantity= round($gmir->Quantity);
$ReceivedQuantity= round($gmir->ReceivedQuantity); $ReceivedQuantity= round($gmir->ReceivedQuantity);
$Excess= $ReceivedQuantity -$Quantity ; $Excess= $ReceivedQuantity -$Quantity ;
echo $Excess;
}else
echo $Excess;}?></td> {
echo '-';
}
?></span></td>
<td><?php echo $gmir->DeliveryChellanOrInvoiceNo;?></td> <td><?php echo $gmir->DeliveryChellanOrInvoiceNo;?></td>
<td><?php echo $gmir->DeliveryChellanDate;?></td>
<td><?php echo $gmir->VehicleNo;?></td>
<td ><?php <td ><?php
$time=date("g:i",strtotime($gmir->DeliveryChellanDate)); $DeliveryChellanDate=date("d-m-Y",strtotime($gmir->DeliveryChellanDate));
echo $time; echo $DeliveryChellanDate;
?> ?>
</td> </td>
<td><?php echo $gmir->VehicleNo;?></td>
<td ><?php
$time=date('g:i a',strtotime($gmir->DeliveryChellanDate));
echo $time;
?>
</td>
<td> </td>
</tr> </tr>