partner programm completed
This commit is contained in:
1 parent
84bfa248cd
commit
a883ccf0ea
22 files changed
+722
-28
No files matched your search
@@ -37,7 +37,10 @@ class User extends Authenticatable implements FilamentUser, HasAppAuthentication
|
||||
'star',
|
||||
'is_multiline_direct',
|
||||
'all_only_none',
|
||||
'partner_show',
|
||||
'partner_compare',
|
||||
'bookmaker_id',
|
||||
'partner_bookmaker_id',
|
||||
'provider_id',
|
||||
];
|
||||
|
||||
@@ -159,6 +162,11 @@ class User extends Authenticatable implements FilamentUser, HasAppAuthentication
|
||||
return $this->belongsTo(Bookmaker::class);
|
||||
}
|
||||
|
||||
public function partnerbookmaker()
|
||||
{
|
||||
return $this->belongsTo(Bookmaker::class, 'partner_bookmaker_id', 'id');
|
||||
}
|
||||
|
||||
public function sport()
|
||||
{
|
||||
return $this->belongsTo(Sport::class);
|
||||
|
||||
Reference in new issue
Block a user