- added supplier name for role admin
This commit is contained in:
@@ -5,7 +5,9 @@ import {
|
||||
Header,
|
||||
Post,
|
||||
Body,
|
||||
Request, Param, ParseUUIDPipe,
|
||||
Request,
|
||||
Param,
|
||||
ParseUUIDPipe,
|
||||
} from '@nestjs/common';
|
||||
import { Response } from 'express';
|
||||
import { TransactionService } from './transaction.service';
|
||||
@@ -29,6 +31,7 @@ export class ExcelController {
|
||||
const result = await this.transactionService.exportDataExcel(
|
||||
exportTransactionDto.dateStart,
|
||||
id,
|
||||
req.user,
|
||||
);
|
||||
|
||||
res.download(`${result}`);
|
||||
|
||||
Reference in New Issue
Block a user