From 8240a2d6596b1443adf3537000bb094591ba022f Mon Sep 17 00:00:00 2001 From: paoloar77 Date: Tue, 16 Jul 2024 19:29:17 +0200 Subject: [PATCH] aa --- app/Orderdetail.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/Orderdetail.php b/app/Orderdetail.php index ac50d9b3..745c39d1 100644 --- a/app/Orderdetail.php +++ b/app/Orderdetail.php @@ -2,12 +2,11 @@ namespace App; -use Codexshaper\WooCommerce\Facades\Product; use Illuminate\Database\Eloquent\Model; +use App\Product; // Assumi che tu abbia un modello Product personalizzato class Orderdetail extends Model { - //protected $connection = 'mysql_test'; protected $connection = 'sqlsrv_test'; protected $table = 'T_WOO_Ordini'; @@ -17,4 +16,4 @@ class Orderdetail extends Model { return $this->belongsTo(Product::class, 'CodArticoloGM', 'sku'); } -} +} \ No newline at end of file