Update facture.class.php
This commit is contained in:
parent
6416f24d5f
commit
ef5372f476
@ -1400,7 +1400,6 @@ class Facture extends CommonInvoice
|
|||||||
$this->fk_incoterms = $obj->fk_incoterms;
|
$this->fk_incoterms = $obj->fk_incoterms;
|
||||||
$this->location_incoterms = $obj->location_incoterms;
|
$this->location_incoterms = $obj->location_incoterms;
|
||||||
$this->libelle_incoterms = $obj->libelle_incoterms;
|
$this->libelle_incoterms = $obj->libelle_incoterms;
|
||||||
|
|
||||||
$this->module_source = $obj->module_source;
|
$this->module_source = $obj->module_source;
|
||||||
$this->pos_source = $obj->pos_source;
|
$this->pos_source = $obj->pos_source;
|
||||||
|
|
||||||
@ -2654,7 +2653,7 @@ class Facture extends CommonInvoice
|
|||||||
* @return int <0 if KO, Id of line if OK
|
* @return int <0 if KO, Id of line if OK
|
||||||
*/
|
*/
|
||||||
function addline($desc, $pu_ht, $qty, $txtva, $txlocaltax1 = 0, $txlocaltax2 = 0, $fk_product = 0, $remise_percent = 0, $date_start = '', $date_end = '', $ventil = 0, $info_bits = 0, $fk_remise_except = '', $price_base_type = 'HT', $pu_ttc = 0, $type = self::TYPE_STANDARD, $rang = -1, $special_code = 0, $origin = '', $origin_id = 0, $fk_parent_line = 0, $fk_fournprice = null, $pa_ht = 0, $label = '', $array_options = 0, $situation_percent = 100, $fk_prev_id = 0, $fk_unit = null, $pu_ht_devise = 0)
|
function addline($desc, $pu_ht, $qty, $txtva, $txlocaltax1 = 0, $txlocaltax2 = 0, $fk_product = 0, $remise_percent = 0, $date_start = '', $date_end = '', $ventil = 0, $info_bits = 0, $fk_remise_except = '', $price_base_type = 'HT', $pu_ttc = 0, $type = self::TYPE_STANDARD, $rang = -1, $special_code = 0, $origin = '', $origin_id = 0, $fk_parent_line = 0, $fk_fournprice = null, $pa_ht = 0, $label = '', $array_options = 0, $situation_percent = 100, $fk_prev_id = 0, $fk_unit = null, $pu_ht_devise = 0)
|
||||||
{
|
{
|
||||||
// Deprecation warning
|
// Deprecation warning
|
||||||
if ($label) {
|
if ($label) {
|
||||||
dol_syslog(__METHOD__ . ": using line label is deprecated", LOG_WARNING);
|
dol_syslog(__METHOD__ . ": using line label is deprecated", LOG_WARNING);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user