fix: Add status in field list

This commit is contained in:
Deepesh Garg 2020-08-31 11:31:48 +05:30
parent ce29757bff
commit e8b121c2c2

View File

@ -52,7 +52,7 @@ def check_for_ltv_shortfall(process_loan_security_shortfall):
}, as_list=1))
loans = frappe.get_all('Loan', fields=['name', 'loan_amount', 'total_principal_paid', 'total_payment',
'total_interest_payable', 'disbursed_amount'],
'total_interest_payable', 'disbursed_amount', 'status'],
filters={'status': ('in',['Disbursed','Partially Disbursed']), 'is_secured_loan': 1})
loan_security_map = {}