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:
Frédéric FRANCE
2024-06-04 14:46:54 +02:00
committed by GitHub
parent 678c76b80e
commit 741e75ee47
20 changed files with 133 additions and 24 deletions

View File

@@ -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 = '';