amendment import schedule dispaly
This commit is contained in:
parent
b48ec59a01
commit
fe87b68305
@ -1768,7 +1768,7 @@ function addNewImportPurchaseOrder()
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
$POList = array('SupplierID'=>$SupplierID, 'TotalOrderValue'=>$TotalOrder,'PODate'=>$PODate,'Status'=>$POStatus,'ServiceDescription'=>$SpcialInstruction,'CreatedBy'=>$CreateBy,'DeliveryAddress'=>$DeliveryAddr,'Import_DispatchDetails'=>$Dispatch,'CreatedDate'=>$createddt,'DeliverySchedule'=>$DeliverySchedule,'DeliveryOption'=>$DeliveryOption,'ExchangeRate'=>$Exchangerate,'ExchangeRateCalculatedon'=>$ExchangeRateCalculatedon,'CurrencyType'=>$CurrencyType,'PaymentTerms'=>$PaymentTerms,'POType'=>$POType,'Import_PlaceofOrgin'=>$Palaceoforigin);
|
$POList = array('SupplierID'=>$SupplierID, 'TotalOrderValue'=>$TotalOrder,'PODate'=>$PODate,'Status'=>$POStatus,'ServiceDescription'=>$SpcialInstruction,'CreatedBy'=>$CreateBy,'DeliveryAddress'=>$DeliveryAddr,'Import_DispatchDetails'=>$Dispatch,'DeliverySchedule'=>$DeliverySchedule,'DeliveryOption'=>$DeliveryOption,'ExchangeRate'=>$Exchangerate,'ExchangeRateCalculatedon'=>$ExchangeRateCalculatedon,'CurrencyType'=>$CurrencyType,'PaymentTerms'=>$PaymentTerms,'POType'=>$POType,'Import_PlaceofOrgin'=>$Palaceoforigin);
|
||||||
//echo $PONO;
|
//echo $PONO;
|
||||||
//echo $TotalOrder;
|
//echo $TotalOrder;
|
||||||
//print_r($POList);
|
//print_r($POList);
|
||||||
|
|||||||
@ -136,6 +136,7 @@ if(!empty($POMaster))
|
|||||||
$Import_PlaceofOrgin=$Req->Import_PlaceofOrgin;
|
$Import_PlaceofOrgin=$Req->Import_PlaceofOrgin;
|
||||||
$DeliverySchedule=$Req->DeliverySchedule;
|
$DeliverySchedule=$Req->DeliverySchedule;
|
||||||
$ServiceDescription=$Req->ServiceDescription;
|
$ServiceDescription=$Req->ServiceDescription;
|
||||||
|
$DeliveryOption=$Req->DeliveryOption;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1740,6 +1741,21 @@ var AvlBudAmt = '<?php echo $AvlAmount ?>';
|
|||||||
//$('#EditAvlBudAmt').val(<?php echo $AvlAmount; ?>);
|
//$('#EditAvlBudAmt').val(<?php echo $AvlAmount; ?>);
|
||||||
|
|
||||||
|
|
||||||
|
var delivery=<?php echo json_encode($DeliveryOption,JSON_PRETTY_PRINT)?>;
|
||||||
|
if(delivery==1)
|
||||||
|
{
|
||||||
|
document.getElementById("Schedule").checked = true;
|
||||||
|
$('#Deliverydtdiv').hide();
|
||||||
|
$('#Schedulediv').show();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
document.getElementById("Date").checked = true;
|
||||||
|
$('#Deliverydtdiv').show();
|
||||||
|
$('#Schedulediv').hide();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user