1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-02-27 16:57:38 +01:00
This commit is contained in:
Luca 2021-01-05 10:39:51 +01:00
parent b5e99dcfe3
commit eb801d0fde

View File

@ -518,8 +518,8 @@ function verifica_numero(Fattura $fattura)
'data < '.prepare(date('Y-m-d', strtotime($data))),
'YEAR(data) = '.prepare(date('Y', strtotime($data))),
'id_segment = '.prepare($id_segment),
]);
], $data);
do {
$numero = Generator::generate($maschera, $ultimo, 1, Generator::dateToPattern($data));