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