summaryrefslogtreecommitdiff
path: root/httemplate/edit/part_fee.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/edit/part_fee.html')
-rw-r--r--httemplate/edit/part_fee.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/httemplate/edit/part_fee.html b/httemplate/edit/part_fee.html
index 080b9cd68..20defe5c3 100644
--- a/httemplate/edit/part_fee.html
+++ b/httemplate/edit/part_fee.html
@@ -67,10 +67,10 @@ foreach (@locales) {
$n = 0;
my %layer_fields = (
'charged' => [
- 'percent' => { label => 'Fraction of invoice total', type => 'percentage', },
+ 'charged_percent' => { label => 'Fraction of invoice total', type => 'percentage', },
],
'owed' => [
- 'percent' => { label => 'Fraction of balance', type => 'percentage', },
+ 'owed_percent' => { label => 'Fraction of balance', type => 'percentage', },
],
'usage' => [
'usage' => { type => 'part_fee_usage' }
@@ -106,7 +106,7 @@ my @fields = (
'recur' => 'a recurring charge' },
},
- { type => 'justtitle', value => 'Fee calculation' },
+ { type => 'tablebreak-tr-title', value => 'Fee calculation' },
{ field => 'amount', type => 'money', },
{ field => 'basis',
@@ -119,8 +119,8 @@ my @fields = (
layer_values_callback => sub {
my ($cgi, $obj) = @_;
{
- 'charged' => { percent => $obj->percent },
- 'owed' => { percent => $obj->percent },
+ 'charged' => { charged_percent => $obj->percent },
+ 'owed' => { owed_percent => $obj->percent },
'usage' => { usage => [ $obj->part_fee_usage ] },
}
},
@@ -131,7 +131,7 @@ my @fields = (
type => 'checkbox',
value => 'Y' },
- { type => 'justtitle', value => 'Taxation' },
+ { type => 'tablebreak-tr-title', value => 'Taxation' },
@tax_fields,
);