mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-04 03:47:36 -05:00 
			
		
		
		
	Minor fixes for migration
This commit is contained in:
		
							parent
							
								
									d9ce3467ae
								
							
						
					
					
						commit
						c5cbfff67b
					
				@ -431,6 +431,10 @@ info("get company");
 | 
				
			|||||||
        foreach($agts as $agt) {
 | 
					        foreach($agts as $agt) {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            $payment_method = $agt->default_payment_method;
 | 
					            $payment_method = $agt->default_payment_method;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            if(!$payment_method)
 | 
				
			||||||
 | 
					                continue;
 | 
				
			||||||
 | 
					            
 | 
				
			||||||
            $contact = Contact::where('id', $payment_method->contact_id)->withTrashed()->first();
 | 
					            $contact = Contact::where('id', $payment_method->contact_id)->withTrashed()->first();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            $transformed[] = [
 | 
					            $transformed[] = [
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user