RT# 79737 - Added ability to us a cc surcharge of a flat fee.
[freeside.git] / httemplate / elements / tr-select-payment_options.html
index 3c50e88..8859b9b 100644 (file)
@@ -17,6 +17,11 @@ Example:
           ? scalar($conf->config('credit-card-surcharge-percentage', $cust_main->agentnum))
           : 0
       ),
+    'surcharge_flatfee' =>
+      ( $payby eq 'CARD'
+          ? scalar($conf->config('credit-card-surcharge-flatfee', $cust_main->agentnum))
+          : 0
+      ),
   )
 
 </%doc>
@@ -44,6 +49,7 @@ Example:
   &>
 
   <& /elements/tr-amount_fee.html,
+       'row_style'  => 'STYLE="display:none;"',
        %opt
   &>