fixed unit
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user