mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-03 22:07:33 -05:00 
			
		
		
		
	Don’t show recurring start date change warning for new invoices
This commit is contained in:
		
							parent
							
								
									16750e83c2
								
							
						
					
					
						commit
						543e6c598a
					
				@ -1337,6 +1337,7 @@
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	function onSaveClick() {
 | 
			
		||||
		@if ($invoice->id)
 | 
			
		||||
			if (model.invoice().is_recurring()) {
 | 
			
		||||
	            if (model.invoice().start_date() != model.invoice().start_date_orig()) {
 | 
			
		||||
	                var text = "{!! trans("texts.original_start_date") !!}: " + model.invoice().start_date_orig() + '\n'
 | 
			
		||||
@ -1348,6 +1349,7 @@
 | 
			
		||||
	                return;
 | 
			
		||||
	            }
 | 
			
		||||
	        }
 | 
			
		||||
		@endif
 | 
			
		||||
 | 
			
		||||
        @if (!empty($autoBillChangeWarning))
 | 
			
		||||
            var text = "{!! trans('texts.warn_change_auto_bill') !!}";
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user