projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
show a warning when the OS goes EOL
[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
0ae6a0f
..
40f55e7
100644
(file)
--- a/
httemplate/elements/tr-amount_fee.html
+++ b/
httemplate/elements/tr-amount_fee.html
@@
-5,7
+5,7
@@
<% $money_char %><INPUT NAME = "amount"
ID = "amount"
TYPE = "text"
<% $money_char %><INPUT NAME = "amount"
ID = "amount"
TYPE = "text"
- VALUE = "
<% $amount %>
"
+ VALUE = "
0.00
"
SIZE = 8
STYLE = "text-align:right;"
% if ( $fee || $surcharge_percentage || $surcharge_flatfee || $processing_fee) {
SIZE = 8
STYLE = "text-align:right;"
% if ( $fee || $surcharge_percentage || $surcharge_flatfee || $processing_fee) {
@@
-140,6
+140,8
@@
if ( $amount ) {
$amount += $surcharge;
$amount += $surcharge;
+ $amount += $processing_fee; ## needed if processing fee is checked on default.
+
$amount = sprintf("%.2f", $amount);
}
$amount = sprintf("%.2f", $amount);
}