Fix total loan calculation
This commit is contained in:
parent
5ed7b43214
commit
3bf12ca193
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user