RT# 79737 - Added ability to us a cc surcharge of a flat fee.
[freeside.git] / httemplate / misc / payment.cgi
index 5bfa29d..de060b0 100644 (file)
              ? scalar($conf->config('credit-card-surcharge-percentage', $cust_main->agentnum))
              : 0
          ),
+       'surcharge_flatfee:Q' =>
+         ( $payby eq 'CARD'
+             ? scalar($conf->config('credit-card-surcharge-flatfee', $cust_main->agentnum))
+             : 0
+         ),
   &>
 
 % if ( $conf->exists('part_pkg-term_discounts') ) {