This commit is contained in:
paoloar77
2024-12-07 19:39:32 +01:00
parent 16a42d1ba8
commit 32eb5ac9b6

View File

@@ -42,7 +42,7 @@ class ArticleController extends Controller
DB::raw('COALESCE(o.totaleVenduti, 0) as totaleVenduti'))
->where('DescrizioneStatoProdotto','In commercio')
->where('DescrizioneTipologia','Libri')
->where(DB::raw('CONVERT(INT, QtaDisponibile)'),'!=',0)
->where(DB::raw('CONVERT(INT, o.QtaDisponibile)'),'<>',0)
->orderBy('totaleVenduti', 'desc')
->get();