fix: Stop fetching amount while fetching Payment Terms

This commit is contained in:
GangaManoj 2021-08-05 21:42:09 +05:30
parent 55cb82c74d
commit 0588382c38

View File

@ -1180,10 +1180,7 @@ class AccountsController(TransactionBase):
'due_date': schedule.due_date,
'invoice_portion': schedule.invoice_portion,
'discount_type': schedule.discount_type,
'discount': schedule.discount,
'base_payment_amount': schedule.base_payment_amount,
'payment_amount': schedule.payment_amount,
'outstanding': schedule.outstanding
'discount': schedule.discount
}
self.append("payment_schedule", payment_schedule)