fix: Sider issues

This commit is contained in:
GangaManoj 2021-07-16 02:23:55 +05:30
parent 2e507b47a8
commit 56cdcebbf4

View File

@ -228,7 +228,7 @@ class Asset(AccountsController):
self.to_date = add_months(self.available_for_use_date,
n * cint(d.frequency_of_depreciation))
depreciation_amount, days, months = get_pro_rata_amt(d,
depreciation_amount, days, months = self.get_pro_rata_amt(d,
depreciation_amount, schedule_date, self.to_date)
monthly_schedule_date = add_months(schedule_date, 1)