added docker and chnages of from model changes commits

This commit is contained in:
2026-02-05 15:02:55 +05:30
parent 438f84e284
commit a0f4568ba2
23 changed files with 155 additions and 41 deletions

View File

@@ -46,16 +46,6 @@ document.addEventListener("DOMContentLoaded", function () {
var tax_payable = (tax30 > tax185) ? tax30 : tax185;
setValue("tax_payable", tax_payable);
// // --- SURCHARGE ---
// var percent = getValue("persentage");
// var surcharge = tax_payable * (percent / 100);
// setValue("surcharge", surcharge);
// // --- edu_cess ---
// var per_cess = getValue("persentage_cess")
// var edu_cess = (tax_payable + surcharge) * (per_cess / 100);
// setValue("edu_cess", edu_cess);
// --- SURCHARGE ---
var percent = getValue("persentage");
var surcharge = tax_payable * (percent / 100);
@@ -70,10 +60,16 @@ document.addEventListener("DOMContentLoaded", function () {
var total_tax_payable = tax_payable + surcharge + edu_cess;
setValue("total_tax_payable", total_tax_payable);
// --- mat_credit_created --- new
setValue("mat_credit_created", Math.max(tax185 - total_tax_payable, 0));
// --- mat credit_utilized --- new
setValue("mat_credit_utilized", Math.max(total_tax_payable - tax185, 0));
// --- FINAL TAX ---
var mat_credit = getValue("mat_credit_utilized");
var interest_234c = getValue("interest_234c");
// var total_tax = total_tax_payable + mat_credit + interest_234c;
var total_tax = total_tax_payable + mat_credit + interest_234c;
setValue("total_tax", total_tax);