FIX: Wrong type hinting
This commit is contained in:
parent
7c7276b5aa
commit
c7c809a609
@ -1062,25 +1062,25 @@ class CommandeFournisseur extends CommonOrder
|
|||||||
* Add order line
|
* Add order line
|
||||||
*
|
*
|
||||||
* @param string $desc Description
|
* @param string $desc Description
|
||||||
* @param double $pu_ht Unit price
|
* @param float $pu_ht Unit price
|
||||||
* @param double $qty Quantity
|
* @param float $qty Quantity
|
||||||
* @param double $txtva Taux tva
|
* @param float $txtva Taux tva
|
||||||
* @param double $txlocaltax1 Localtax1 tax
|
* @param float $txlocaltax1 Localtax1 tax
|
||||||
* @param double $txlocaltax2 Localtax2 tax
|
* @param float $txlocaltax2 Localtax2 tax
|
||||||
* @param int $fk_product Id produit
|
* @param int $fk_product Id produit
|
||||||
* @param int $fk_prod_fourn_price Id supplier price
|
* @param int $fk_prod_fourn_price Id supplier price
|
||||||
* @param string $fourn_ref Supplier reference
|
* @param string $fourn_ref Supplier reference
|
||||||
* @param double $remise_percent Remise
|
* @param float $remise_percent Remise
|
||||||
* @param string $price_base_type HT or TTC
|
* @param string $price_base_type HT or TTC
|
||||||
* @param double $pu_ttc Unit price TTC
|
* @param float $pu_ttc Unit price TTC
|
||||||
* @param int $type Type of line (0=product, 1=service)
|
* @param int $type Type of line (0=product, 1=service)
|
||||||
* @param int $info_bits More information
|
* @param int $info_bits More information
|
||||||
* @param int $notrigger Disable triggers
|
* @param bool $notrigger Disable triggers
|
||||||
* @param timestamp $date_start Date start of service
|
* @param int $date_start Date start of service
|
||||||
* @param timestamp $date_end Date end of service
|
* @param int $date_end Date end of service
|
||||||
* @return int <=0 if KO, >0 if OK
|
* @return int <=0 if KO, >0 if OK
|
||||||
*/
|
*/
|
||||||
function addline($desc, $pu_ht, $qty, $txtva, $txlocaltax1=0, $txlocaltax2=0, $fk_product=0, $fk_prod_fourn_price=0, $fourn_ref='', $remise_percent=0, $price_base_type='HT', $pu_ttc=0, $type=0, $info_bits=0, $notrigger=false, $date_start='', $date_end='')
|
function addline($desc, $pu_ht, $qty, $txtva, $txlocaltax1=0.0, $txlocaltax2=0.0, $fk_product=0, $fk_prod_fourn_price=0, $fourn_ref='', $remise_percent=0.0, $price_base_type='HT', $pu_ttc=0.0, $type=0, $info_bits=0, $notrigger=false, $date_start=null, $date_end=null)
|
||||||
{
|
{
|
||||||
global $langs,$mysoc;
|
global $langs,$mysoc;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user