agg
This commit is contained in:
@@ -116,7 +116,7 @@ class ProductUpdateQta extends Command
|
||||
|
||||
if ($inprevendita_qtaneg && ($qtyinstock < QTA_MINIMA_PER_PREVENDITA)) {
|
||||
setPreOrder($stock->Codice, "1", false);
|
||||
$log .= ' SEtTATO IN PREVENDITA ! <br>';
|
||||
$log .= ' SETTATO IN PREVENDITA ! <br>';
|
||||
}
|
||||
|
||||
$aggiornato = true;
|
||||
@@ -128,7 +128,11 @@ class ProductUpdateQta extends Command
|
||||
$log = "";
|
||||
}
|
||||
} catch (\Exception $e) {
|
||||
//code error
|
||||
|
||||
$log = "Errore: " . $e->getMessage() . "\n";
|
||||
Log::channel('updateproductsqta')->error($log);
|
||||
$log = "";
|
||||
|
||||
}
|
||||
}
|
||||
$ora_fine = Carbon::now();
|
||||
|
||||
Reference in New Issue
Block a user