import po issue
This commit is contained in:
parent
67248e8fdc
commit
e8ae7d72af
@ -568,7 +568,7 @@ function purchaseorderListing($forwhat='')
|
|||||||
function GetServicePurchaseOrder($PONO = '')
|
function GetServicePurchaseOrder($PONO = '')
|
||||||
{
|
{
|
||||||
$this->db->distinct();
|
$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->from('T_PurchaseOrder_Master POMast');
|
||||||
$this->db->join('T_SupplierDetailsN supp', 'supp.SupplierID = POMast.SupplierID');
|
$this->db->join('T_SupplierDetailsN supp', 'supp.SupplierID = POMast.SupplierID');
|
||||||
$this->db->join('T_Status Stat', 'Stat.StatusCode = POMast.Status');
|
$this->db->join('T_Status Stat', 'Stat.StatusCode = POMast.Status');
|
||||||
|
|||||||
@ -131,8 +131,8 @@ if(!empty($POMaster))
|
|||||||
//echo "$ExchangeRate";
|
//echo "$ExchangeRate";
|
||||||
$ExchangeRateCalculatedon=$Req->ExchangeRateCalculatedon;
|
$ExchangeRateCalculatedon=$Req->ExchangeRateCalculatedon;
|
||||||
$PaymentTerms=$Req->PaymentTerms;
|
$PaymentTerms=$Req->PaymentTerms;
|
||||||
$PayableAT=$Req->PayableAT;
|
// $PayableAT=$Req->PayableAT;
|
||||||
$PaymentDays=$Req->PaymentDays;
|
// $PaymentDays=$Req->PaymentDays;
|
||||||
$StatusName=$Req->StatusName;
|
$StatusName=$Req->StatusName;
|
||||||
$Currency_Type=$Req->CurrencyType;
|
$Currency_Type=$Req->CurrencyType;
|
||||||
$parentPO =$Req->ParentPO;
|
$parentPO =$Req->ParentPO;
|
||||||
@ -2803,16 +2803,6 @@ document.getElementById("Date").checked = true;
|
|||||||
$('#Deliverydtdiv').show();
|
$('#Deliverydtdiv').show();
|
||||||
$('#Schedulediv').hide();
|
$('#Schedulediv').hide();
|
||||||
}
|
}
|
||||||
// var paymentday=<?php echo json_encode($PaymentDays,JSON_PRETTY_PRINT)?>
|
|
||||||
// if (paymentday=="After")
|
|
||||||
// {
|
|
||||||
// //alert();
|
|
||||||
// document.getElementById("After").checked = true;
|
|
||||||
// }
|
|
||||||
// else
|
|
||||||
// {
|
|
||||||
// document.getElementById("Before").checked = true;
|
|
||||||
// }
|
|
||||||
|
|
||||||
// $('#ExchangeRate').val(<?php echo $ExchangeRate;?>);
|
// $('#ExchangeRate').val(<?php echo $ExchangeRate;?>);
|
||||||
$('#EditAvlBudAmt').val(<?php echo $AvlAmount; ?>);
|
$('#EditAvlBudAmt').val(<?php echo $AvlAmount; ?>);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user