mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-03 22:07:33 -05:00 
			
		
		
		
	Add project relationship to recurring invoice
This commit is contained in:
		
							parent
							
								
									cc883f0926
								
							
						
					
					
						commit
						57e3b59b91
					
				@ -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();
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user