fixed customer get user variables
This commit is contained in:
@ -57,7 +57,7 @@ class Customer extends Model
|
||||
|
||||
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)
|
||||
|
Reference in New Issue
Block a user