mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-15 11:09:17 +00:00
Merge pull request #5884 from saurabh6790/schools_fix
[minor][fix] rename attribute from amount to components
This commit is contained in:
@@ -13,6 +13,6 @@ class FeeStructure(Document):
|
|||||||
def calculate_total(self):
|
def calculate_total(self):
|
||||||
"""Calculates total amount."""
|
"""Calculates total amount."""
|
||||||
self.total_amount = 0
|
self.total_amount = 0
|
||||||
for d in self.amount:
|
for d in self.components:
|
||||||
self.total_amount += d.amount
|
self.total_amount += d.amount
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user