From e8ae7d72af9a826351cba1e3d9f3cc81ba4ff6fa Mon Sep 17 00:00:00 2001 From: "venbatechnologies@gmail.com" Date: Mon, 31 Jul 2017 16:30:19 +0530 Subject: [PATCH] import po issue --- application/models/purchaseorder_model.php | 2 +- application/views/editimportpo.php | 14 ++------------ 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/application/models/purchaseorder_model.php b/application/models/purchaseorder_model.php index e37133d1..d3cafa48 100755 --- a/application/models/purchaseorder_model.php +++ b/application/models/purchaseorder_model.php @@ -568,7 +568,7 @@ function purchaseorderListing($forwhat='') function GetServicePurchaseOrder($PONO = '') { $this->db->distinct(); - $this->db->select('ReqNo,POMast.PONO,ServiceDescription,supp.SupplierID,supp.SupplierName,supp.Address,PODate,Stat.StatusName,DeliveryOption,DeliverySchedule,DeliveryDate,DeliveryAddress,POMast.PaymentTerms,POMast.PaymentDays,POMast.PayableAT,POMast.ExchangeRate,POMast.UpdatedOn,Stat.StatusCode,POMast.ServiceWorkStatus,POMast.*'); + $this->db->select('ReqNo,POMast.PONO,ServiceDescription,supp.SupplierID,supp.SupplierName,supp.Address,PODate,Stat.StatusName,DeliveryOption,DeliverySchedule,DeliveryDate,DeliveryAddress,POMast.PaymentTerms,POMast.ExchangeRate,POMast.UpdatedOn,Stat.StatusCode,POMast.ServiceWorkStatus,POMast.*'); $this->db->from('T_PurchaseOrder_Master POMast'); $this->db->join('T_SupplierDetailsN supp', 'supp.SupplierID = POMast.SupplierID'); $this->db->join('T_Status Stat', 'Stat.StatusCode = POMast.Status'); diff --git a/application/views/editimportpo.php b/application/views/editimportpo.php index fe182f34..65ef8bad 100644 --- a/application/views/editimportpo.php +++ b/application/views/editimportpo.php @@ -131,8 +131,8 @@ if(!empty($POMaster)) //echo "$ExchangeRate"; $ExchangeRateCalculatedon=$Req->ExchangeRateCalculatedon; $PaymentTerms=$Req->PaymentTerms; - $PayableAT=$Req->PayableAT; - $PaymentDays=$Req->PaymentDays; + // $PayableAT=$Req->PayableAT; + // $PaymentDays=$Req->PaymentDays; $StatusName=$Req->StatusName; $Currency_Type=$Req->CurrencyType; $parentPO =$Req->ParentPO; @@ -2803,16 +2803,6 @@ document.getElementById("Date").checked = true; $('#Deliverydtdiv').show(); $('#Schedulediv').hide(); } -// var paymentday= -// if (paymentday=="After") -// { -// //alert(); -// document.getElementById("After").checked = true; -// } -// else -// { -// document.getElementById("Before").checked = true; -// } // $('#ExchangeRate').val(); $('#EditAvlBudAmt').val();