mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-31 15:04:37 -04:00
Doc todo
This commit is contained in:
parent
1a7d0d3cbd
commit
23a8acccc2
@ -293,7 +293,12 @@ class CompanyGateway extends BaseModel
|
|||||||
return $fee;
|
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)
|
public function calcGatewayFeeObject($amount, $invoice_count)
|
||||||
{
|
{
|
||||||
$total_gateway_fee = $this->calcGatewayFee($amount);
|
$total_gateway_fee = $this->calcGatewayFee($amount);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user