RT# 82137 - default payment amount now has processing fee in total if processing...
[freeside.git] / httemplate / elements / tr-amount_fee.html
index 42132e0..42636cf 100644 (file)
@@ -140,6 +140,8 @@ if ( $amount ) {
 
   $amount += $surcharge;
 
 
   $amount += $surcharge;
 
+  $amount += $processing_fee; ## needed if processing fee is checked on default.
+
   $amount = sprintf("%.2f", $amount);
 }
 
   $amount = sprintf("%.2f", $amount);
 }