mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-04 16:12:39 +01:00
Debug clone tasks
This commit is contained in:
@@ -124,9 +124,9 @@ class mod_task_simple extends ModeleNumRefTask
|
||||
/**
|
||||
* Return next value
|
||||
*
|
||||
* @param Societe|string $objsoc Object third party
|
||||
* @param Task|string $object Object Task
|
||||
* @return string|-1 Value if OK, -1 if KO
|
||||
* @param null|Societe|string $objsoc Object third party
|
||||
* @param null|Task|string $object Object Task
|
||||
* @return string|int<-1,0> Value if OK, <=0 if KO
|
||||
*/
|
||||
public function getNextValue($objsoc, $object)
|
||||
{
|
||||
|
||||
@@ -121,9 +121,9 @@ class mod_task_universal extends ModeleNumRefTask
|
||||
/**
|
||||
* Return next value
|
||||
*
|
||||
* @param Societe|string $objsoc Object third party
|
||||
* @param Task|string $object Object task
|
||||
* @return string|int Value if OK, 0 if KO
|
||||
* @param null|Societe|string $objsoc Object third party
|
||||
* @param null|Task|string $object Object Task
|
||||
* @return string|int<-1,0> Value if OK, <=0 if KO
|
||||
*/
|
||||
public function getNextValue($objsoc = '', $object = '')
|
||||
{
|
||||
|
||||
@@ -38,7 +38,7 @@ abstract class ModelePDFTask extends CommonDocGenerator
|
||||
/**
|
||||
* Return list of active generation modules
|
||||
*
|
||||
* @param DoliDB $db Database handler
|
||||
* @param DoliDB $db Database handler
|
||||
* @param integer $maxfilenamelength Max length of value to show
|
||||
* @return array List of templates
|
||||
*/
|
||||
@@ -62,5 +62,19 @@ abstract class ModelePDFTask extends CommonDocGenerator
|
||||
*/
|
||||
abstract class ModeleNumRefTask extends CommonNumRefGenerator
|
||||
{
|
||||
// No overload code
|
||||
/**
|
||||
* Return next value
|
||||
*
|
||||
* @param null|Societe|string $objsoc Object third party
|
||||
* @param null|Task|string $object Object Task
|
||||
* @return string|int<-1,0> Value if OK, <=0 if KO
|
||||
*/
|
||||
abstract public function getNextValue($objsoc, $object);
|
||||
|
||||
/**
|
||||
* Return an example of numbering
|
||||
*
|
||||
* @return string Example
|
||||
*/
|
||||
abstract public function getExample();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user