|
@@ -22,6 +22,10 @@ class Client extends Model
|
|
|
return $this->hasOne(Pro::class, 'id', 'cm_pro_id');
|
|
|
}
|
|
|
|
|
|
+ public function rmm() {
|
|
|
+ return $this->hasOne(Pro::class, 'id', 'rmm_pro_id');
|
|
|
+ }
|
|
|
+
|
|
|
public function prosInMeetingWith() {
|
|
|
return Pro::where('in_meeting_with_client_id', $this->id)->get();
|
|
|
}
|