This commit is contained in:
nakorn
2021-10-05 22:26:47 +07:00
parent e5cb49c75e
commit be227895a5
28 changed files with 2446 additions and 62 deletions

View File

@@ -192,7 +192,13 @@ function Oneva_adjust_postponement_detail_normal_02_promoted_percentageChanged(m
} else {
$("#eva_adjust_postponement_detail_normal_02_new_cost_living_" + i).val(0);
}
}
}
if (new_salary > $("#themax_" + i).val()) {
$("#eva_adjust_postponement_detail_normal_02_reward_new_" + i).text(formatNumber2(new_salary - $("#themax_" + i).val(), 3));
} else {
$("#eva_adjust_postponement_detail_normal_02_reward_new_" + i).text(formatNumber2(0, 3));
}
sum_postpone += new_added;
sum_before += old_salary;