forked from Wavyzz/dolibarr
add phpdoc (#29832)
* add phpdoc * fix phan * fix phan * fix phan * fix phan * fix phan * fix phan * fix phan * fix phan * fix phan * add phpdoc * fix phan * fix phan
This commit is contained in:
@@ -90,7 +90,14 @@ class ReceptionLineBatch extends CommonObjectLine
|
||||
*/
|
||||
public $fk_product;
|
||||
|
||||
/**
|
||||
* @var float Quantity
|
||||
*/
|
||||
public $qty;
|
||||
|
||||
/**
|
||||
* @var float Quantity asked
|
||||
*/
|
||||
public $qty_asked;
|
||||
|
||||
public $libelle;
|
||||
@@ -167,7 +174,7 @@ class ReceptionLineBatch extends CommonObjectLine
|
||||
$this->fk_elementdet = (int) $this->fk_elementdet;
|
||||
}
|
||||
if (isset($this->qty)) {
|
||||
$this->qty = trim($this->qty);
|
||||
$this->qty = (float) $this->qty;
|
||||
}
|
||||
if (isset($this->fk_entrepot)) {
|
||||
$this->fk_entrepot = (int) $this->fk_entrepot;
|
||||
@@ -374,7 +381,7 @@ class ReceptionLineBatch extends CommonObjectLine
|
||||
$this->fk_elementdet = (int) $this->fk_elementdet;
|
||||
}
|
||||
if (isset($this->qty)) {
|
||||
$this->qty = trim($this->qty);
|
||||
$this->qty = (float) $this->qty;
|
||||
}
|
||||
if (isset($this->fk_entrepot)) {
|
||||
$this->fk_entrepot = (int) $this->fk_entrepot;
|
||||
@@ -640,7 +647,7 @@ class ReceptionLineBatch extends CommonObjectLine
|
||||
$this->fk_element = 0;
|
||||
$this->fk_product = 0;
|
||||
$this->fk_elementdet = 0;
|
||||
$this->qty = '';
|
||||
$this->qty = 0;
|
||||
$this->fk_entrepot = 0;
|
||||
$this->fk_user = 0;
|
||||
$this->datec = '';
|
||||
|
||||
Reference in New Issue
Block a user