summaryrefslogtreecommitdiff
path: root/httemplate/elements
diff options
context:
space:
mode:
authorjeff <jeff>2008-09-16 01:22:28 +0000
committerjeff <jeff>2008-09-16 01:22:28 +0000
commiteef578f09ac0198a48287a0c85d367fcd5f17459 (patch)
tree8ce1440578dced9039b9e598465014690a43c1bd /httemplate/elements
parentdcc553538ede04c0783bc92d3942c905c29131c1 (diff)
correct package editor when taxproducts off
Diffstat (limited to 'httemplate/elements')
-rw-r--r--httemplate/elements/tr-select-taxoverride.html4
-rw-r--r--httemplate/elements/tr-select-taxproduct.html4
2 files changed, 4 insertions, 4 deletions
diff --git a/httemplate/elements/tr-select-taxoverride.html b/httemplate/elements/tr-select-taxoverride.html
index 4954a5566..e20d37efd 100644
--- a/httemplate/elements/tr-select-taxoverride.html
+++ b/httemplate/elements/tr-select-taxoverride.html
@@ -9,10 +9,10 @@
<%init>
-my $conf = new FS::conf;
+my $conf = new FS::Conf;
my %opt = @_;
my $cell_style = $opt{'cell_style'}? 'STYLE="'. $opt{cell_style}. '"' : '';
-my $name = $opt{name} || 'tax_override';
+my $name = $opt{element_name} || $opt{field} || 'tax_override';
</%init>
diff --git a/httemplate/elements/tr-select-taxproduct.html b/httemplate/elements/tr-select-taxproduct.html
index 951222475..759d0c01c 100644
--- a/httemplate/elements/tr-select-taxproduct.html
+++ b/httemplate/elements/tr-select-taxproduct.html
@@ -9,10 +9,10 @@
<%init>
-my $conf = new FS::conf;
+my $conf = new FS::Conf;
my %opt = @_;
my $cell_style = $opt{cell_style} ? 'STYLE="'. $opt{cell_style}. '"' : '';
-my $name = $opt{name} || 'taxproductnum';
+my $name = $opt{element_name} || $opt{field} || 'taxproductnum';
</%init>