Fix display good progress for new situation invoices

This commit is contained in:
John BOTELLA 2018-09-25 10:28:47 +02:00
parent 791c373db5
commit 022f842cb0

View File

@ -1536,7 +1536,8 @@ if (empty($reshook))
$line->origin = $object->origin;
$line->origin_id = $line->id;
$line->fetch_optionals($line->id);
$line->situation_percent = $line->get_prev_progress($object->id); // get good progress including credit note
// Si fk_remise_except defini on vérifie si la réduction à déjà été appliquée
if ($line->fk_remise_except)
{