csv field miss on download fixed
This commit is contained in:
parent
9c003e9a16
commit
068ff023ef
@ -1045,7 +1045,7 @@ export class DealerClaimController {
|
||||
|
||||
const rows = items.map(item => {
|
||||
// For Non-GST, we hide HSN (often stored in transactionCode)
|
||||
const trnsUniqNo = isNonGst ? '' : (item.transactionCode || '');
|
||||
const trnsUniqNo = item.transactionCode || '';
|
||||
const claimNumber = requestNumber;
|
||||
const invNumber = invoice?.invoiceNumber || '';
|
||||
const dealerCode = claimDetails?.dealerCode || '';
|
||||
@ -1096,16 +1096,16 @@ export class DealerClaimController {
|
||||
async retriggerWFMPush(req: Request, res: Response): Promise<void> {
|
||||
try {
|
||||
const { requestId: identifier } = req.params;
|
||||
|
||||
|
||||
const workflow = await this.findWorkflowByIdentifier(identifier);
|
||||
if (!workflow) {
|
||||
return ResponseHandler.error(res, 'Workflow request not found', 404);
|
||||
}
|
||||
|
||||
const requestId = (workflow as any).id || (workflow as any).requestId;
|
||||
|
||||
|
||||
await this.dealerClaimService.pushWFMCSV(requestId);
|
||||
|
||||
|
||||
return ResponseHandler.success(res, {
|
||||
message: 'WFM CSV push re-triggered successfully'
|
||||
}, 'WFM push re-triggered');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user