From f13ffe0dff2db844d39ddf3f1b25b313d922e82b Mon Sep 17 00:00:00 2001 From: adonis Date: Mon, 22 Jun 2026 21:31:21 +0330 Subject: [PATCH] fixed unit --- packages/rooyesh/wallet/src/models/Wallet.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/packages/rooyesh/wallet/src/models/Wallet.php b/packages/rooyesh/wallet/src/models/Wallet.php index 763761e..e74f9fc 100644 --- a/packages/rooyesh/wallet/src/models/Wallet.php +++ b/packages/rooyesh/wallet/src/models/Wallet.php @@ -20,15 +20,9 @@ class Wallet extends Model { return $this->belongsTo('App\Models\Fund','fund_id')->select(['id','title']); } - public function Product() - { - return $this->belongsTo('App\Models\Product', 'product_id'); - } - - /** @alias Product */ public function product() { - return $this->Product(); + return $this->belongsTo('App\Models\Product', 'product_id'); } /** کیف اصلی مشتری — بدون fund و بدون product */