File tree 1 file changed +3
-3
lines changed
hrms/hr/doctype/full_and_final_statement
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -80,13 +80,13 @@ def set_total_asset_recovery_cost(self):
80
80
total_cost = 0
81
81
for data in self .assets_allocated :
82
82
if data .action == "Recover Cost" :
83
- total_cost += data .cost
83
+ total_cost += flt ( data .cost )
84
84
85
85
self .total_asset_recovery_cost = flt (total_cost , self .precision ("total_asset_recovery_cost" ))
86
86
87
87
def set_totals (self ):
88
- total_payable = sum (row .amount for row in self .payables )
89
- total_receivable = sum (row .amount for row in self .receivables )
88
+ total_payable = sum (flt ( row .amount ) for row in self .payables )
89
+ total_receivable = sum (flt ( row .amount ) for row in self .receivables )
90
90
91
91
self .total_payable_amount = flt (total_payable , self .precision ("total_payable_amount" ))
92
92
self .total_receivable_amount = flt (
You can’t perform that action at this time.
0 commit comments