-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add back embedded statements (#1309)
* feat: add first statement (#1289) * refactor: expand seed into module * feat: add account_set_id when creating control accounts * chore: setup core/statements module boilerplate * chore: add statements entity boilerplate * refactor: change statement entity to trial_balance_statement * refactor: use statement entity id as account set id * feat: add trial balance ledger boilerplate * refactor: expand accounting_init constants into module * chore: add Statements to accounting_init * feat: add 'create_trial_balance_statement' use-case * chore: add statement actions to rbac * chore: add 'find_by_reference' function * feat: create trial balance statements in accounting_init * feat: add created control-sub-accounts to trial balance * chore: update cala * chore: replicate core TrialBalances module in lana app * refactor: swap core/statements for lana/trial_balances in seed * chore: remove unused core/statements module * feat: add trial_balance query function with balances * refactor: change trial balance query param to name * refactor: remove currency argument, fetch both usd & btc currencies * refactor: use Satoshi/UsdCent types in trial_balance ledger * chore: implement new trial_balance gql query * chore: clean up lints * chore: add TrialBalance auth for bank manager * fix: handle no balance found error * chore: add control_sub_account to control account cala account set * chore: re-add off-trial-balance implementation * refactor: do net calcs in ledger layer * fix: add relevant facility accounts to off-balance-sheet-trial-balance * chore: add omnibus accounts to charts and trial_balance * refactor: switch around Asset/Liabilities designation for facility accounts * fix: show netDebit Trial Balance frontend * temp: debug gh actions charts test * refactor: move statement to lana_app top level * feat: add profit loss (#1310) * feat: add profit-and-loss statement boilerplate * chore: add pl statement line item account sets * chore: add P&L statement to accounting_init * chore: map PL statement to graphql types * fix: do not return new id when control account exists (#1311) * chore: update cala-ledger (#1314) --------- Co-authored-by: Vaibhav <[email protected]> --------- Co-authored-by: Vaibhav <[email protected]>
- Loading branch information
1 parent
2df6cfb
commit ca93a08
Showing
58 changed files
with
2,299 additions
and
605 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.