foot mistake : ps
This commit is contained in:
parent
dcfac6d1a2
commit
70ad27c36c
@ -1191,7 +1191,7 @@ $(document).ready(function () {
|
|||||||
var driverSalaryAdd = driverEarn + Festivals;
|
var driverSalaryAdd = driverEarn + Festivals;
|
||||||
|
|
||||||
var driverSalarySub = current_loan_amt;
|
var driverSalarySub = current_loan_amt;
|
||||||
console.log(current_loan_amt);
|
console.log("current loan amt == ",current_loan_amt);
|
||||||
|
|
||||||
|
|
||||||
var driverMonthSalary = driverSalaryAdd - driverSalarySub
|
var driverMonthSalary = driverSalaryAdd - driverSalarySub
|
||||||
@ -1202,7 +1202,7 @@ $(document).ready(function () {
|
|||||||
document.getElementById("empsal" + sno).innerHTML = cals;
|
document.getElementById("empsal" + sno).innerHTML = cals;
|
||||||
|
|
||||||
// copied from calculategrandtotal() because we need those two only thats why
|
// copied from calculategrandtotal() because we need those two only thats why
|
||||||
var AutoLoanDueIndex = 21;
|
var AutoLoanDueIndex = 22;
|
||||||
var AutoLoanDue = 0;
|
var AutoLoanDue = 0;
|
||||||
$('#monthlylistings tbody tr').each(function() {
|
$('#monthlylistings tbody tr').each(function() {
|
||||||
var value = $(this).find('td').eq(AutoLoanDueIndex).text();
|
var value = $(this).find('td').eq(AutoLoanDueIndex).text();
|
||||||
@ -1210,7 +1210,7 @@ $(document).ready(function () {
|
|||||||
});
|
});
|
||||||
$('#monthloan').text(AutoLoanDue);
|
$('#monthloan').text(AutoLoanDue);
|
||||||
|
|
||||||
var FestivalBonusIndex = 23;
|
var FestivalBonusIndex = 24;
|
||||||
var FestivalBonus = 0;
|
var FestivalBonus = 0;
|
||||||
$('#monthlylistings tbody tr').each(function() {
|
$('#monthlylistings tbody tr').each(function() {
|
||||||
var value = $(this).find('td').eq(FestivalBonusIndex).text();
|
var value = $(this).find('td').eq(FestivalBonusIndex).text();
|
||||||
@ -1218,7 +1218,7 @@ $(document).ready(function () {
|
|||||||
});
|
});
|
||||||
$('#fest').text(FestivalBonus);
|
$('#fest').text(FestivalBonus);
|
||||||
|
|
||||||
var EstimateIndex = 24;
|
var EstimateIndex = 25;
|
||||||
var Estimate = 0;
|
var Estimate = 0;
|
||||||
$('#monthlylistings tbody tr').each(function() {
|
$('#monthlylistings tbody tr').each(function() {
|
||||||
var value = $(this).find('td').eq(EstimateIndex).text();
|
var value = $(this).find('td').eq(EstimateIndex).text();
|
||||||
@ -1230,7 +1230,7 @@ $(document).ready(function () {
|
|||||||
|
|
||||||
function calculategrandtotal()
|
function calculategrandtotal()
|
||||||
{
|
{
|
||||||
var AutoLoanDueIndex = 21;
|
var AutoLoanDueIndex = 22;
|
||||||
var AutoLoanDue = 0;
|
var AutoLoanDue = 0;
|
||||||
$('#monthlylistings tbody tr').each(function() {
|
$('#monthlylistings tbody tr').each(function() {
|
||||||
var value = $(this).find('td').eq(AutoLoanDueIndex).text();
|
var value = $(this).find('td').eq(AutoLoanDueIndex).text();
|
||||||
@ -1238,7 +1238,7 @@ $(document).ready(function () {
|
|||||||
});
|
});
|
||||||
$('#monthloan').text(AutoLoanDue);
|
$('#monthloan').text(AutoLoanDue);
|
||||||
|
|
||||||
var TDSDeductionsIndex = 22;
|
var TDSDeductionsIndex = 23;
|
||||||
var TDSDeductions = 0;
|
var TDSDeductions = 0;
|
||||||
$('#monthlylistings tbody tr').each(function() {
|
$('#monthlylistings tbody tr').each(function() {
|
||||||
var value = $(this).find('td').eq(TDSDeductionsIndex).text();
|
var value = $(this).find('td').eq(TDSDeductionsIndex).text();
|
||||||
@ -1246,7 +1246,7 @@ $(document).ready(function () {
|
|||||||
});
|
});
|
||||||
$('#other').text(TDSDeductions);
|
$('#other').text(TDSDeductions);
|
||||||
|
|
||||||
var FestivalBonusIndex = 23;
|
var FestivalBonusIndex = 24;
|
||||||
var FestivalBonus = 0;
|
var FestivalBonus = 0;
|
||||||
$('#monthlylistings tbody tr').each(function() {
|
$('#monthlylistings tbody tr').each(function() {
|
||||||
var value = $(this).find('td').eq(FestivalBonusIndex).text();
|
var value = $(this).find('td').eq(FestivalBonusIndex).text();
|
||||||
@ -1254,7 +1254,7 @@ $(document).ready(function () {
|
|||||||
});
|
});
|
||||||
$('#fest').text(FestivalBonus);
|
$('#fest').text(FestivalBonus);
|
||||||
|
|
||||||
var EstimateIndex = 24;
|
var EstimateIndex = 25;
|
||||||
var Estimate = 0;
|
var Estimate = 0;
|
||||||
$('#monthlylistings tbody tr').each(function() {
|
$('#monthlylistings tbody tr').each(function() {
|
||||||
var value = $(this).find('td').eq(EstimateIndex).text();
|
var value = $(this).find('td').eq(EstimateIndex).text();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user