Merge pull request #14986 from Dolibarr/12.0

Non admin account can create an email template for other user
This commit is contained in:
Laurent Destailleur
2020-10-12 12:16:31 +02:00
committed by GitHub

View File

@@ -729,7 +729,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;
}
}
}