issues fixed
This commit is contained in:
parent
a3f7bc8cd3
commit
a808571038
@ -4086,7 +4086,7 @@ $('.AddImport').click(function()
|
|||||||
|
|
||||||
//alert('in');
|
//alert('in');
|
||||||
var template = jQuery("#ImportList").html();
|
var template = jQuery("#ImportList").html();
|
||||||
$('#ImportAppend').append(_.template(template,{index:temp,ReqNo:Reqnumber,Description:materialName,Quantity:quantity,UOM:uom,Rate:itemRate,BasicAmount:BasicAmt,Taxvalue:taxamt,TotalValue:totalexp,ReceivedQty:receivedqty,RejectedQty:rejectedqty,PendingQty:pendingqty}));
|
$('#ImportAppend').append(_.template(template,{index:temp,ReqNo:Reqnumber,MaterialCode:materialCode,Description:materialName,Quantity:quantity,UOM:uom,Rate:itemRate,BasicAmount:BasicAmt,Taxvalue:taxamt,TotalValue:totalexp,ReceivedQty:receivedqty,RejectedQty:rejectedqty,PendingQty:pendingqty}));
|
||||||
//alert(JSON.strigify(BasicAmt));
|
//alert(JSON.strigify(BasicAmt));
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -66,8 +66,16 @@
|
|||||||
$DeliveryAddress = $PO->DeliveryAddress;
|
$DeliveryAddress = $PO->DeliveryAddress;
|
||||||
$dt = new DateTime($PO->PODate, new DateTimeZone('Asia/Kolkata'));
|
$dt = new DateTime($PO->PODate, new DateTimeZone('Asia/Kolkata'));
|
||||||
$Podt = $dt->format('d-m-Y');
|
$Podt = $dt->format('d-m-Y');
|
||||||
|
$dtDe = new DateTime($PO->DeliveryDate, new DateTimeZone('Asia/Kolkata'));
|
||||||
|
if($PO->DeliveryOption=='1'){
|
||||||
|
$DeliveryDate = '';
|
||||||
|
$DeliverySchedule = $PO->DeliverySchedule;
|
||||||
|
}
|
||||||
|
else{
|
||||||
$dtDe = new DateTime($PO->DeliveryDate, new DateTimeZone('Asia/Kolkata'));
|
$dtDe = new DateTime($PO->DeliveryDate, new DateTimeZone('Asia/Kolkata'));
|
||||||
$DeliveryDate = $dtDe->format('d-m-Y');
|
$DeliveryDate = $dtDe->format('d-m-Y');
|
||||||
|
$DeliverySchedule = '';
|
||||||
|
}
|
||||||
$ServiceDescription =$PO->ServiceDescription;
|
$ServiceDescription =$PO->ServiceDescription;
|
||||||
if($PO->PaymentID!='PT08'){
|
if($PO->PaymentID!='PT08'){
|
||||||
$PaymentTerms = $PO->PaymentTerms;
|
$PaymentTerms = $PO->PaymentTerms;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user