From 70ad27c36c2c0750f662b698462d52178d14de2f Mon Sep 17 00:00:00 2001 From: VE10-Sanjeev Date: Wed, 5 Mar 2025 09:15:48 +0000 Subject: [PATCH] foot mistake : ps --- app/Views/monthlypayinputs.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/app/Views/monthlypayinputs.php b/app/Views/monthlypayinputs.php index f185fc18..4989dffd 100755 --- a/app/Views/monthlypayinputs.php +++ b/app/Views/monthlypayinputs.php @@ -1191,7 +1191,7 @@ $(document).ready(function () { var driverSalaryAdd = driverEarn + Festivals; var driverSalarySub = current_loan_amt; - console.log(current_loan_amt); + console.log("current loan amt == ",current_loan_amt); var driverMonthSalary = driverSalaryAdd - driverSalarySub @@ -1202,7 +1202,7 @@ $(document).ready(function () { document.getElementById("empsal" + sno).innerHTML = cals; // copied from calculategrandtotal() because we need those two only thats why - var AutoLoanDueIndex = 21; + var AutoLoanDueIndex = 22; var AutoLoanDue = 0; $('#monthlylistings tbody tr').each(function() { var value = $(this).find('td').eq(AutoLoanDueIndex).text(); @@ -1210,7 +1210,7 @@ $(document).ready(function () { }); $('#monthloan').text(AutoLoanDue); - var FestivalBonusIndex = 23; + var FestivalBonusIndex = 24; var FestivalBonus = 0; $('#monthlylistings tbody tr').each(function() { var value = $(this).find('td').eq(FestivalBonusIndex).text(); @@ -1218,7 +1218,7 @@ $(document).ready(function () { }); $('#fest').text(FestivalBonus); - var EstimateIndex = 24; + var EstimateIndex = 25; var Estimate = 0; $('#monthlylistings tbody tr').each(function() { var value = $(this).find('td').eq(EstimateIndex).text(); @@ -1230,7 +1230,7 @@ $(document).ready(function () { function calculategrandtotal() { - var AutoLoanDueIndex = 21; + var AutoLoanDueIndex = 22; var AutoLoanDue = 0; $('#monthlylistings tbody tr').each(function() { var value = $(this).find('td').eq(AutoLoanDueIndex).text(); @@ -1238,7 +1238,7 @@ $(document).ready(function () { }); $('#monthloan').text(AutoLoanDue); - var TDSDeductionsIndex = 22; + var TDSDeductionsIndex = 23; var TDSDeductions = 0; $('#monthlylistings tbody tr').each(function() { var value = $(this).find('td').eq(TDSDeductionsIndex).text(); @@ -1246,7 +1246,7 @@ $(document).ready(function () { }); $('#other').text(TDSDeductions); - var FestivalBonusIndex = 23; + var FestivalBonusIndex = 24; var FestivalBonus = 0; $('#monthlylistings tbody tr').each(function() { var value = $(this).find('td').eq(FestivalBonusIndex).text(); @@ -1254,7 +1254,7 @@ $(document).ready(function () { }); $('#fest').text(FestivalBonus); - var EstimateIndex = 24; + var EstimateIndex = 25; var Estimate = 0; $('#monthlylistings tbody tr').each(function() { var value = $(this).find('td').eq(EstimateIndex).text();