summaryrefslogtreecommitdiff
path: root/httemplate/elements/tr-select-did.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/elements/tr-select-did.html')
-rw-r--r--httemplate/elements/tr-select-did.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/elements/tr-select-did.html b/httemplate/elements/tr-select-did.html
index c8a653e57..6dd057600 100644
--- a/httemplate/elements/tr-select-did.html
+++ b/httemplate/elements/tr-select-did.html
@@ -19,12 +19,12 @@
<%init>
my %opt = @_;
-
+warn Dumper(\%opt);
my $cell_style = $opt{'cell_style'} ? 'STYLE="'. $opt{'cell_style'}. '"' : '';
#false laziness w/select-did.html
#XXX make sure this comes through on errors too
-my $svcpart = $opt{'svcpart'} || $opt{'object'}->svcpart;
+my $svcpart = $opt{'svcpart'} || $opt{'object'}->cust_svc->svcpart;
my $part_svc = qsearchs('part_svc', { 'svcpart'=>$svcpart } );
die "unknown svcpart $svcpart" unless $part_svc;