แก้ไขสูตรการคำนวณ ค่าครองชีพใหม่
This commit is contained in:
@@ -139,6 +139,7 @@ function Oneva_adjust_postponement_quota_limit_frame_quotaChange() {
|
||||
}
|
||||
|
||||
function CalculateRemainQuota() {
|
||||
console.log("xx");
|
||||
var sum_receive_quota = 0;
|
||||
var limit_quota = parseFloat($("#eva_adjust_postponement_quota_limit_quota").val().replace(/[,-]/g,''));
|
||||
|
||||
@@ -157,7 +158,7 @@ function CalculateRemainQuota() {
|
||||
$("#eva_adjust_postponement_detail_quota_02_new_sarary_with_quota_" + i).text(formatNumber(new_sarary_with_quota));
|
||||
|
||||
if (new_sarary_with_quota < 13285) {
|
||||
$("#eva_adjust_postponement_detail_quota_02_new_cost_living_" + i).text(formatNumber(1000));
|
||||
$("#eva_adjust_postponement_detail_quota_02_new_cost_living_" + i).text(formatNumber(13285-new_sarary_with_quota));
|
||||
} else {
|
||||
$("#eva_adjust_postponement_detail_quota_02_new_cost_living_" + i).text(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user