projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix fallout from popup changes (rarenly/never used snom integration feature)
[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
a1a9e34
..
1248852
100644
(file)
--- a/
httemplate/elements/tr-amount_fee.html
+++ b/
httemplate/elements/tr-amount_fee.html
@@
-90,7
+90,9
@@
if ( $amount > 0 ) {
$amount += $fee
if $fee && $fee_display eq 'subtract';
$amount += $fee
if $fee && $fee_display eq 'subtract';
- &{ $opt{post_fee_callback} }( \$amount ) if $opt{post_fee_callback};
+ #&{ $opt{post_fee_callback} }( \$amount ) if $opt{post_fee_callback};
+ $amount += $amount * $opt{'surcharge_percentage'}/100
+ if $opt{'surcharge_percentage'} > 0;
$amount = sprintf("%.2f", $amount);
}
$amount = sprintf("%.2f", $amount);
}