Doxygen
This commit is contained in:
parent
828ef2a8e3
commit
9e29d6cf9f
@ -77,7 +77,7 @@ class Product extends CommonObject
|
|||||||
|
|
||||||
//! Stock
|
//! Stock
|
||||||
var $stock_reel;
|
var $stock_reel;
|
||||||
//! Stock value (PMP)
|
//! Average price value for product entry into stock (PMP)
|
||||||
var $pmp;
|
var $pmp;
|
||||||
|
|
||||||
var $seuil_stock_alerte;
|
var $seuil_stock_alerte;
|
||||||
@ -2337,8 +2337,8 @@ class Product extends CommonObject
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Load information about stock of a product into stock_warehouse[] and stock_reel
|
* Load information about stock of a product into stock_warehouse[] and stock_reel
|
||||||
* \return int < 0 si erreur, > 0 si ok
|
* @return int < 0 si erreur, > 0 si ok
|
||||||
*/
|
*/
|
||||||
function load_stock()
|
function load_stock()
|
||||||
{
|
{
|
||||||
@ -2364,12 +2364,6 @@ class Product extends CommonObject
|
|||||||
$this->stock_reel+=$row->reel;
|
$this->stock_reel+=$row->reel;
|
||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->no_stock = 0;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$this->no_stock = 1;
|
|
||||||
}
|
}
|
||||||
$this->db->free($result);
|
$this->db->free($result);
|
||||||
return 1;
|
return 1;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user