mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-03 22:47:32 -05:00 
			
		
		
		
	Doc todo
This commit is contained in:
		
							parent
							
								
									1a7d0d3cbd
								
							
						
					
					
						commit
						23a8acccc2
					
				@ -293,7 +293,12 @@ class CompanyGateway extends BaseModel
 | 
			
		||||
        return $fee;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
      * we need to average out the gateway fees across all the invoices
 | 
			
		||||
      * so lets iterate.
 | 
			
		||||
      *
 | 
			
		||||
      * we MAY need to adjust the final fee to ensure our rounding makes sense!
 | 
			
		||||
     */
 | 
			
		||||
    public function calcGatewayFeeObject($amount, $invoice_count)
 | 
			
		||||
    {
 | 
			
		||||
        $total_gateway_fee = $this->calcGatewayFee($amount);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user