mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-10-25 23:02:52 -04:00 
			
		
		
		
	Fixes for recurring due dates
This commit is contained in:
		
							parent
							
								
									8f54b71722
								
							
						
					
					
						commit
						d2f2284d4d
					
				| @ -449,6 +449,10 @@ class RecurringInvoice extends BaseModel | ||||
| 
 | ||||
|     public function calculateDueDate($date) | ||||
|     { | ||||
|         //if nothing is set, assume we are using terms.
 | ||||
|         if(!$this->due_date_days) | ||||
|             return $this->calculateDateFromTerms($date);     | ||||
| 
 | ||||
|         switch ($this->due_date_days) { | ||||
|             case 'terms': | ||||
|                 return $this->calculateDateFromTerms($date); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user