Skip to content

Commit

Permalink
feat: Add COGS type to cash transactions categorization
Browse files Browse the repository at this point in the history
  • Loading branch information
abouolia committed Jun 9, 2024
1 parent dc4cdb2 commit ef2d1ff
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/server/src/services/Cashflow/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,11 @@ export const CASHFLOW_TRANSACTION_TYPE_META = {
[`${CASHFLOW_TRANSACTION_TYPE.OTHER_EXPENSE}`]: {
type: 'OtherExpense',
direction: CASHFLOW_DIRECTION.OUT,
creditType: [ACCOUNT_TYPE.EXPENSE, ACCOUNT_TYPE.OTHER_EXPENSE],
creditType: [
ACCOUNT_TYPE.EXPENSE,
ACCOUNT_TYPE.OTHER_EXPENSE,
ACCOUNT_TYPE.COST_OF_GOODS_SOLD,
],
},
};

Expand Down

0 comments on commit ef2d1ff

Please sign in to comment.