Code comment
This commit is contained in:
parent
4ac79828e7
commit
38d8d30c85
4 changed files with 8 additions and 8 deletions
|
|
@ -483,9 +483,9 @@ class Propal extends CommonObject
|
|||
|
||||
// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
|
||||
/**
|
||||
* Adding line of fixed discount in the proposal in DB
|
||||
* Add a discount line into an proposal (as a proposal line) using an existing absolute discount (Consume the discount)
|
||||
*
|
||||
* @param int $idremise Id of fixed discount
|
||||
* @param int $idremise Id of fixed discount from table llx_societe_remise_except
|
||||
* @return int >0 if OK, <0 if KO
|
||||
*/
|
||||
public function insert_discount($idremise)
|
||||
|
|
|
|||
|
|
@ -2010,9 +2010,9 @@ class Commande extends CommonOrder
|
|||
|
||||
// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
|
||||
/**
|
||||
* Add line of fixed discount in the order in DB
|
||||
* Add a discount line into a sale order (as a sale order line) using an existing absolute discount (Consume the discount)
|
||||
*
|
||||
* @param int $idremise Id for the fixed discount
|
||||
* @param int $idremise Id for the fixed discount from table llx_societe_remise_except
|
||||
* @return int >0 if OK, <0 if KO
|
||||
*/
|
||||
public function insert_discount($idremise)
|
||||
|
|
|
|||
|
|
@ -2574,13 +2574,13 @@ class Facture extends CommonInvoice
|
|||
/**
|
||||
* Add a discount line into an invoice (as an invoice line) using an existing absolute discount (Consume the discount)
|
||||
*
|
||||
* @param int $idremise Id of absolute discount
|
||||
* @param int $idremise Id of absolute discount from table llx_societe_remise_except
|
||||
* @return int >0 if OK, <0 if KO
|
||||
*/
|
||||
public function insert_discount($idremise)
|
||||
{
|
||||
// phpcs:enable
|
||||
global $conf, $langs;
|
||||
global $langs;
|
||||
|
||||
include_once DOL_DOCUMENT_ROOT.'/core/lib/price.lib.php';
|
||||
include_once DOL_DOCUMENT_ROOT.'/core/class/discount.class.php';
|
||||
|
|
|
|||
|
|
@ -46,13 +46,13 @@ create table llx_facture_fourn_det
|
|||
product_type integer DEFAULT 0,
|
||||
date_start datetime DEFAULT NULL, -- date debut si service
|
||||
date_end datetime DEFAULT NULL, -- date fin si service
|
||||
info_bits integer DEFAULT 0, -- TVA NPR ou non
|
||||
info_bits integer DEFAULT 0, -- TVA NPR or not
|
||||
fk_code_ventilation integer DEFAULT 0 NOT NULL,
|
||||
special_code integer DEFAULT 0, -- code for special lines
|
||||
rang integer DEFAULT 0,
|
||||
import_key varchar(14),
|
||||
fk_unit integer DEFAULT NULL,
|
||||
|
||||
|
||||
fk_multicurrency integer,
|
||||
multicurrency_code varchar(3),
|
||||
multicurrency_subprice double(24,8) DEFAULT 0,
|
||||
|
|
|
|||
Loading…
Reference in a new issue