Skip to content
Snippets Groups Projects
Commit 8ca2bbec authored by Laurent Destailleur's avatar Laurent Destailleur Committed by GitHub
Browse files

Merge pull request #7305 from atm-quentin/6.0

FIX createFromCurrent lastvalue
parents 044feab0 945fb61e
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 => $tmpline)
{
$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