mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix: Not loading all fields in fetch function
This commit is contained in:
parent
929742c968
commit
6968e199ee
|
|
@ -14,7 +14,7 @@
|
|||
* Copyright (C) 2012-2014 Raphaël Doursenaud <rdoursenaud@gpcsolutions.fr>
|
||||
* Copyright (C) 2013 Cedric Gross <c.gross@kreiz-it.fr>
|
||||
* Copyright (C) 2013 Florian Henry <florian.henry@open-concept.pro>
|
||||
* Copyright (C) 2016-2022 Ferran Marcet <fmarcet@2byte.es>
|
||||
* Copyright (C) 2016-2025 Ferran Marcet <fmarcet@2byte.es>
|
||||
* Copyright (C) 2018-2024 Alexandre Spangaro <alexandre@inovea-conseil.com>
|
||||
* Copyright (C) 2018 Nicolas ZABOURI <info@inovea-conseil.com>
|
||||
* Copyright (C) 2022 Sylvain Legrand <contact@infras.fr>
|
||||
|
|
@ -6168,6 +6168,7 @@ class FactureLigne extends CommonInvoiceLine
|
|||
$sql .= ' fd.date_start as date_start, fd.date_end as date_end, fd.fk_product_fournisseur_price as fk_fournprice, fd.buy_price_ht as pa_ht,';
|
||||
$sql .= ' fd.info_bits, fd.special_code, fd.total_ht, fd.total_tva, fd.total_ttc, fd.total_localtax1, fd.total_localtax2, fd.rang,';
|
||||
$sql .= ' fd.fk_code_ventilation,';
|
||||
$sql .= ' fd.batch, fd.fk_warehouse,';
|
||||
$sql .= ' fd.fk_unit, fd.fk_user_author, fd.fk_user_modif,';
|
||||
$sql .= ' fd.situation_percent, fd.fk_prev_id,';
|
||||
$sql .= ' fd.multicurrency_subprice,';
|
||||
|
|
@ -6216,6 +6217,8 @@ class FactureLigne extends CommonInvoiceLine
|
|||
$this->total_localtax2 = $objp->total_localtax2;
|
||||
$this->total_ttc = $objp->total_ttc;
|
||||
$this->fk_code_ventilation = $objp->fk_code_ventilation;
|
||||
$this->batch = $objp->batch;
|
||||
$this->fk_warehouse = $objp->fk_warehouse;
|
||||
$this->rang = $objp->rang;
|
||||
$this->fk_fournprice = $objp->fk_fournprice;
|
||||
$marginInfos = getMarginInfos($objp->subprice, $objp->remise_percent, $objp->tva_tx, $objp->localtax1_tx, $objp->localtax2_tx, $this->fk_fournprice, $objp->pa_ht);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user