reports
This commit is contained in:
parent
e90e49c4b2
commit
8ab38e6497
@ -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>
|
||||||
@ -168,66 +168,64 @@
|
|||||||
|
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td style="text-align:center;"><?php echo ++$i;?></td>
|
<td style="text-align:center;"><?php echo ++$i;?></td>
|
||||||
|
<td ><?php
|
||||||
|
$CreatedDate=date("d-m-Y",strtotime($gmir->CreatedDate));
|
||||||
|
echo $CreatedDate;
|
||||||
|
?>
|
||||||
|
</td>
|
||||||
|
|
||||||
|
<!-- <td><?php echo $gmir->CreatedDate;?></td> <br><?php echo $gmir->Address ?>-->
|
||||||
|
<td><?php echo $gmir->SupplierName;?></td>
|
||||||
|
<td><?php echo $gmir->MaterialName;?></td>
|
||||||
|
<td><?php echo $gmir->Per;?></td>
|
||||||
|
<td><?php echo $gmir->Quantity;?></td>
|
||||||
|
<td><?php echo $gmir->ReceivedQuantity;?></td>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<td style="text-align:right"><span><?php
|
||||||
|
if($gmir->Quantity >= $gmir->ReceivedQuantity){
|
||||||
|
|
||||||
|
$Quantity= round($gmir->Quantity);
|
||||||
|
$ReceivedQuantity= round($gmir->ReceivedQuantity);
|
||||||
|
$Shortage=$Quantity - $ReceivedQuantity;
|
||||||
|
echo $Shortage;
|
||||||
|
}else
|
||||||
|
{
|
||||||
|
echo '-';
|
||||||
|
}
|
||||||
|
?></span></td>
|
||||||
|
<td style="text-align:right"><span><?php
|
||||||
|
if($gmir->Quantity <= $gmir->ReceivedQuantity){
|
||||||
|
$Quantity= round($gmir->Quantity);
|
||||||
|
$ReceivedQuantity= round($gmir->ReceivedQuantity);
|
||||||
|
$Excess= $ReceivedQuantity -$Quantity ;
|
||||||
|
echo $Excess;
|
||||||
|
}else
|
||||||
|
{
|
||||||
|
echo '-';
|
||||||
|
}
|
||||||
|
?></span></td>
|
||||||
|
|
||||||
|
<td><?php echo $gmir->DeliveryChellanOrInvoiceNo;?></td>
|
||||||
|
<td ><?php
|
||||||
|
$DeliveryChellanDate=date("d-m-Y",strtotime($gmir->DeliveryChellanDate));
|
||||||
|
echo $DeliveryChellanDate;
|
||||||
|
?>
|
||||||
|
</td>
|
||||||
|
|
||||||
|
<td><?php echo $gmir->VehicleNo;?></td>
|
||||||
|
|
||||||
<td ><?php
|
<td ><?php
|
||||||
$CreatedDate=date("d-m-Y",strtotime($gmir->CreatedDate));
|
$time=date('g:i a',strtotime($gmir->DeliveryChellanDate));
|
||||||
echo $CreatedDate;
|
echo $time;
|
||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
|
<td> </td>
|
||||||
<!-- <td><?php echo $gmir->CreatedDate;?></td> -->
|
|
||||||
<td><?php echo $gmir->SupplierName;?></td>
|
|
||||||
<td><?php echo $gmir->MaterialName;?></td>
|
</tr>
|
||||||
<td><?php echo $gmir->Per;?></td>
|
|
||||||
<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;} else ?></td>
|
|
||||||
|
|
||||||
<!-- number_format($Rating, 2, '.', ' ') -->
|
|
||||||
<!-- h:i:sa -->
|
|
||||||
|
|
||||||
|
|
||||||
<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>
|
|
||||||
|
|
||||||
<td ><?php
|
|
||||||
$time=date("g:i",strtotime($gmir->DeliveryChellanDate));
|
|
||||||
echo $time;
|
|
||||||
?>
|
|
||||||
</td>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</tr>
|
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user