Skip to content

Commit

Permalink
feat: add expense reference and transfer reference exported fields
Browse files Browse the repository at this point in the history
  • Loading branch information
kewitz committed Dec 9, 2024
1 parent 3060527 commit fabb118
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/server/controllers/account-transactions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,8 @@ export const transactionsFragment = gqlV2`
type
tags
createdAt
reference
transferReference
amount: amountV2 {
value
currency
Expand Down Expand Up @@ -370,6 +372,8 @@ const csvMapping = {
?.map((a) => a.slug)
.join(' '),
expensePaidByHandle: (t) => get(t, 'expense.paidBy.slug'),
expenseReference: (t) => get(t, 'expense.reference'),
expenseTransferReference: (t) => get(t, 'expense.transferReference'),
};

const allKinds = [
Expand Down

0 comments on commit fabb118

Please sign in to comment.