diff --git a/app/Models/Activity.php b/app/Models/Activity.php index 9197606460ff..afeda7e23c5f 100644 --- a/app/Models/Activity.php +++ b/app/Models/Activity.php @@ -133,6 +133,14 @@ class Activity extends StaticModel return $this->belongsTo(Invoice::class)->withTrashed(); } + /** + * @return mixed + */ + public function quote() + { + return $this->belongsTo(Quote::class)->withTrashed(); + } + /** * @return mixed */