mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-03 21:47:32 -05:00 
			
		
		
		
	Merge pull request #7521 from yois615/recur_recpt
Recurring invoice due on receipt
This commit is contained in:
		
						commit
						19a9d4aea4
					
				@ -559,6 +559,10 @@ class RecurringInvoice extends BaseModel
 | 
			
		||||
                return $this->calculateDateFromTerms($date);
 | 
			
		||||
                break;
 | 
			
		||||
				
 | 
			
		||||
            case 'on_receipt':
 | 
			
		||||
                return Carbon::Parse($date)->copy();
 | 
			
		||||
                break;
 | 
			
		||||
 | 
			
		||||
            default:
 | 
			
		||||
                return $this->setDayOfMonth($date, $this->due_date_days);
 | 
			
		||||
                break;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user