Add quote() relation to activity

This commit is contained in:
David Bomba 2021-02-09 07:13:16 +11:00
parent ef8f5d8e28
commit e115536b8c

View File

@ -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
*/