FIX createFromCurrent lastvalue
This commit is contained in:
parent
1523b2ef80
commit
07f7db1b6d
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user