Fix calcolo numero maschera

This commit is contained in:
MatteoPistorello 2022-10-25 10:00:32 +02:00
parent dc5e2a7957
commit eb561afdbd
1 changed files with 1 additions and 1 deletions

View File

@ -201,7 +201,7 @@ class Generator
$maschera = Generator::complete($maschera, [], $date);
$maschera = str_replace('#', '%', $maschera);
$query = Manager::table($table)->select($field)->where($field, 'like', $maschera)->orderByRaw('LENGTH('.$field.') DESC')->orderByRaw($order);
$query = Manager::table($table)->select($field)->where($field, 'like', $maschera)->orderByRaw($order);
foreach ($where as $and) {
$query->whereRaw($and);