diff options
author | Christopher Burger <burgerc@freeside.biz> | 2018-05-11 11:29:36 -0400 |
---|---|---|
committer | Christopher Burger <burgerc@freeside.biz> | 2018-05-11 11:29:36 -0400 |
commit | 01c9143a54bf5e1513537547fd362822f58d1e2a (patch) | |
tree | 5c35d49a858a95818dc3459c5892a3e2f3774a71 /httemplate/misc | |
parent | d2cc614910c251801564615a268c7ca3bdb2c954 (diff) |
RT# 79737 - Added ability to us a cc surcharge of a flat fee.
Diffstat (limited to 'httemplate/misc')
-rw-r--r-- | httemplate/misc/payment.cgi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/httemplate/misc/payment.cgi b/httemplate/misc/payment.cgi index 5bfa29d70..de060b010 100644 --- a/httemplate/misc/payment.cgi +++ b/httemplate/misc/payment.cgi @@ -25,6 +25,11 @@ ? 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') ) { |