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