fix some bugs

This commit is contained in:
2026-07-14 12:35:03 +03:30
parent 277cf31d93
commit 8f3fb35b2b
3 changed files with 32 additions and 11 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ class Customer extends Authenticatable implements JWTSubject
public function wallet()
{
return $this->hasMany(Wallet::class ,'owner')->with(['fund','product'])->select(['cash', 'fund_id','product_id','gold', 'owner']);
return $this->hasMany(Wallet::class ,'owner')->with(['fund','product'])->select(['cash', 'fund_id','product_id','gold', 'owner', 'owner_type']);
}
public function orders()