Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 2m25s

* develop:
  fix: แก้ไขชื่อไฟล์บันทึกผลรายชื่อผู้ผ่านการฝึกอบรม
This commit is contained in:
Warunee Tamkoo 2025-12-08 17:12:23 +07:00
commit c83f31a8b1
2 changed files with 2 additions and 2 deletions

View file

@ -143,8 +143,8 @@ function sendDevalopRegistry() {
/** function ดาวน์โหลดไฟล์ต้นแบบ*/
function downloadFile() {
const link = document.createElement("a");
link.href = `${window.location.protocol}//${window.location.host}/default-บันทึกผล.xlsx`;
link.download = "default-บันทึกผล.xlsx";
link.href = `${window.location.protocol}//${window.location.host}/บันทึกผลรายชื่อผู้ผ่านการฝึกอบรม-template.xlsx`;
link.download = "บันทึกผลรายชื่อผู้ผ่านการฝึกอบรม-template.xlsx";
document.body.appendChild(link);
link.click();
document.body.removeChild(link);