aa
This commit is contained in:
@@ -42,7 +42,7 @@ class ArticleController extends Controller
|
|||||||
DB::raw('COALESCE(o.totaleVenduti, 0) as totaleVenduti'))
|
DB::raw('COALESCE(o.totaleVenduti, 0) as totaleVenduti'))
|
||||||
->where('DescrizioneStatoProdotto','In commercio')
|
->where('DescrizioneStatoProdotto','In commercio')
|
||||||
->where('DescrizioneTipologia','Libri')
|
->where('DescrizioneTipologia','Libri')
|
||||||
->where(DB::raw('CONVERT(INT, QtaDisponibile)'),'!=',0)
|
->where(DB::raw('CONVERT(INT, o.QtaDisponibile)'),'<>',0)
|
||||||
->orderBy('totaleVenduti', 'desc')
|
->orderBy('totaleVenduti', 'desc')
|
||||||
->get();
|
->get();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user