payment terms
This commit is contained in:
parent
833a4905c5
commit
6592742615
@ -3356,7 +3356,8 @@ function CalculateExciseED1()
|
||||
}
|
||||
else
|
||||
{
|
||||
$('#AfterExcisedutyEDcess').val(parseFloat(Math.round(txtexcisetot)));
|
||||
//$('#AfterExcisedutyEDcess').val(parseFloat(Math.round(txtexcisetot)));
|
||||
$('#AfterExcisedutyEDcess').val(parseFloat(txtexcisetot).toFixed(2));
|
||||
}
|
||||
|
||||
CalculateexciseSHcess();
|
||||
@ -3380,7 +3381,8 @@ function EditCalculateExciseED1()
|
||||
}
|
||||
else
|
||||
{
|
||||
$('#EditAfterExcisedutyEDcess').val(parseFloat(Math.round(txtexcisetot)));
|
||||
//$('#EditAfterExcisedutyEDcess').val(parseFloat(Math.round(txtexcisetot)));
|
||||
$('#EditAfterExcisedutyEDcess').val(parseFloat(txtexcisetot).toFixed(2));
|
||||
}
|
||||
EditCalculateexciseSHcess();
|
||||
|
||||
|
||||
@ -1943,6 +1943,18 @@ $('#drpSupplier').change(function() {
|
||||
|
||||
});
|
||||
|
||||
$.each(Payment, function(pay, payobj) {
|
||||
if(payobj.PaymentID == PaymentID)
|
||||
{
|
||||
|
||||
}
|
||||
else{
|
||||
$("#PaymentTerms").append( $('<option></option>').val(payobj.PaymentID).html(payobj.PaymentTerms));
|
||||
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
@ -3985,15 +3997,15 @@ if(validate())
|
||||
var Detail = <?php echo json_encode($Payment, JSON_PRETTY_PRINT) ?>;
|
||||
//console.log(Detail);
|
||||
|
||||
$.each(Detail, function (index, value)
|
||||
{
|
||||
// $.each(Detail, function (index, value)
|
||||
// {
|
||||
|
||||
|
||||
$("#PaymentTerms").append( $('<option></option>').val(value.PaymentTerms).html(value.PaymentTerms) );
|
||||
// $("#PaymentTerms").append( $('<option></option>').val(value.PaymentTerms).html(value.PaymentTerms) );
|
||||
|
||||
|
||||
|
||||
} );
|
||||
// } );
|
||||
$("#PaymentTerms").change(function() {
|
||||
console.log($('#PaymentTerms').val().trim());
|
||||
if ($('#PaymentTerms').val().trim()=='PT08')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user