mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-10-31 07:07:31 -04:00 
			
		
		
		
	clean up
This commit is contained in:
		
							parent
							
								
									129a8a0210
								
							
						
					
					
						commit
						03bb31a9e3
					
				| @ -291,16 +291,6 @@ class AutoBillInvoice extends AbstractService | ||||
|      * @param  float              $amount The amount to charge | ||||
|      * @return ClientGatewayToken         The client gateway token | ||||
|      */ | ||||
|     // private function
 | ||||
|     // {
 | ||||
|     //     $gateway_tokens = $this->client->gateway_tokens()->orderBy('is_default', 'DESC')->get();
 | ||||
| 
 | ||||
|     //     foreach ($gateway_tokens as $gateway_token) {
 | ||||
|     //         if ($this->validGatewayLimits($gateway_token, $amount)) {
 | ||||
|     //             return $gateway_token;
 | ||||
|     //         }
 | ||||
|     //     }
 | ||||
|     // }
 | ||||
| 
 | ||||
|     public function getGateway($amount) | ||||
|     { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user