From 1fcb4ef3e4e3ad7eae7067d37e7675efa37680fb Mon Sep 17 00:00:00 2001 From: Christopher Burger Date: Mon, 5 Nov 2018 17:44:50 -0500 Subject: RT# 76093 - Added ability to charge a processing fee when taking a payment on the back end --- httemplate/elements/tr-amount_fee.html | 26 ++++++++++++-- httemplate/elements/tr-select-payment_options.html | 40 ++++++++++++++++++++-- 2 files changed, 62 insertions(+), 4 deletions(-) (limited to 'httemplate/elements') diff --git a/httemplate/elements/tr-amount_fee.html b/httemplate/elements/tr-amount_fee.html index a84fef6ec..94795de37 100644 --- a/httemplate/elements/tr-amount_fee.html +++ b/httemplate/elements/tr-amount_fee.html @@ -8,7 +8,7 @@ VALUE = "<% $amount %>" SIZE = 8 STYLE = "text-align:right;" -% if ( $fee || $surcharge_percentage || $surcharge_flatfee ) { +% if ( $fee || $surcharge_percentage || $surcharge_flatfee || $processing_fee) { onChange = "amount_changed(this)" onKeyDown = "amount_changed(this)" onKeyUp = "amount_changed(this)" @@ -38,7 +38,23 @@ -% if ($fee || $surcharge_percentage || $surcharge_flatfee ) { +% if ( $processing_fee ) { + + <% mt('Apply processing fee') |h %> + + + + +
+ + + A processing fee of <% $processing_fee %> is being applied to this transaction. +
+ + +% } + +% if ($fee || $surcharge_percentage || $surcharge_flatfee || $processing_fee) { <%init> -- cgit v1.2.1