X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fselect-did.html;h=af8d59513e4d608144fbed5983b287e6c5a1e989;hb=c1d8e2288d9b44823bd9216c5e96ba9d052a04bd;hp=fcc5adc2b41f9b290910451c62e51f0ee2bb1a10;hpb=b153693eaaf58e5af5f454e40f9ec169128f6d92;p=freeside.git diff --git a/httemplate/elements/select-did.html b/httemplate/elements/select-did.html index fcc5adc2b..af8d59513 100644 --- a/httemplate/elements/select-did.html +++ b/httemplate/elements/select-did.html @@ -70,7 +70,9 @@ my $country = $conf->config('countrydefault') || 'US'; #false laziness w/tr-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'}->svcpart + || $opt{'object'}->cust_svc->svcpart; my $part_svc = qsearchs('part_svc', { 'svcpart'=>$svcpart } ); die "unknown svcpart $svcpart" unless $part_svc;