Browse Source

feat(gh-4327): add tag ids to export

pull/4337/head
Sayed Murtadha Ahmed 2 months ago
committed by Thomas Kaul
parent
commit
c0860d1853
  1. 6
      apps/api/src/app/export/export.service.ts

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

@ -73,7 +73,8 @@ export class ExportService {
quantity,
SymbolProfile,
type,
unitPrice
unitPrice,
tags
}) => {
return {
accountId,
@ -92,7 +93,8 @@ export class ExportService {
type === 'ITEM' ||
type === 'LIABILITY'
? SymbolProfile.name
: SymbolProfile.symbol
: SymbolProfile.symbol,
tags: tags.map(({ id: tagId }) => tagId)
};
}
),

Loading…
Cancel
Save