gap-nodejs-sdk 1.0.435 → 1.0.436
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -110,7 +110,7 @@ export default class Payroll extends Base {
|
|
|
110
110
|
responseType: "blob"
|
|
111
111
|
});
|
|
112
112
|
const exportDateFormat = formatExportDateString();
|
|
113
|
-
FileDownload(response,
|
|
113
|
+
FileDownload(response, `payroll-${dayjs().format(exportDateFormat)}.xlsx`, 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet');
|
|
114
114
|
return null;
|
|
115
115
|
});
|
|
116
116
|
}
|
|
@@ -122,7 +122,7 @@ export default class Payroll extends Base {
|
|
|
122
122
|
responseType: "blob"
|
|
123
123
|
});
|
|
124
124
|
const exportDateFormat = formatExportDateString();
|
|
125
|
-
FileDownload(response,
|
|
125
|
+
FileDownload(response, `approve-payroll-${dayjs().format(exportDateFormat)}.xlsx`, 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet');
|
|
126
126
|
return null;
|
|
127
127
|
});
|
|
128
128
|
}
|
|
@@ -134,7 +134,7 @@ export default class Payroll extends Base {
|
|
|
134
134
|
responseType: "blob"
|
|
135
135
|
});
|
|
136
136
|
const exportDateFormat = formatExportDateString();
|
|
137
|
-
FileDownload(response,
|
|
137
|
+
FileDownload(response, `income-detail-${dayjs().format(exportDateFormat)}.xlsx`, 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet');
|
|
138
138
|
return null;
|
|
139
139
|
});
|
|
140
140
|
}
|
|
@@ -24,7 +24,7 @@ export default class Report extends Base {
|
|
|
24
24
|
responseType: "blob"
|
|
25
25
|
});
|
|
26
26
|
const exportDateFormat = formatExportDateString();
|
|
27
|
-
FileDownload(response,
|
|
27
|
+
FileDownload(response, `report-${dayjs().format(exportDateFormat)}.xlsx`, 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet');
|
|
28
28
|
return null;
|
|
29
29
|
});
|
|
30
30
|
}
|