aa
This commit is contained in:
@@ -40,6 +40,7 @@ Route::get('/woocommerce/test', [WooCommerceController::class, 'index']);
|
||||
| contains the "web" middleware group. Now create something great!
|
||||
|
|
||||
*/
|
||||
|
||||
use Illuminate\Support\Facades\DB;
|
||||
|
||||
use Codexshaper\WooCommerce\Facades\Product;
|
||||
@@ -2423,7 +2424,7 @@ Route::post('/updatecreate', function (Request $request) {
|
||||
// $productLogger->addLog('', 'updatecreate: CHECK ORDINE... ');
|
||||
|
||||
try {
|
||||
// $productLogger->addLog('', json_encode($request->all()));
|
||||
// $productLogger->addLog('', json_encode($request->all()));
|
||||
} catch (Exception $e) {
|
||||
}
|
||||
|
||||
@@ -2524,7 +2525,7 @@ Route::get('/riprendiordine', function () {
|
||||
$prodotti = $line_items;
|
||||
foreach ($prodotti as $prodotto) {
|
||||
// $myexistorder = getOrderByIdInternet($myidInternet);
|
||||
if (true) {
|
||||
if (true) {
|
||||
|
||||
$orderdetail = new Orderdetail();
|
||||
$orderdetail->IdInternet = $myidInternet;
|
||||
@@ -6350,7 +6351,7 @@ Route::get('/handle-article-action-pao/{id}/{action}', function ($id, $action) {
|
||||
if ($action == 'search') {
|
||||
// Logica di ricerca dell'articolo
|
||||
return loadArticleByIdArticle($id);
|
||||
if ($action == 'search_isbn') {
|
||||
} elseif ($action == 'search_isbn') {
|
||||
// Logica di ricerca dell'articolo
|
||||
return loadArticleByISBN($id);
|
||||
} elseif ($action == 'updateArtFromGM') {
|
||||
|
||||
Reference in New Issue
Block a user