public function getSystemUsersByPhone($phone)
{
return $this->user->whereRaw("REPLACE(`phone`, ' ' ,'') LIKE ?", ['%'.str_replace(' ', '', $phone).'%'])->first();
}
public function getSystemUsersByPhone($phone)
{
return $this->user->whereRaw("REPLACE(`phone`, ' ' ,'') LIKE ?", ['%'.str_replace(' ', '', $phone).'%'])->first();
}