Update mod_myobject_standard.php
This commit is contained in:
parent
0b841b9d11
commit
d5c7d8dcdf
1 changed files with 1 additions and 1 deletions
|
|
@ -149,7 +149,7 @@ class mod_myobject_standard extends ModeleNumRefMyObject
|
|||
|
||||
//$date=time();
|
||||
$date = $object->date_creation;
|
||||
$yymm = strftime("%y%m", $date);
|
||||
$yymm = dol_print_date($date, "%y%m");
|
||||
|
||||
if ($max >= (pow(10, 4) - 1)) {
|
||||
$num = $max + 1; // If counter > 9999, we do not format on 4 chars, we take number as it is
|
||||
|
|
|
|||
Loading…
Reference in a new issue