FIX : functions visibility
This commit is contained in:
parent
846f0366d3
commit
142f93e50c
@ -504,7 +504,7 @@ class modStockTransfer extends DolibarrModules
|
|||||||
* Returns next available id to insert new roles in llx_c_type_contact
|
* Returns next available id to insert new roles in llx_c_type_contact
|
||||||
* @return int > 0 if OK, < 0 if KO
|
* @return int > 0 if OK, < 0 if KO
|
||||||
*/
|
*/
|
||||||
function getNextId()
|
public function getNextId()
|
||||||
{
|
{
|
||||||
global $db;
|
global $db;
|
||||||
|
|
||||||
|
|||||||
@ -830,7 +830,7 @@ class pdf_eagle extends ModelePdfStockTransfer
|
|||||||
* @param $object Stock Transfer object
|
* @param $object Stock Transfer object
|
||||||
* @return bool true if at least one line has batch set, false if not
|
* @return bool true if at least one line has batch set, false if not
|
||||||
*/
|
*/
|
||||||
function atLeastOneBatch($object)
|
public function atLeastOneBatch($object)
|
||||||
{
|
{
|
||||||
|
|
||||||
$atLeastOneBatch = false;
|
$atLeastOneBatch = false;
|
||||||
|
|||||||
@ -354,7 +354,7 @@ class StockTransfer extends CommonObject
|
|||||||
* @param $b 1st element to test
|
* @param $b 1st element to test
|
||||||
* @return int
|
* @return int
|
||||||
*/
|
*/
|
||||||
function cmp($a, $b)
|
public function cmp($a, $b)
|
||||||
{
|
{
|
||||||
if ($a->rang == $b->rang) {
|
if ($a->rang == $b->rang) {
|
||||||
return 0;
|
return 0;
|
||||||
@ -367,7 +367,7 @@ class StockTransfer extends CommonObject
|
|||||||
*
|
*
|
||||||
* @return float total amount of Stock Transfer
|
* @return float total amount of Stock Transfer
|
||||||
*/
|
*/
|
||||||
function getValorisationTotale()
|
public function getValorisationTotale()
|
||||||
{
|
{
|
||||||
|
|
||||||
$total_pmp = 0;
|
$total_pmp = 0;
|
||||||
|
|||||||
@ -443,7 +443,7 @@ class StockTransferLine extends CommonObject
|
|||||||
* @param int $direction add or remove qty
|
* @param int $direction add or remove qty
|
||||||
* @return int 1 if ok, <= 0 if ko
|
* @return int 1 if ok, <= 0 if ko
|
||||||
*/
|
*/
|
||||||
function doStockMovement($label, $fk_entrepot, $direction = 1)
|
public function doStockMovement($label, $fk_entrepot, $direction = 1)
|
||||||
{
|
{
|
||||||
|
|
||||||
global $db, $conf, $user, $langs;
|
global $db, $conf, $user, $langs;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user