diff --git a/wwwroot/js/eva_create_evaluation_detail_process/eva_create_evaluation_detail_process_d.js b/wwwroot/js/eva_create_evaluation_detail_process/eva_create_evaluation_detail_process_d.js index 754e633..bfff7fe 100644 --- a/wwwroot/js/eva_create_evaluation_detail_process/eva_create_evaluation_detail_process_d.js +++ b/wwwroot/js/eva_create_evaluation_detail_process/eva_create_evaluation_detail_process_d.js @@ -32,8 +32,8 @@ function eva_create_evaluation_detail_process_FeedDataToForm(data) { //console.log(data); - $("#date_from").val(formatDate(data.start_date)); - $("#date_to").val(formatDate(data.end_date)); + $("#date_from").val(formatDate(data.leave_start_date)); + $("#date_to").val(formatDate(data.leave_end_date)); $("#eva_create_evaluation_detail_process_id").val(data.id); diff --git a/wwwroot/js/eva_create_evaluation_detail_process/eva_create_evaluation_detail_process_d2.js b/wwwroot/js/eva_create_evaluation_detail_process/eva_create_evaluation_detail_process_d2.js index 18d44bd..836b591 100644 --- a/wwwroot/js/eva_create_evaluation_detail_process/eva_create_evaluation_detail_process_d2.js +++ b/wwwroot/js/eva_create_evaluation_detail_process/eva_create_evaluation_detail_process_d2.js @@ -30,8 +30,8 @@ function eva_create_evaluation_detail_process_FeedDataToForm(data) { //console.log(data); - $("#date_from").val(formatDate(data.start_date)); - $("#date_to").val(formatDate(data.end_date)); + $("#date_from").val(formatDate(data.leave_start_date)); + $("#date_to").val(formatDate(data.leave_end_date)); $("#eva_create_evaluation_detail_process_id").val(data.id); $("#eva_create_evaluation_detail_process_employee_id").val(data.employee_id);