- add filename for excel histori transaksi
This commit is contained in:
parent
e67ee94e07
commit
e9eff08281
|
@ -26,6 +26,9 @@ export class ExcelController {
|
|||
@Request() req,
|
||||
@Res() res: Response,
|
||||
) {
|
||||
res.set({
|
||||
'Content-Disposition': 'attachment; filename="package.xlsx"',
|
||||
});
|
||||
const result = await this.transactionService.exportDataExcel(
|
||||
exportTransactionDto.dateStart,
|
||||
id,
|
||||
|
|
Loading…
Reference in New Issue
Block a user