Skip to content

Commit 841ddf4

Browse files
committed
fix: maschera di generazione numero progressivo
1 parent 28c3276 commit 841ddf4

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

lib/common.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -677,11 +677,6 @@ function getNextNumeroProgressivo($table, $field, $data, $id_segment, $options =
677677
$maschera = Generator::getMaschera($id_segment);
678678
}
679679

680-
// Se la maschera è '#', ritorna '#' (per ordini di vendita)
681-
if ($maschera === '#') {
682-
return '#';
683-
}
684-
685680
// Calcola le condizioni in base alla maschera
686681
$has_month = str_contains($maschera, 'm');
687682
$has_year = str_contains($maschera, 'YYYY') || str_contains($maschera, 'yy');

0 commit comments

Comments
 (0)