projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
RT# 82137 - default payment amount now has processing fee in total if processing...
[freeside.git]
/
httemplate
/
elements
/
tr-amount_fee.html
diff --git
a/httemplate/elements/tr-amount_fee.html
b/httemplate/elements/tr-amount_fee.html
index
31877f1
..
7797f6c
100644
(file)
--- a/
httemplate/elements/tr-amount_fee.html
+++ b/
httemplate/elements/tr-amount_fee.html
@@
-137,6
+137,8
@@
if ( $amount > 0 ) {
$processing_fee = $opt{'processing_fee'} if $opt{'processing_fee'} > 0;
+ $amount += $processing_fee; ## needed if processing fee is checked on default.
+
$amount = sprintf("%.2f", $amount);
}