mrir actualquantity

This commit is contained in:
venbatechnologies@gmail.com 2018-01-30 10:03:08 +05:30
parent ef23545a67
commit bba435fe34
2 changed files with 4 additions and 2 deletions

View File

@ -100,7 +100,7 @@ class mrir_model extends CI_Model
function view_mrir()
{
$this->db->distinct();
$this->db->select('TMM.MRIRNO,TMM.PONO,TMM.IGRNO,TMM.MRIRStatus,ST.StatusName,IGRM.DeliveryChellanOrInvoiceNo,IGRM.DeliveryChellanDate,IGRM.VehicleNo,IGRM.CourierNo,TMD.StoreInchargeID,TMD.QualityInchargeID,TMD.PlantInchargeID,TMD.UpdateBY,POM.PODate,POM.POType,POM.CreatedBy,ED.FirstName as UpdatedbyName,ED1.FirstName as CreatedByName');
$this->db->select('TMM.MRIRNO,TMM.PONO,TMM.IGRNO,TMM.MRIRStatus,ST.StatusName,IGRM.DeliveryChellanOrInvoiceNo,IGRM.DeliveryChellanDate,IGRM.VehicleNo,IGRM.CourierNo,TMD.StoreInchargeID,TMD.QualityInchargeID,TMD.PlantInchargeID,TMD.UpdateBY,POM.PODate,POM.POType,POM.CreatedBy,ED.FirstName as UpdatedbyName,ED1.FirstName as CreatedByName,TMD.ActualQuantityReceived');
$this->db->from ('T_MRIR_Master TMM');
$this->db->join ('T_MRIR_Details TMD','TMM.MRIRNO=TMD.MRIRNO');
$this->db->join ('T_IGR_Master IGRM','TMM.IGRNO=IGRM.IGRNO');

View File

@ -32,9 +32,10 @@
<th>PO Raised By</th>
<th>Invoice No</th>
<th>Invoice Date</th>
<th>Actual Quantity</th>
<th>Vehicle No</th>
<th>Courier No</th>
<th>MRIR Status</th>
<th>MRIR Status</th>
<th>Updated By</th>
<th>Action</th>
@ -62,6 +63,7 @@
<td align="right"><?php
$date = new DateTime($d->DeliveryChellanDate);
echo $date->format('d-m-Y'); ?></td>
<td><?php echo $d->ActualQuantityReceived ?></td>
<td><?php echo $d->VehicleNo ?></td>
<td><?php echo $d->CourierNo ?></td>
<td><?php echo $d->StatusName ?></td>