FIX_next_situation_keep_extrafields

This commit is contained in:
atm-quentin 2017-07-26 15:20:31 +02:00
parent f3ceedfe38
commit 29a4900d0b

View File

@ -748,6 +748,10 @@ class Facture extends CommonInvoice
// Charge facture source
$facture=new Facture($this->db);
foreach($this->lines as $line){
$line->fetch_optionals();//fetch extrafields
}
$facture->fk_facture_source = $this->fk_facture_source;
$facture->type = $this->type;