mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Minor fixes for Forte
This commit is contained in:
parent
4266300fe3
commit
bea7cdf9a1
@ -90,7 +90,7 @@ class CreditCard
|
|||||||
$amount_with_fee = $payment_hash->data->total->amount_with_fee;
|
$amount_with_fee = $payment_hash->data->total->amount_with_fee;
|
||||||
$invoice_totals = $payment_hash->data->total->invoice_totals;
|
$invoice_totals = $payment_hash->data->total->invoice_totals;
|
||||||
$fee_total = 0;
|
$fee_total = 0;
|
||||||
print_r($payment_hash->data->total);
|
|
||||||
for ($i = ($invoice_totals * 100) ; $i < ($amount_with_fee * 100); $i++) {
|
for ($i = ($invoice_totals * 100) ; $i < ($amount_with_fee * 100); $i++) {
|
||||||
$calculated_fee = ( 3 * $i) / 100;
|
$calculated_fee = ( 3 * $i) / 100;
|
||||||
$calculated_amount_with_fee = round(($i + $calculated_fee) / 100,2);
|
$calculated_amount_with_fee = round(($i + $calculated_fee) / 100,2);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user