fixed customer get user variables
This commit is contained in:
parent
7ff1ff3fa4
commit
8985754b1f
@ -57,7 +57,7 @@ class Customer extends Model
|
|||||||
|
|
||||||
public function user()
|
public function user()
|
||||||
{
|
{
|
||||||
return $this->belongsTo('App\Models\Auth\User', 'customer_id', 'id');
|
return $this->belongsTo('App\Models\Auth\User', 'user_id', 'id');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function onCloning($src, $child = null)
|
public function onCloning($src, $child = null)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user