phpcs
This commit is contained in:
parent
ffc4820970
commit
b0de030f3e
@ -139,7 +139,7 @@ class mod_bom_standard extends ModeleNumRefboms
|
|||||||
//$date=time();
|
//$date=time();
|
||||||
$date=$object->date_creation;
|
$date=$object->date_creation;
|
||||||
$yymm = strftime("%y%m", $date);
|
$yymm = strftime("%y%m", $date);
|
||||||
;
|
|
||||||
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
|
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
|
||||||
else $num = sprintf("%04s", $max+1);
|
else $num = sprintf("%04s", $max+1);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user