summaryrefslogtreecommitdiff
path: root/httemplate/elements/tr-amount_fee.html
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2018-05-11 11:29:36 -0400
committerChristopher Burger <burgerc@freeside.biz>2018-05-24 09:16:10 -0400
commitc85d36a31cd15e8d06f9dfc7d2591f918d278d89 (patch)
tree3fada4c45f3bab3ffe6ad396a6804a66daba2893 /httemplate/elements/tr-amount_fee.html
parenta8981b8fc11c032fd4fa1a3943c4785391a9ffb4 (diff)
RT# 79737 - Added ability to us a cc surcharge of a flat fee.
Conflicts: FS/FS/cust_main/Billing_Realtime.pm httemplate/elements/tr-select-payment_options.html
Diffstat (limited to 'httemplate/elements/tr-amount_fee.html')
-rw-r--r--httemplate/elements/tr-amount_fee.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/httemplate/elements/tr-amount_fee.html b/httemplate/elements/tr-amount_fee.html
index 12488521a..e3b8d7800 100644
--- a/httemplate/elements/tr-amount_fee.html
+++ b/httemplate/elements/tr-amount_fee.html
@@ -94,6 +94,9 @@ if ( $amount > 0 ) {
$amount += $amount * $opt{'surcharge_percentage'}/100
if $opt{'surcharge_percentage'} > 0;
+ $amount += $opt{'surcharge_flatfee'}
+ if $opt{'surcharge_flatfee'} > 0;
+
$amount = sprintf("%.2f", $amount);
}