mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-02 22:57:33 -05:00 
			
		
		
		
	
						commit
						6eb85006da
					
				@ -487,7 +487,7 @@ class CompanyGatewayController extends BaseController
 | 
				
			|||||||
        
 | 
					        
 | 
				
			||||||
        $company_gateways->each(function ($company_gateway, $key) use ($action) {
 | 
					        $company_gateways->each(function ($company_gateway, $key) use ($action) {
 | 
				
			||||||
            if (auth()->user()->can('edit', $company_gateway)) {
 | 
					            if (auth()->user()->can('edit', $company_gateway)) {
 | 
				
			||||||
                $this->company_repo->{$action}($client);
 | 
					                $this->company_repo->{$action}($company_gateway);
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        });
 | 
					        });
 | 
				
			||||||
        
 | 
					        
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user