Fix display good progress for new situation invoices
This commit is contained in:
parent
791c373db5
commit
022f842cb0
@ -1536,7 +1536,8 @@ if (empty($reshook))
|
|||||||
$line->origin = $object->origin;
|
$line->origin = $object->origin;
|
||||||
$line->origin_id = $line->id;
|
$line->origin_id = $line->id;
|
||||||
$line->fetch_optionals($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
|
// Si fk_remise_except defini on vérifie si la réduction à déjà été appliquée
|
||||||
if ($line->fk_remise_except)
|
if ($line->fk_remise_except)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user