From cb45b8f95aabe6f59e9e09d70bdc4a42fab95d9a Mon Sep 17 00:00:00 2001 From: "venbatechnologies@gmail.com" Date: Wed, 22 Nov 2017 17:27:07 +0530 Subject: [PATCH] redirection on billing screen --- application/models/mrir_model.php | 2 +- application/views/viewmrirforbilling.php | 37 +++++++++++++++++++++--- 2 files changed, 34 insertions(+), 5 deletions(-) diff --git a/application/models/mrir_model.php b/application/models/mrir_model.php index 0b7eef0d..c4339b8a 100755 --- a/application/models/mrir_model.php +++ b/application/models/mrir_model.php @@ -119,7 +119,7 @@ POL.status in (?,?) $this->db->distinct(); $this->db->select('TMM.MRIRNO,TMM.PONO, TMM.IGRNO,IGRM.DeliveryChellanOrInvoiceNo, IGRM.DeliveryChellanDate,IGRM.VehicleNo,IGRM.CourierNo,TMD.QualityInchargeID, -TMD.PlantInchargeID,TMD.UpdateBY, POM.PODate,POM.POType,POM.ReleasedBy,ED2.FirstName as StoreinchargeName, +TMD.PlantInchargeID,TMD.UpdateBY, POM.PODate,POM.POType,POM.ReleasedBy,ED2.FirstName as StoreinchargeName,POM.IsQualityChkReqired,POM.POType,POM.CapitalRange, ED.FirstName as UpdatedbyName,ED1.FirstName as ReleasedbyName,MM.MaterialCode,MM.MaterialName, MM.UOM, POL.Quantity,IGRD.QuantityAsPerInvoice, TMD.ActualQuantityReceived,TMD.QuantityAccepted, TMD.QuantityRejected,ST.StatusName,TMD.Remarks,AdvanceAmount '); diff --git a/application/views/viewmrirforbilling.php b/application/views/viewmrirforbilling.php index 73d8cd2f..dff1debe 100755 --- a/application/views/viewmrirforbilling.php +++ b/application/views/viewmrirforbilling.php @@ -18,7 +18,12 @@ $color=''; span.highlight { background-color: yellow; } + +span.highlight1{ + background-color: red; + } +
@@ -28,7 +33,12 @@ $color='';

Siddharth Industries - Billing For MRIR

- The PONO Shown In Green Colour Are Paid Advance Amount + + + The PONO Shown In Green Colour Are Paid Advance Amount +
+
+ The PONO Shown In Red Colour Are Special PO
@@ -74,18 +84,37 @@ $color=''; { $color="baby blue"; } + + + + $PO=$d->IsQualityChkReqired; + + $POT=$d->POType; + + if($PO=='0' && $POT== 'REVENUE') + { + $color1="Brown"; + } + + else + { + $color1="baby blue"; + } + + ?> + - + IGRNO ?> - MRIRNO ?> + MRIRNO ?> - PONO ?> + PONO ?> POType ?> MaterialCode ?> MaterialName ?>