mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-03 23:27:31 -05:00 
			
		
		
		
	Merge fix for blank invoice number
This commit is contained in:
		
							parent
							
								
									2431a46d35
								
							
						
					
					
						commit
						2fdf6c2814
					
				@ -336,7 +336,7 @@ class InvoiceRepository extends BaseRepository
 | 
			
		||||
            $account->save();
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        if (isset($data['invoice_number']) && !$invoice->is_recurring) {
 | 
			
		||||
        if (!empty($data['invoice_number']) && !$invoice->is_recurring) {
 | 
			
		||||
            $invoice->invoice_number = trim($data['invoice_number']);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user