diff --git a/app/Models/RecurringInvoice.php b/app/Models/RecurringInvoice.php index 42ece6503403..6bba8fc6242d 100644 --- a/app/Models/RecurringInvoice.php +++ b/app/Models/RecurringInvoice.php @@ -167,6 +167,11 @@ class RecurringInvoice extends BaseModel return $this->belongsTo(Client::class)->withTrashed(); } + public function project() + { + return $this->belongsTo(Project::class)->withTrashed(); + } + public function user() { return $this->belongsTo(User::class)->withTrashed();