feat(bank-accounts): add transaction retrieval and update service logic
- Implemented a new endpoint to fetch transactions for a specific bank account. - Refactored the bank account service to streamline transaction handling and balance calculations. - Removed the bank account balance table and adjusted related logic in workflows and services. - Enhanced transaction mapping to include references to sales and purchase records.
This commit is contained in:
@@ -52,11 +52,6 @@ export type BankAccount = Prisma.BankAccountModel
|
||||
*
|
||||
*/
|
||||
export type BankAccountTransaction = Prisma.BankAccountTransactionModel
|
||||
/**
|
||||
* Model BankAccountBalance
|
||||
*
|
||||
*/
|
||||
export type BankAccountBalance = Prisma.BankAccountBalanceModel
|
||||
/**
|
||||
* Model Inventory
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user