Fix total loan calculation

This commit is contained in:
ATM john 2020-10-08 19:10:41 +02:00
parent 5ed7b43214
commit 3bf12ca193

View File

@ -734,7 +734,7 @@ foreach ($listofreferent as $key => $value)
|| !empty($dates) && empty($datee) && $loanSchedule->datep >= $dates && $loanSchedule->datep <= dol_now()
|| empty($dates) && !empty($datee) && $loanSchedule->datep <= $datee
) {
$total_ht_by_line = -$loanSchedule->amount_capital;
$total_ht_by_line-= $loanSchedule->amount_capital;
}
}
}