bugfix
This commit is contained in:
parent
1b4d7acbe2
commit
54fb319676
@ -133,7 +133,7 @@ function info()
|
|||||||
* \param objsoc Objet société
|
* \param objsoc Objet société
|
||||||
* \return string Texte descripif
|
* \return string Texte descripif
|
||||||
*/
|
*/
|
||||||
function commande_get_num($objsoc=0)
|
function getNumRef($objsoc=0)
|
||||||
{
|
{
|
||||||
return $this->getNextValue();
|
return $this->getNextValue();
|
||||||
}
|
}
|
||||||
|
|||||||
@ -75,7 +75,7 @@ class mod_propale_emeraude extends ModeleNumRefPropales
|
|||||||
/** \brief Renvoi prochaine valeur attribuée
|
/** \brief Renvoi prochaine valeur attribuée
|
||||||
* \return string Valeur
|
* \return string Valeur
|
||||||
*/
|
*/
|
||||||
function getNextValue()
|
function getNextValue($objsoc=0)
|
||||||
{
|
{
|
||||||
global $db,$conf;
|
global $db,$conf;
|
||||||
|
|
||||||
@ -130,16 +130,6 @@ class mod_propale_emeraude extends ModeleNumRefPropales
|
|||||||
return "PR$yy$num";
|
return "PR$yy$num";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/** \brief Renvoie la référence de commande suivante non utilisée
|
|
||||||
* \param objsoc Objet société
|
|
||||||
* \return string Texte descripif
|
|
||||||
*/
|
|
||||||
function commande_get_num($objsoc=0)
|
|
||||||
{
|
|
||||||
return $this->getNextValue();
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user