[add]: accountId on loan and repayment

This commit was merged in pull request #9.
This commit is contained in:
VivianDee
2025-04-14 21:04:17 +01:00
parent 482a860bd2
commit a6e7eaac3c
5 changed files with 38 additions and 1 deletions
+1
View File
@@ -50,6 +50,7 @@ class BaseService:
"""
return Transaction.create_transaction(
transaction_id = validated_data.get("transactionId"),
customer_id = validated_data.get('customerId', None),
account_id = validated_data.get("accountId", None),
type = cls.TRANSACTION_TYPE,
channel = validated_data.get("channel"),