Merge branch 'develop' of https://github.com/Frappet/bma-ehr-frontend into develop

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2023-09-01 16:25:05 +07:00
commit 24a6fde6fe

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