mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-01-15 08:56:20 +01:00
fix minore
This commit is contained in:
parent
4c12275966
commit
1c592767d6
@ -224,10 +224,6 @@ class Ordine extends Document
|
||||
}
|
||||
}
|
||||
|
||||
$ultimo = Generator::getPreviousFrom($maschera, 'or_ordini', 'numero', [
|
||||
'YEAR(data) = '.prepare(date('Y', strtotime($data))),
|
||||
'idtipoordine IN (SELECT id FROM or_tipiordine WHERE dir = '.prepare($direzione).')',
|
||||
]);
|
||||
$numero = Generator::generate($maschera, $ultimo);
|
||||
|
||||
return $numero;
|
||||
|
Loading…
Reference in New Issue
Block a user