New : option to reset numbering to 0 every month using @99 in the mask
This commit is contained in:
parent
644a05f6dc
commit
5992ebcdbc
@ -607,6 +607,7 @@ function get_next_value($db,$mask,$table,$field,$where='',$objsoc='',$date='',$m
|
||||
|
||||
if ($maskraz > 0) // A reset is required
|
||||
{
|
||||
if ($maskraz == 99) $maskraz = date('m');
|
||||
if ($maskraz > 12) return 'ErrorBadMaskBadRazMonth';
|
||||
|
||||
// Define posy, posm and reg
|
||||
|
||||
Loading…
Reference in New Issue
Block a user