mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-01 20:17:35 -04:00 
			
		
		
		
	Recurring invoice due on receipt
Create logic for recurring invoice to be due on receipt
This commit is contained in:
		
							parent
							
								
									c691531da0
								
							
						
					
					
						commit
						771dd3ad73
					
				| @ -546,6 +546,10 @@ class RecurringInvoice extends BaseModel | ||||
|             case '': | ||||
|                 return $this->calculateDateFromTerms($date); | ||||
|                 break; | ||||
| 				 | ||||
|             case 'on_receipt': | ||||
|                 return Carbon::Parse($date)->copy(); | ||||
|                 break; | ||||
| 
 | ||||
|             default: | ||||
|                 return $this->setDayOfMonth($date, $this->due_date_days); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user