diff options
| author | Christopher Burger <burgerc@freeside.biz> | 2018-05-11 11:29:36 -0400 |
|---|---|---|
| committer | Christopher Burger <burgerc@freeside.biz> | 2018-05-24 08:02:52 -0400 |
| commit | 9f40a9761707d5ea38e3a53e01ed2dab31aabca7 (patch) | |
| tree | 167b9ad1ea8a08b04cb10015e9b14d73ee3c54af /httemplate/misc | |
| parent | 44966ebb81f3dba2aeefa108744edb960320614c (diff) | |
RT# 79737 - Added ability to us a cc surcharge of a flat fee.
Conflicts:
httemplate/elements/tr-select-payment_options.html
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 35f57e8d6..b9537361c 100644 --- a/httemplate/misc/payment.cgi +++ b/httemplate/misc/payment.cgi @@ -24,6 +24,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') ) { |
