data
This commit is contained in:
@@ -324,6 +324,7 @@ function libriInPrevendita()
|
|||||||
->where(DB::raw('CONVERT(INT, QtaDisponibile)'), '<', 0)
|
->where(DB::raw('CONVERT(INT, QtaDisponibile)'), '<', 0)
|
||||||
->where('DescrizioneFormato', 'brossura')
|
->where('DescrizioneFormato', 'brossura')
|
||||||
// ->where('DescrizioneTipologia', 'Libri')
|
// ->where('DescrizioneTipologia', 'Libri')
|
||||||
|
->where(DB::raw('UNIX_TIMESTAMP(DataOra)'), '>', 0) // Verifica che DataOra sia maggiore del 01-01-1970
|
||||||
->orderBy('DataPubblicazione', 'desc')
|
->orderBy('DataPubblicazione', 'desc')
|
||||||
->get();
|
->get();
|
||||||
$sep = ' | ';
|
$sep = ' | ';
|
||||||
|
|||||||
Reference in New Issue
Block a user