tt
This commit is contained in:
@@ -6063,7 +6063,7 @@ Route::get('/ordineclientegm/{id}', function ($id) {
|
||||
Route::get('/provapao', [TestPaoController::class, 'provapao']);
|
||||
|
||||
|
||||
Route::get('/aggiornapreorder/{idarticolo}/{postid}', function ($idarticolo, $postid) {
|
||||
Route::get('/aggiornapreorder/{idarticolo}/{postid}/{aggiornapreordine}', function ($idarticolo, $postid, $aggiornapreordine) {
|
||||
try {
|
||||
// Aggiorna Preorder
|
||||
$product = Product::where('sku', $idarticolo)->first();
|
||||
@@ -6104,8 +6104,6 @@ Route::get('/aggiornapreorder/{idarticolo}/{postid}', function ($idarticolo, $po
|
||||
}
|
||||
}*/
|
||||
|
||||
$aggiornapreordine = false;
|
||||
|
||||
if ($aggiornapreordine) {
|
||||
$data = [];
|
||||
$data['stock_quantity'] = '1000';
|
||||
|
||||
Reference in New Issue
Block a user