diff --git a/html/exhi/application/views/project/v_project_manage.php b/html/exhi/application/views/project/v_project_manage.php index 9d02aa29371ef13652d118733f7d0b5366c35976..8b1de2d25b38d47bdca9642fd4581062846aed6d 100644 --- a/html/exhi/application/views/project/v_project_manage.php +++ b/html/exhi/application/views/project/v_project_manage.php @@ -150,7 +150,7 @@ function create_table(data) { const template_clone = template.content.cloneNode(true); template_clone.querySelector('.index').innerText = index+1 template_clone.querySelector('.name').innerText = row.name_th; - template_clone.querySelector('.year').innerText = row.date; + template_clone.querySelector('.year').innerText = (+row.date+543); let graduation if(row.cluster_id != 0){ graduation = 2 @@ -188,7 +188,7 @@ function create_option_year(data){ data.forEach((row, index) => { option = document.createElement("option") option.setAttribute("value", row.date) - option.text = row.date + option.text = (+row.date+543) selectList.appendChild(option) }) } diff --git a/html/exhi/application/views/project/v_project_manage_user.php b/html/exhi/application/views/project/v_project_manage_user.php index 44e9fa8d04165e75387173cba6e7ba1b6e517647..d5a3de7dcc218de9f4cc8790d4c11e81aac6cd24 100644 --- a/html/exhi/application/views/project/v_project_manage_user.php +++ b/html/exhi/application/views/project/v_project_manage_user.php @@ -150,7 +150,7 @@ function create_table(data) { const template_clone = template.content.cloneNode(true); template_clone.querySelector('.index').innerText = index+1 template_clone.querySelector('.name').innerText = row.name_th; - template_clone.querySelector('.year').innerText = row.date; + template_clone.querySelector('.year').innerText = (+row.date+543); let graduation if(row.cluster_id != 0){ graduation = 2 @@ -187,7 +187,7 @@ function create_option_year(data){ data.forEach((row, index) => { option = document.createElement("option") option.setAttribute("value", row.date) - option.text = row.date + option.text = (+row.date+543) selectList.appendChild(option) }) }