From 838a3252dcb0d5c0218231f059992f08946f5899 Mon Sep 17 00:00:00 2001 From: paoloar77 Date: Thu, 13 Jun 2024 13:42:59 +0200 Subject: [PATCH] brossura tolto --- app/CustomFuncPao.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/CustomFuncPao.php b/app/CustomFuncPao.php index 8caeed14..650372a2 100644 --- a/app/CustomFuncPao.php +++ b/app/CustomFuncPao.php @@ -321,9 +321,9 @@ function libriInPrevendita() ->where('DescrizioneStatoProdotto', 'In prevendita') ->where(DB::raw('CONVERT(INT, QtaDisponibile)'), '<', 0) - ->where('DescrizioneFormato', 'brossura') + // ->where('DescrizioneFormato', 'brossura') // ->where('DescrizioneTipologia', 'Libri') - ->where(DB::raw('DATEDIFF(second, \'1970-01-01\', DataOra)'), '>', 0) + ->where(DB::raw('DATEDIFF(second, \'1970-01-01\', DataOra)'), '>', 1000) ->orderBy('DataPubblicazione', 'desc') ->get(); $sep = ' | ';