added logic to only send charges for 1 month loan

This commit was merged in pull request #64.
This commit is contained in:
Chinenye Nmoh
2026-01-23 20:42:03 +01:00
parent 39ea231fa0
commit f6f8e369c4
+1 -1
View File
@@ -103,7 +103,7 @@ class SimbrellaClient:
"accountId": loan_data.get('accountId'),
"productId": str(loan_data.get('productId', "")),
"provideAmount": loan_data.get('currentLoanAmount'),
"collectAmountInterest": interest_fee if product_id != '3MPC' else 0,
"collectAmountInterest": interest_fee if product_id != '3MPC' else 0, #send charges for only 1 month loan
"collectAmountMgtFee": mgt_fee if product_id != '3MPC' else 0,
"collectAmountInsurance": insurance_fee if product_id != '3MPC' else 0,
"collectAmountVAT": vat_fee if product_id != '3MPC' else 0,