RT# 79737 - Added ability to us a cc surcharge of a flat fee.
[freeside.git] / httemplate / elements / tr-amount_fee.html
index 9c13f59..9e6d9e9 100644 (file)
@@ -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);
 }