Merge branch 'develop' into dev-tee

This commit is contained in:
setthawutttty 2023-09-01 17:51:39 +07:00
commit 5555706f20
25 changed files with 1242 additions and 1009 deletions

View file

@ -333,7 +333,7 @@ const downloadAttachment = async (type: string, id: string) => {
const data = res.data.result;
console.log(data);
let list: any[] = [];
downloadFile(res, `${id}.${type}`);
downloadFile(res, `${"รายชื่อผู้เกษียณอายุราชการ"}.${type}`);
})
.catch((e) => {
messageError($q, e);
@ -352,7 +352,6 @@ const downloadFile = (response: any, filename: string) => {
document.body.removeChild(link);
};
// const fetchReportCover = async (type: string, orderId: string) => {
// showLoader();
// await http