ปรับปรุง ลำดับการอนุมัติ

This commit is contained in:
nakorn
2022-05-03 15:27:30 +07:00
parent 086f101d0f
commit bfb9c80fac
27 changed files with 2608 additions and 10 deletions

View File

@@ -3,6 +3,9 @@ var eva_adjust_postponement_quota_API = "/api/eva_adjust_postponement_quota/";
//================= Form Data Customizaiton =========================================
var quota_status_submit_to = -1;
var managed_by = -1;
function eva_adjust_postponement_quota_FeedDataToForm(data) {
$("#eva_adjust_postponement_quota_id").val(data.id);
$("#eva_adjust_postponement_quota_fiscal_year").val(data.fiscal_year);
@@ -17,6 +20,13 @@ function eva_adjust_postponement_quota_FeedDataToForm(data) {
$("#eva_adjust_postponement_quota_limit").val(data.limit);
DropDownClearFormAndFeedWithData($("#eva_adjust_postponement_quota_managed_by"), data, "id", "fullname", "item_managed_by", getCookie("emp_id"));
//console.log($("#eva_adjust_postponement_quota_limit").val());
//console.log(data);
quota_status_submit_to = data.quota_status_submit_to;
managed_by = data.managed_by;
//console.log(getCookie("emp_id"));
}
function eva_adjust_postponement_quota_GetFromForm() {