forked from Wavyzz/dolibarr
Correction gestion num commande fournisseur
This commit is contained in:
@@ -96,7 +96,7 @@ class mod_commande_marbre extends ModeleNumRefCommandes
|
||||
/** \brief Renvoi prochaine valeur attribu<62>e
|
||||
* \return string Valeur
|
||||
*/
|
||||
function getNextValue()
|
||||
function getNextValue($soc)
|
||||
{
|
||||
global $db;
|
||||
|
||||
@@ -149,7 +149,7 @@ class mod_commande_marbre extends ModeleNumRefCommandes
|
||||
*/
|
||||
function commande_get_num($objsoc=0)
|
||||
{
|
||||
return $this->getNextValue();
|
||||
return $this->getNextValue($objsoc);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user