mapper wip
This commit is contained in:
1 parent
80f50c9eec
commit
55c404c17a
9 files changed
+111
-48
No files matched your search
@@ -36,7 +36,7 @@ class Event extends Model
|
||||
|
||||
public function country()
|
||||
{
|
||||
return $this->belongsTo(Country::class, 'country_id', 'tx_id');
|
||||
return $this->belongsTo(Country::class, 'country_id', 'tx_id')->where('disabled', 0)->where('is_country', 1);
|
||||
}
|
||||
|
||||
public function group()
|
||||
|
||||
Reference in new issue
Block a user