X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Felements%2Ftr-select-payment_options.html;h=8859b9b36dc8ad02b5bc9259c798c00cf69bf05a;hp=3c50e88d84e58d18172862aaf8e460ae653e35e1;hb=01c9143a54bf5e1513537547fd362822f58d1e2a;hpb=9d90ce6a6d2c107c0a3bcb7451932b7108466c27 diff --git a/httemplate/elements/tr-select-payment_options.html b/httemplate/elements/tr-select-payment_options.html index 3c50e88d8..8859b9b36 100644 --- a/httemplate/elements/tr-select-payment_options.html +++ b/httemplate/elements/tr-select-payment_options.html @@ -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 + ), ) @@ -44,6 +49,7 @@ Example: &> <& /elements/tr-amount_fee.html, + 'row_style' => 'STYLE="display:none;"', %opt &>