Skip to content

Commit

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

const allKinds = [
Expand Down

0 comments on commit 822e7cb

Please sign in to comment.