Skip to content

Commit

Permalink
chore: integrate chart of accounts into deposits (#1173)
Browse files Browse the repository at this point in the history
* chore: add account_id param to 'create_transaction_account'

* refactor: change charts use-case functions to domain service functions

* chore: use chart of accounts to create deposit account

* chore: add chart of accounts default id

* fix: move normal_balance_type to value object

* refactor: change AccountDetails 'code' to 'path' and add 'code' as string

* fix: use globally unique ledger codes from chart of accounts

This is to fix the issue that there can be multiple charts with same
codes and codes are unique in ledger.

* chore: pass deposit audit info to chart_of_account operation

* chore: transaction_account_factory boilerplate

* feat: add reference to chart of account entity

* chore: run sqlx-prepare

* feat: add find_by_reference for charts

* chore: replace ledger with TransactionAccountFactory

* chore: add ledger seed & remove charts config

* feat: add reference to chart create accounts for idempotency

* chore: find or create account paths in seed

* refactor: change param from &str to String

* chore: move seed to new accounting module

---------

Co-authored-by: bodymindarts <justin@galoy.io>
  • Loading branch information
vindard and bodymindarts committed Dec 23, 2024
1 parent 16790a7 commit 43094a4
Show file tree
Hide file tree
Showing 200 changed files with 5,002 additions and 420 deletions.
3 changes: 3 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 43094a4

Please sign in to comment.