Skip to content
Snippets Groups Projects
Commit 07f7db1b authored by atm-quentin's avatar atm-quentin
Browse files

FIX createFromCurrent lastvalue

parent 1523b2ef
No related branches found
No related tags found
No related merge requests found
......@@ -783,7 +783,7 @@ class Facture extends CommonInvoice
$facture->situation_final = $this->situation_final;
// Loop on each line of new invoice
foreach($facture->lines as $i => $line)
foreach($facture->lines as $i => &$line)
{
$facture->lines[$i]->fk_prev_id = $this->lines[$i]->rowid;
if ($invertdetail)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment