Browse Source

Fix export for liabilities

pull/1954/head
Thomas 2 years ago
parent
commit
0e8e9e9c32
  1. 5
      apps/api/src/app/export/export.service.ts

5
apps/api/src/app/export/export.service.ts

@ -77,7 +77,10 @@ export class ExportService {
currency: SymbolProfile.currency,
dataSource: SymbolProfile.dataSource,
date: date.toISOString(),
symbol: type === 'ITEM' ? SymbolProfile.name : SymbolProfile.symbol
symbol:
type === 'FEE' || type === 'ITEM' || type === 'LIABILITY'
? SymbolProfile.name
: SymbolProfile.symbol
};
}
)

Loading…
Cancel
Save