logdetails

This commit is contained in:
venbatechnologies 2018-05-17 16:09:32 +05:30
parent 508b3bd678
commit 1912eddc75
2 changed files with 11 additions and 6 deletions

View File

@ -2770,7 +2770,8 @@ function populateValueMainFormForEditServiceTax()
{
var rows = document.getElementById('ServiceTable').rows.length;
// alert(rows);
var editrow = parseFloat(rows)-1;
var TotCgst = 0;
var TotSgst = 0;
var TotIgst = 0;
@ -2810,7 +2811,7 @@ function populateValueMainFormForEditServiceTax()
}
} while (i < rows);
} while (i < editrow);
$('#txtTotBasicAmount').val(parseFloat(TotBasicAmout).toFixed(2) );
$('#txtTotCgst').val(parseFloat(TotCgst).toFixed(2) );

View File

@ -2103,7 +2103,8 @@ SetVatorCST();
}
function Editchange(){
ExceedEditQuantityCheck();
//alert('hi');
//ExceedEditQuantityCheck();
if($('#EditQuantity').val() != '' && $('#EditRate').val() != '')
{
var txtQuantity = parseFloat( $('#EditQuantity').val());
@ -4512,6 +4513,7 @@ $('.AddRevenue').click(function(){
var basicval = $("#txtBasicValue").val();
var Insval = $("#txtInsurance").val();
var TotalOrderValue = $("#txtTotalOrderValue").val();
var service_description = $("#Add_Service_Description").val();
//alert(service_description);
var TotalTaxValue = calculateTaxValue();
@ -4790,7 +4792,9 @@ function populateValueMainFormForEditRevenueTax()
{
var rows = document.getElementById('revenueTax').rows.length;
//alert(rows);
//alert(rows);
var editrow = parseFloat(rows)-1;
//alert(editrow);
var totBasicAmt = 0;
var totDiscountAmt = 0;
var totPackagingAmt = 0;
@ -4804,7 +4808,7 @@ function populateValueMainFormForEditRevenueTax()
do {
i += 1;
alert(i);
var tr= document.getElementById(i);
//alert(tr);
if(tr != null)
@ -4837,7 +4841,7 @@ function populateValueMainFormForEditRevenueTax()
totOrderSummaryAmt = parseFloat(totOrderSummaryAmt ) + parseFloat(TotalVal);
}
} while (i < rows);
} while (i < editrow);
$('#txtTotBasicAmount').val(parseFloat(totBasicAmt).toFixed(2) );