fixed unit

This commit is contained in:
2026-06-22 21:31:21 +03:30
parent e8d17c1c04
commit f13ffe0dff
@@ -20,15 +20,9 @@ class Wallet extends Model
{ {
return $this->belongsTo('App\Models\Fund','fund_id')->select(['id','title']); 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() public function product()
{ {
return $this->Product(); return $this->belongsTo('App\Models\Product', 'product_id');
} }
/** کیف اصلی مشتری — بدون fund و بدون product */ /** کیف اصلی مشتری — بدون fund و بدون product */